https://bugzilla.novell.com/show_bug.cgi?id=757667 https://bugzilla.novell.com/show_bug.cgi?id=757667#c0 Summary: rpcbind: When used with systemd, restarts will succeed but the service will be unavailable Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: jeffm@suse.com ReportedBy: jeffm@suse.com QAContact: qa-bugs@suse.de CC: okir@suse.com, crrodriguez@opensuse.org Found By: Development Blocker: --- When socket activation is used with rpcbind, the service can be restarted but it will not be accessible to users. The issue is that rpcbind will remove the socket as it terminates. Systemd still holds a reference to the open socket and happily passes it back to rpcbind when it restarts. rpcbind thinks it has an open socket but nothing except systemd can communicate with it. At first I was content blaming systemd for this, but I've come to realize this is expected behavior. Systemd created the socket. It owns the socket. rpcbind shouldn't be removing it. Systemd could even recreate the socket as-needed but if there were any other users of the old socket, they'd be stuck in the same limbo. The real fun comes when you see lsof still shows everything connected to /var/run/rpcbind.sock that doesn't exist. The behavior is easily observable: rpcinfo <succeeds> rcrpcbind restart <ok> rpcinfo <fails> One workaround for this is the following completely unintuitive series of commands: systemctl stop rpcbind.service systemctl restart rpcbind.socket systemctl start rpcbind.service The problem with this is that it's *not* what rcrpcbind does. rcrpcbind should just work as it always has. Frederic, I've CC'd you here because I'd like your opinion on updating the systemd.socket man page to mention this case. It took me a little while to figure out, and I'm sure this won't be the last time it happens. I already have a patch and will post it after I get a bnc reference. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.