1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-07 18:27:04 +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
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
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
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
timers.target units: install user units as real files, not symlinks to ../system/ 2016-08-19 09:55:55 -04:00