Bugzilla – Full Text Bug Listing |
Summary: | Cannot enable rpc-statd.service | ||
---|---|---|---|
Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Stratos Zolotas <strzol> |
Component: | Basesystem | Assignee: | Neil Brown <nfbrown> |
Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
Severity: | Normal | ||
Priority: | P5 - None | ||
Version: | Current | ||
Target Milestone: | --- | ||
Hardware: | x86-64 | ||
OS: | Other | ||
Whiteboard: | |||
Found By: | --- | Services Priority: | |
Business Priority: | Blocker: | --- | |
Marketing QA Status: | --- | IT Deployment: | --- |
Description
Stratos Zolotas
2016-03-02 15:49:53 UTC
Sorry for the long delay in getting to this :-( rpc.statd is supposed to be started automatically when you mount. However you are using a "user" mount and so the "systemctl" command to start statd gets run as you rather than root. So we just need to get /sbin/mount.nfs to set its uid properly before calling start-statd. The reason that "systemctl enable rpc-statd.service" doesn't do anything is that /usr/lib/systemd/system/rpc-statd.service has no [INSTALL] section, so systemctl doesn't know how to enabled. It isn't meant to be enabled, it is meant to be started directly.. I've created a patch and it is building now. The packages should appear in http://download.opensuse.org/repositories/home:/neilbrown:/branches:/openSUSE:/Factory/standard shortly. Can you please install the nfs-client package and let me know if it fixes the problem? Thanks. Perfect explanation, although from user side this was working on 42.1. Patched package works as expected. Thank you for the fix, I suppose it will pass soon in the Tumbleweed repo. Thanks for testing. I've sent the fix upsteeam, and into the opensuse system so it should appear in Tumbleweed eventually. BTW the version I gave you has a security issue. If you set environment variables before running "mount" they will be inherited by /usr/sbin/start-statd which could be convinced to do something unintended as root. The version I have submitted does not have the problem. So if anyone but you uses that machine, you should revert to the old version. This is an autogenerated message for OBS integration: This bug (969152) was mentioned in https://build.opensuse.org/request/show/391216 Factory / nfs-utils Thanks for the security notification. It is only me, so I will probably wait for the official update to pass, until then I'll use the patched version. Thanks again for the fix. |