Comment 68 for bug 525154

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: [Bug 525154] Re: mountall for /var races with rpc.statd

Yes this is all done in upstart mods. They are fairly extensive.. And can potentially make the system unbootable if done wrong, so do be careful.

The fact that this is already accepted for maverick and lucid means that the fix will be backported.

On Jan 5, 2011, at 2:56 PM, "Brian J. Murrell" <email address hidden> wrote:

> On Wed, 2011-01-05 at 20:34 +0000, Clint Byrum wrote:
>> Alright I've pushed up branches for nfs-utils and portmap that address
>> this issue in natty. The open merge proposal for nfs-utils is dependent
>> on the portmap package due to the new portmap-wait and portmap-boot
>> upstart jobs.
>
> I've yet to look at the branch to see what changes have been made but
> perhaps you can tell me, is this accomplished all with modifications to
> upstart scripts or other feasibly editable (i.e. text) files?
>
> If so, I can try porting your changes back to one of my several maverick
> (or lucid even -- this should get backported to lucid, which is the LTS
> release, afterall ---in any case, right?) systems that has problems with
> statd not getting started properly.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/525154
>
> Title:
> mountall for /var races with rpc.statd
>
> Status in “nfs-utils” package in Ubuntu:
> In Progress
> Status in “portmap” package in Ubuntu:
> Confirmed
> Status in “nfs-utils” source package in Lucid:
> Confirmed
> Status in “portmap” source package in Lucid:
> New
> Status in “nfs-utils” source package in Maverick:
> Confirmed
> Status in “portmap” source package in Maverick:
> New
> Status in “nfs-utils” source package in Natty:
> In Progress
> Status in “portmap” source package in Natty:
> Confirmed
>
> Bug description:
> Binary package hint: upstart
>
> If one has /var (or /var/lib or /var/lib/nfs for that matter) on its own filesystem the statd.conf start races with the mounting of /var as rpc.statd needs /var/lib/nfs to be available in order to work.
>
> I am sure this is not the only occurrence of this type of problem.
>
> A knee-jerk solution is to simply spin in statd.conf waiting for /var/lib/nfs to be available, but polling sucks, especially for something like upstart whose whole purpose is to be an event driven action manager.
>
>
>
>