Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 537566

Summary: net-nds/rpcbind-0.2.2-r1 - rpcbind.service should be wanted by rpcbind.target
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2015-01-24 16:55:17 UTC
rpcbind.service wants rpcbind.target but surely it fulfills rpcbind.target?

This works for me with nfs-server.service (also requiredby rpc-statd.service):

--- rpcbind.service.orig
+++ rpcbind.service
@@ -1,8 +1,6 @@
 [Unit]
 Description=RPC Bind
 After=network.target
-Wants=rpcbind.target
-Before=rpcbind.target
 
 [Service]
 Type=forking
@@ -10,4 +8,4 @@
 Restart=always
 
 [Install]
-WantedBy=multi-user.target
+WantedBy=rpcbind.target
Comment 1 Chris Mayo 2015-01-24 17:04:30 UTC
Actually it's fine that way round:
https://www.mail-archive.com/systemd-devel@lists.freedesktop.org/msg02333.html