[arch-general] [Cups and systemd] duplicated service file
Hi all,
I found that the package cups hav duplicated service file,
Here is some cmdline interactivity:
[root@system 09:47:09]$ pacman -Ql cups | grep service
cups /usr/lib/systemd/system/cups.service
cups /usr/lib/systemd/system/cupsd.service
[root@system 09:47:48]$ diff cupsd.service cups.service
gives no result.
[root@system 09:46:35]$ cat cupsd.service
[Unit]
Description=CUPS Printing Service
[Service]
ExecStart=/usr/sbin/cupsd -f
PrivateTmp=true
[Install]
Also=cups.socket cups.path
WantedBy=printer.target
[root@system 09:46:49]$ cat cups.service
[Unit]
Description=CUPS Printing Service
[Service]
ExecStart=/usr/sbin/cupsd -f
PrivateTmp=true
[Install]
Also=cups.socket cups.path
WantedBy=printer.target
[root@system 09:46:31]$ systemctl enable cupsd.service
Failed to issue method call: No such file or directory
[root@system 09:52:28]$ systemctl enable cups.service
ln -s '/usr/lib/systemd/system/cups.service' '/etc/systemd/system/printer.target.wants/cups.service'
ln -s '/usr/lib/systemd/system/cups.socket' '/etc/systemd/system/sockets.target.wants/cups.socket'
ln -s '/usr/lib/systemd/system/cups.path' '/etc/systemd/system/multi-user.target.wants/cups.path'
--
Brock Zheng
[2012-10-30 09:55:08 +0800] Brock.Zheng:
I found that the package cups hav duplicated service file,
Probably the same story as: https://bugs.archlinux.org/task/32158 -- Gaetan
On Tue, Oct 30, 2012 at 2:55 AM, Brock.Zheng
I found that the package cups hav duplicated service file, Here is some cmdline interactivity:
One is just an alias (symlink) for the other. I'm working on a patch to make systemctl behave nicer with respect to aliases, but have not found the time to finish it up yet. -t
participants (3)
-
Brock.Zheng
-
Gaetan Bisson
-
Tom Gundersen