Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 537566 - net-nds/rpcbind-0.2.2-r1 - rpcbind.service should be wanted by rpcbind.target
Summary: net-nds/rpcbind-0.2.2-r1 - rpcbind.service should be wanted by rpcbind.target
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 16:55 UTC by Chris Mayo
Modified: 2015-01-24 17:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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