FS#51619 - oidentd doesn't install systemd files
Attached to Project:
Community Packages
Opened by Pekka Järvinen (raspi) - Monday, 31 October 2016, 19:56 GMT
Last edited by Dave Reisner (falconindy) - Monday, 31 October 2016, 21:18 GMT
Opened by Pekka Järvinen (raspi) - Monday, 31 October 2016, 19:56 GMT
Last edited by Dave Reisner (falconindy) - Monday, 31 October 2016, 21:18 GMT
|
Details
Description:
There seems to be systemd information in PKGBUILD file but it is not installed. Steps to reproduce: # pacman -S oidentd resolving dependencies... looking for conflicting packages... Packages (1) oidentd-2.0.8-9 Total Installed Size: 0.06 MiB :: Proceed with installation? [Y/n] Y ... # systemctl --all | grep -i ident # # lsof -nP -i tcp | grep ident # # oidentd # lsof -nP -i tcp | grep ident oidentd 13093 root 6u IPv4 63422 0t0 TCP *:113 (LISTEN) |
This task depends upon
Closed by Dave Reisner (falconindy)
Monday, 31 October 2016, 21:18 GMT
Reason for closing: Works for me
Additional comments about closing: The unit files are installed.
Monday, 31 October 2016, 21:18 GMT
Reason for closing: Works for me
Additional comments about closing: The unit files are installed.
$ pkgfile -l oidentd | grep systemd/system/o
community/oidentd /usr/lib/systemd/system/oidentd.socket
community/oidentd /usr/lib/systemd/system/oidentd@.service
bash: pkgfile: command not found
Missing dependency?
Now when installing oidentd systemd files are generated but systemd still doesn't "see" oidentd files with:
# systemctl --all | grep -i ident
# systemctl list-sockets --all | grep -i ident
# systemctl list-units --all | grep -i ident
# pwd
/usr/lib/systemd/system
# ls -la | grep -i ident
-rw-r--r-- 1 root root 196 Mar 20 2015 oidentd@.service
-rw-r--r-- 1 root root 116 Mar 20 2015 oidentd.socket
Please understand that pkgfile isn't a dependency of oidentd, it's just a tool to explore the contents of pacman packages.
Only information what I could extract:
# systemctl status oidentd@.service
Failed to get properties: Unit name oidentd@.service is missing the instance name.
# cat oidentd@.service
[Unit]
Description=Ident (RFC 1413) per-connection server
[Service]
ExecStart=/usr/bin/oidentd -I -u nobody -g nobody
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket
StandardError=syslog
--- snip --
# cat oidentd@.service
[Unit]
Description=Ident (RFC 1413) per-connection server
[Service]
ExecStart=/usr/bin/oidentd -I -u nobody -g nobody
ExecReload=/bin/kill -HUP $MAINPID
StandardInput=socket
StandardError=syslog
[root@miit system]# cat oidentd.socket
[Unit]
Description=Ident (RFC 1413) socket
[Socket]
ListenStream=113
Accept=yes
[Install]
WantedBy=sockets.target