Bug 32300 - rpcbind.service включает только rpcbind.socket
Summary: rpcbind.service включает только rpcbind.socket
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: rpcbind (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Sergey Bolshakov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-22 17:33 MSK by Andrey Cherepanov
Modified: 2016-07-23 07:54 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2016-07-22 17:33:43 MSK
cas@cas ~ $ sudo systemctl enable rpcbind.service
[sudo] password for cas:
Synchronizing state of rpcbind.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable rpcbind
Created symlink /etc/systemd/system/sockets.target.wants/rpcbind.socket → /lib/systemd/system/rpcbind.socket.

после перезагрузки rpcbind.service не поднимается.

Исправляем /lib/systemd/system/rpcbind.service:
[Unit]
Description=RPC bind service
Requires=rpcbind.socket

[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/rpcbind
ExecStart=/sbin/rpcbind -w $RPCBIND_ARGS
Restart=always

[Install]
WantedBy=multi-user.target
Also=rpcbind.socket

После этого включает и .service:
cas ~ # systemctl enable rpcbind.service
Synchronizing state of rpcbind.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable rpcbind
Created symlink /etc/systemd/system/multi-user.target.wants/rpcbind.service → /lib/systemd/system/rpcbind.service.