summaryrefslogtreecommitdiffstats
path: root/units/remote-fs.target (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-05docs: fix push recipe in RELEASE.mdZbigniew Jędrzejewski-Szmek1-1/+1
2019-09-05man/systemctl.xml: fix missing "not"Carlo Teubner1-1/+1
2019-09-05docs: fix typo in boot loader docnikolas1-1/+1
2019-09-05pstore: fix typo in error message - directoy -> directorynikolas1-1/+1
2019-09-05Fix typo in comment: overide -> overridenikolas1-1/+1
2019-09-04po: update Polish translationPiotr Drąg1-2/+27
2019-09-03Update NEWS for v243v243Zbigniew Jędrzejewski-Szmek1-2/+12
2019-09-03NEWS: update contributors listZbigniew Jędrzejewski-Szmek1-10/+11
2019-09-03logind: fix property emission on SessionsYour Name2-3/+0
We would not send the property because we'd call sd_bus_get_current_message() which would return NULL. If there is no message, we cannot support /self or /auto, but things are still OK if a path with a session name is given. Traceback when the issue is triggered: #2 we'd call sd_bus_get_current_message() here, which would return NULL, and session_object_find() would immediately return 0. #3 0x00000000004289b7 in session_object_find (bus=0x9f1110, path=0xa160b0 "/org/freedesktop/login1/session/c2", interface=0x9efda0 "org.freedesktop.login1.Session", userdata=0x9852f0, found=0x7ffe3e975fe8, error=0x7ffe3e9760b0) at ../src/login/logind-session-dbus.c:620 #4 0x00007ff74bfdde39 in node_vtable_get_userdata (bus=0x9f1110, path=0xa160b0 "/org/freedesktop/login1/session/c2", c=0x9f6d58, userdata=0x7ffe3e976070, error=0x7ffe3e9760b0) at ../src/libsystemd/sd-bus/bus-objects.c:37 #5 0x00007ff74bfe49af in emit_properties_changed_on_interface (bus=0x9f1110, prefix=0xa133a0 "/org/freedesktop/login1/session", path=0xa160b0 "/org/freedesktop/login1/session/c2", interface=0x43f9f8 "org.freedesktop.login1.Session", require_fallback=true, found_interface=0x7ffe3e976163, names=0x7ffe3e9761b0) at ../src/libsystemd/sd-bus/bus-objects.c:2088 #6 0x00007ff74bfe56a4 in sd_bus_emit_properties_changed_strv (bus=0x9f1110, path=0xa160b0 "/org/freedesktop/login1/session/c2", interface=0x43f9f8 "org.freedesktop.login1.Session", names=0x7ffe3e9761b0) at ../src/libsystemd/sd-bus/bus-objects.c:2291 #7 0x00000000004292ea in session_send_changed (s=0xa16e10, properties=0x43ee27 "Active") at ../src/login/logind-session-dbus.c:730 #8 0x0000000000424cd7 in seat_set_active (s=0x9ee280, session=0xa16e10) at ../src/login/logind-seat.c:249 #9 0x00000000004251cf in seat_active_vt_changed (s=0x9ee280, vtnr=3) at ../src/login/logind-seat.c:361 #10 0x000000000042547b in seat_read_active_vt (s=0x9ee280) at ../src/login/logind-seat.c:395 #11 0x000000000040ab5c in manager_dispatch_console (s=0x9f0320, fd=8, revents=8, userdata=0x9852f0) at ../src/login/logind.c:588 #12 0x00007ff74c042d5f in source_dispatch (s=0x9f0320) at ../src/libsystemd/sd-event/sd-event.c:2828 #13 0x00007ff74c04469f in sd_event_dispatch (e=0x9ef340) at ../src/libsystemd/sd-event/sd-event.c:3241 #14 0x00007ff74c044b58 in sd_event_run (e=0x9ef340, timeout=18446744073709551615) at ../src/libsystemd/sd-event/sd-event.c:3299 #15 0x000000000040d7e8 in manager_run (m=0x9852f0) at ../src/login/logind.c:1186 #16 0x000000000040db58 in run (argc=1, argv=0x7ffe3e976728) at ../src/login/logind.c:1234 #17 0x000000000040dc30 in main (argc=1, argv=0x7ffe3e976728) at ../src/login/logind.c:1244 Fixes #13437. Bug introduced in 3b92c086a8d5338e2164ffa0ae48b3d03d10cfb5.
2019-09-03login: fix use after freeYu Watanabe1-2/+2
id is basename(state_file)
2019-09-03hwdb: Add HP Elitebook 850 G3 laptop accelerometer location quirkJan-Michael Brummer1-0/+3
2019-09-01shell-completion: do not truncate suggestionsYu Watanabe1-1/+1
2019-08-31network: adjust log level when DHCPv4 lease lostYu Watanabe1-1/+1
2019-08-31Generate stable machine-id and DHCP client ID on POWER KVM.Dimitri John Ledkov3-2/+9
2019-08-31man: list possible action string and default valueYu Watanabe1-2/+5
Closes #13442.
2019-08-30Add HP Elite x2 1013 G3 touchpad as externalRussianNeuroMancer1-0/+6
HP Elite x2 1013 G3 have external touchpad: http://h10032.www1.hp.com/ctg/Manual/c06077534 (page 12) Marking it as external resolve this issue: https://gitlab.freedesktop.org/libinput/libinput/issues/351
2019-08-30Drop dbus activation stub serviceMichael Biebl4-21/+1
This fixes the following problem: > At the very end of the boot, just after the first user logs in > (usually using sddm / X) I get the following messages in my logs: > Nov 18 07:02:33 samd dbus-daemon[2879]: [session uid=1000 pid=2877] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 > Nov 18 07:02:33 samd dbus-daemon[2879]: [session uid=1000 pid=2877] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 These messages are caused by the "stub" service files that systemd installs. It installed them because early versions of systemd activation required them to exist. Since dbus 1.11.0, a dbus-daemon that is run with --systemd-activation automatically assumes that o.fd.systemd1 is an activatable service. As a result, with a new enough dbus version, /usr/share/dbus-1/services/org.freedesktop.systemd1.service and /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service should become unnecessary, and they can be removed. dbus 1.11.0 was released 2015-12-02. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914015
2019-08-30Revert "core: check start limit on condition checks too"Zbigniew Jędrzejewski-Szmek1-19/+1
This reverts commit 2de9b9793b91f492141f090dcc89445511e94bd4. This check causes regressions, in particular our own units fail. Apparently, it is enough for the unit to be referenced enough times: $ journalctl -b -u systemd-ask-password-console.path Aug 30 12:08:14 krowka systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped. Aug 30 12:08:33 krowka systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped. Aug 30 12:08:33 krowka systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped. Aug 30 12:08:33 krowka systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped. Aug 30 12:08:33 krowka systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch being skipped. Aug 30 12:08:33 krowka systemd[1]: systemd-ask-password-console.path: Start request repeated too quickly. Aug 30 12:08:33 krowka systemd[1]: Failed to start Dispatch Password Requests to Console Directory Watch. $ journalctl -b -u systemd-firstboot.service -- Logs begin at Sun 2019-04-21 12:39:21 CEST, end at Fri 2019-08-30 12:23:06 CEST. -- Aug 30 12:08:33 krowka systemd[1]: Condition check resulted in First Boot Wizard being skipped. Aug 30 12:08:33 krowka systemd[1]: Condition check resulted in First Boot Wizard being skipped. Aug 30 12:08:33 krowka systemd[1]: Condition check resulted in First Boot Wizard being skipped. Aug 30 12:08:33 krowka systemd[1]: Condition check resulted in First Boot Wizard being skipped. Aug 30 12:08:33 krowka systemd[1]: systemd-firstboot.service: Start request repeated too quickly. Aug 30 12:08:33 krowka systemd[1]: Failed to start First Boot Wizard. And the same for other units. Fixes #13434. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935829
2019-08-30shared/virt: update link to vmware articleZbigniew Jędrzejewski-Szmek1-3/+2
As suggested in https://github.com/systemd/systemd/pull/13430#issuecomment-526551085.
2019-08-30shared/unit-files: only put valid unit paths and dropin dirs in the cacheZbigniew Jędrzejewski-Szmek2-1/+22
2019-08-30shared/unit-files: we must not filter out names starting with a dotZbigniew Jędrzejewski-Szmek1-1/+1
Fixes #13380.
2019-08-30docs: describe valid unit names in systemd.unit(5)Zbigniew Jędrzejewski-Szmek2-10/+21
2019-08-30environment-d-generator: output logs in debug modeZbigniew Jędrzejewski-Szmek2-0/+11
Those codepaths is only used by that generator, so simply adding a few debug log lines should be OK. Fixes #12259.
2019-08-30Add System76 touchpad toggle supportJeremy Soller1-0/+8
2019-08-30basic/virt: Fix current virtualbox detectionJan Losinski1-9/+10
In a current VirtualBox installation the board_vendor is set to "Oracle Corporation". So we need to add this to the dmi_vendor_table for a relieable detection. This fixes #13429 Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
2019-08-30docs: create new SECURITY.md pageZbigniew Jędrzejewski-Szmek2-2/+9
github has special support for that name: https://help.github.com/en/articles/adding-a-security-policy-to-your-repository.
2019-08-30docs: new systemd-security mailing listZbigniew Jędrzejewski-Szmek2-1/+5
In the past, we asked people to open a security bug on one of the "big" distros. This worked OK as far as getting bugs reported and notifying some upstream developers went. But we always had trouble getting information to all the appropriate parties, because each time a bug was reported, a big thread was created, with a growing CC list. People who were not CCed early enough were missing some information, etc. To clean this up, we decided to create a private mailing list. The natural place would be freedesktop.org, but unfortunately the request to create a mailing list wasn't handled (https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/134). And even if it was, at this point, if there was ever another administrative issue, it seems likely it could take months to resolve. So instead, we asked for a list to be created on the redhat mailservers. Please consider the previous security issue reporting mechanisms rescinded, and send any senstive bugs to systemd-security@redhat.com.
2019-08-29man: install runlevel.8 unconditionallyJan Chren1-2/+1
systemctl supports runlevel invocation name without utmp. The runlevel symlink is installed unconditionally. So it's reasonable to install runlevel manpage with it as well. Signed-off-by: Jan Chren (rindeal) <dev.rindeal@gmail.com>
2019-08-29meson: fix incomplete option descriptionsJan Chren1-2/+2
Signed-off-by: Jan Chren (rindeal) <dev.rindeal@gmail.com>
2019-08-28core: move timeout_clean_usec from Service to ExecContextYu Watanabe7-11/+12
2019-08-28test: add tests for systemctl clean with DynamicUser=yesYu Watanabe1-0/+95
2019-08-28core: also remove private directories by systemctl cleanYu Watanabe1-0/+11
Fixes #13355.
2019-08-28hwdb: Add HP laptop accelerometer location quirkHans de Goede1-1/+4
Add another HP laptop to the list of HP laptops with their accelerometer in the base. While at it also fixup the indentation of a neighboring quirk.
2019-08-28shared/user-util: emit a warning on names with dotsZbigniew Jędrzejewski-Szmek1-7/+20
2019-08-28zsh: update journalctl completionsRonan Pigott1-6/+12
2019-08-27resolved: query polkit only after parsing the dataZbigniew Jędrzejewski-Szmek1-9/+9
That's what we do everywhere else because it leads to nicer user experience.
2019-08-27resolved: allow access to Set*Link and Revert methods through polkitZbigniew Jędrzejewski-Szmek3-23/+206
This matches what is done in networkd very closely. In fact even the policy descriptions are all identical (with s/network/resolve), except for the last one: resolved has org.freedesktop.resolve1.revert while networkd has org.freedesktop.network1.revert-ntp and org.freedesktop.network1.revert-dns so the description is a bit different.
2019-08-27resolved: do not run loop twiceZbigniew Jędrzejewski-Szmek1-7/+6
This doesn't matter much, but let's just do the loop once and allocate the populate the result set on the fly. If we find an error, it'll get cleaned up automatically.
2019-08-27sd-bus: adjust indentation of commentsZbigniew Jędrzejewski-Szmek2-5/+5
2019-08-27test-bus-vtable: also print introspection for the fallback vtableZbigniew Jędrzejewski-Szmek2-3/+25
This doesn't really test anything, it's just a trivial test that we get the expected output for a fallback vtable.
2019-08-27shared/but-util: drop trusted annotation from ↵Zbigniew Jędrzejewski-Szmek1-4/+0
bus_open_system_watch_bind_with_description() https://bugzilla.redhat.com/show_bug.cgi?id=1746057 This only affects systemd-resolved. bus_open_system_watch_bind_with_description() is also used in timesyncd, but it has no methods, only read-only properties, and in networkd, but it annotates all methods with SD_BUS_VTABLE_UNPRIVILEGED and does polkit checks.
2019-08-27kernel-install: do not require non-empty kernel cmdlineZbigniew Jędrzejewski-Szmek1-10/+4
When booting with Fedora-Server-dvd-x86_64-30-20190411.n.0.iso, /proc/cmdline is empty (libvirt, qemu host with bios, not sure if that matters), after installation to disk, anaconda would "crash" in kernel-core %posttrans, after calling kernel-install, because dracut would fail with > Could not determine the kernel command line parameters. > Please specify the kernel command line in /etc/kernel/cmdline! I guess it's legitimate, even if unusual, to have no cmdline parameters. Two changes are done in this patch: 1. do not fail if the cmdline is empty. 2. if /usr/lib/kernel/cmdline or /etc/kernel/cmdline are present, but empty, ignore /proc/cmdline. If there's explicit configuration to have empty cmdline, don't ignore it. The same change was done in dracut: https://github.com/dracutdevs/dracut/pull/561.
2019-08-27manager: put bin before sbin for user instancesZbigniew Jędrzejewski-Szmek3-18/+48
Traditionally, user logins had a $PATH in which /bin was before /sbin, while root logins had a $PATH with /sbin first. This allows the tricks that consolehelper is doing to work. But even if we ignore consolehelper, having the path in this order might have been used by admins for other purposes, and keeping the order in user sessions will make it easier the adoption of systemd user sessions a bit easier. Fixes #733. https://bugzilla.redhat.com/show_bug.cgi?id=1744059 OOM handling in manager_default_environment wasn't really correct. Now the (theorertical) malloc failure in strv_new() is handled. Please note that this has no effect on: - systems with merged /bin-/sbin (e.g. arch) - when there are no binaries that differ between the two locations. E.g. on my F30 laptop there is exactly one program that is affected: /usr/bin/setup -> consolehelper. There is less and less stuff that relies on consolehelper, but there's still some. So for "clean" systems this makes no difference, but helps with legacy setups. $ dnf repoquery --releasever=31 --qf %{name} --whatrequires usermode anaconda-live audit-viewer beesu chkrootkit driftnet drobo-utils-gui hddtemp mate-system-log mock pure-ftpd setuptool subscription-manager system-config-httpd system-config-rootpassword system-switch-java system-switch-mail usermode-gtk vpnc-consoleuser wifi-radar xawtv
2019-08-27core: stop removing non-existent and duplicate lookup pathsZbigniew Jędrzejewski-Szmek4-74/+9
When we would iterate over the lookup paths for each unit, making the list as short as possible was important for performance. With the current cache, it doesn't matter much. Two classes of paths were being removed: - paths which don't exist in the filesystem - paths which symlink to a path earlier in the search list Both of those points cause problems with the caching code: - if a user creates a directory that didn't exist before and puts units there, now we will notice the new mtime an properly load the unit. When the path was removed from list, we wouldn't. - we now properly detect whether a unit path is on the path or not. Before, if e.g. /lib/systemd/system, /usr/lib/systemd/systemd were both on the path, and /lib was a symlink to /usr/lib, the second directory would be pruned from the path. Then, the code would think that a symlink /etc/systemd/system/foo.service→/lib/systemd/system/foo.service is an alias, but /etc/systemd/system/foo.service→/usr/lib/systemd/system/foo.service would be considered a link (in the systemctl link sense). Removing the pruning has a slight negative performance impact in case of usr-merge systems which have systemd compiled with non-usr-merge paths. Non-usr-merge systems are deprecated, and this impact should be very small, so I think it's OK. If it turns out to be an issue, the loop in function that builds the cache could be improved to skip over "duplicate" directories with same logic that the cache pruning did before. I didn't want to add this, becuase it complicates the code to improve a corner case. Fixes #13272.
2019-08-27network: add more warnings in network_verify()Yu Watanabe1-0/+20
2019-08-27network: enable ipv6 when the network has static ipv6 configurationsYu Watanabe3-5/+31
2019-08-27network: drop all checks of ipv6_disabled sysctlZbigniew Jędrzejewski-Szmek7-64/+8
*We* control the sysctl setting. If the user configured IPv6, then we apply the settings, and just make sure that at some point during the configuration the sysctl is disabled (i.e. ipv6 enabled) if we have IPv6 configured. Replaces #13283.
2019-08-26Add accel mount matrix for Medion Akoya E2293VD-Lycos1-0/+4
Add ACCEL_MOUNT_MATRIX for Medion Akoya E2293 MD61130
2019-08-26test/TEST-10-ISSUE-2467: remove testsuite.service TimeoutStartSecDan Streetman1-1/+0
This test runs under qemu, which may run on some testbeds without acceleration; in those cases, a 10s timeout is frequently too short. Simply removing the timeout to allow the default timeoutsec should be enough time for the test to finish, even on very slow testbeds.
2019-08-26test/TEST-18-FAILUREACTION: fix typo to actually run firstphase actionDan Streetman1-1/+1
The if test for running the firstphase of the test should be negated so the firstphase is actually executed.