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 <goodme...@gmail.com>
郑 祎

Software Enginner

Reply via email to