1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00
systemd/units/user
Zbigniew Jędrzejewski-Szmek de78fa9ba0 units: install user units as real files, not symlinks to ../system/
This was causing preset-all --global to create symlinks:

$ systemctl preset-all --global --root=/var/tmp/inst1
Created symlink /var/tmp/inst1/etc/systemd/user/shutdown.target → /usr/lib/systemd/user/../system/shutdown.target.
Created symlink /var/tmp/inst1/etc/systemd/user/sockets.target → /usr/lib/systemd/user/../system/sockets.target.
Created symlink /var/tmp/inst1/etc/systemd/user/timers.target → /usr/lib/systemd/user/../system/timers.target.
Created symlink /var/tmp/inst1/etc/systemd/user/paths.target → /usr/lib/systemd/user/../system/paths.target.
Created symlink /var/tmp/inst1/etc/systemd/user/bluetooth.target → /usr/lib/systemd/user/../system/bluetooth.target.
Created symlink /var/tmp/inst1/etc/systemd/user/printer.target → /usr/lib/systemd/user/../system/printer.target.
Created symlink /var/tmp/inst1/etc/systemd/user/sound.target → /usr/lib/systemd/user/../system/sound.target.
Created symlink /var/tmp/inst1/etc/systemd/user/smartcard.target → /usr/lib/systemd/user/../system/smartcard.target.
Created symlink /var/tmp/inst1/etc/systemd/user/busnames.target → /usr/lib/systemd/user/../system/busnames.target.

It is better to create units in a state that completely matches the presets, i.e.
preset-all should do nothing when invoked immediately after installation.

I'm sure it was confusing to users too, suggesting that system and user units
may somehow alias each other.
2016-08-19 09:55:55 -04:00
..
.gitignore remove bus-proxyd 2016-02-12 19:10:01 +01:00
basic.target units: remove RefuseManualStart from units which are always around 2014-06-28 00:06:30 -04:00
bluetooth.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00
busnames.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00
default.target core: --user -- add basic.target an sort against it like --system does 2014-01-07 01:35:25 +08:00
exit.target unit: remove [Install] section from the user exit.target unit 2015-10-14 16:25:23 +02:00
graphical-session-pre.target units: add graphical-session-pre.target user unit (#3848) 2016-08-02 08:56:45 -04:00
graphical-session.target units: add graphical-session.target user unit (#3678) 2016-07-25 22:01:35 +02:00
Makefile drop support for MANAGER_SESSION, introduce MANAGER_USER instead 2010-11-15 22:13:26 +01:00
paths.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00
printer.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00
shutdown.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00
smartcard.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00
sockets.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00
sound.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00
systemd-exit.service.in units: use numerig signal for killing systemd, to avoid incompatibilities with procps/util-linux kill 2012-10-23 00:12:33 +02:00
timers.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00