[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-04-01 Thread Launchpad Bug Tracker
This bug was fixed in the package nfs-utils - 1:1.2.8-9ubuntu8 --- nfs-utils (1:1.2.8-9ubuntu8) vivid; urgency=medium * Ship missing .override files * Ensure we only remove the manual flag from the statd-mounting.override file, and potentially, remove it if empty. -- Didier R

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-31 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/nfs-utils -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1428486 Title: Only start rpc.statd if $NEED_STATD To manage notifications about this bug go to: h

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-31 Thread Didier Roche
** Changed in: nfs-utils (Ubuntu) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1428486 Title: Only start rpc.statd if $NEED_STATD To manage notifications ab

Re: [Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-12 Thread Steve Langasek
On Thu, Mar 12, 2015 at 07:54:05AM -, Martin Pitt wrote: > An empty value is "auto", and both the upstart job (shell commands in > gssd-mounting.conf) and rpc-gssd.service > (ConditionPathExists=/etc/krb5.keytab) do that "auto" detection. But > indeed we don't currently check this value in the

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-12 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1428486 Title: Only start rpc.statd if $NEED_STATD To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-12 Thread Didier Roche
@Steve: so, as the transition is complex, in addition to my own tests of upgrade/removal/install directly the new version, I asked Martin for a review as well. Here is the patch. I only took care about statd for now. Note that there are some subtilities from that transition is quite complex, espe

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-12 Thread Martin Pitt
@Didier: Yes, that's pretty much what I had in mind. Note that "update- rc.d servicename enable|disable" already does all that (upstart override, systemctl enable/disable, etc.), so we should just call that? > I see the conffiles also have NEED_GSSD, should we handle it in a similar way? An empty

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-11 Thread Didier Roche
rather than preventing the user being able to systemct enable/disable, we have that option to follow that path: 1. patch to remove the Wants= in nfs-server.service and add an [Install] section to both rpc-statd.service and rpc-statd-notify.service with: WantedBy=nfs-server.service 2. and doing th

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-10 Thread Steve Langasek
I think the last option (one-time migration for nfs-server.wants) is the better solution in the near term. If an upstream solution can be found in the long term, that's great, but an upstream fix is unlikely for 15.04. -- You received this bug notification because you are a member of Ubuntu Bugs

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-09 Thread Martin Pitt
** Changed in: nfs-utils (Ubuntu) Importance: Medium => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1428486 Title: Only start rpc.statd if $NEED_STATD To manage notifications about this bu

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-09 Thread Martin Pitt
This is slightly complicated by the fact that rpc-statd.service (and the related rpc-statd-notify.service) don't have an [Install] and are not enabled/disabled separately, but instead are pulled in by nfs- server.service through an explicit Wants=. This is perhaps worth a discussion with upstream:

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-09 Thread Martin Pitt
** Changed in: nfs-utils (Ubuntu) Assignee: Martin Pitt (pitti) => Didier Roche (didrocks) ** Tags added: systemd-boot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1428486 Title: Only start r

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-05 Thread Steve Langasek
Rather than an advisory comment, I think the correct thing to do is to read any (non-default) value for NEED_STATD from /etc/default/nfs-common and do a one-time translation to the corresponding enable/disable operation. -- You received this bug notification because you are a member of Ubuntu Bug

[Bug 1428486] Re: Only start rpc.statd if $NEED_STATD

2015-03-04 Thread Martin Pitt
** Changed in: nfs-utils (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1428486 Title: Only start rpc.statd if $NEED_STATD To manage notifications about t