[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2013-03-26 Thread Steve Langasek
Closing this bug report again.  ilatypov, if you are having problems
with mounts please file a separate bug report and describe your problem
instead of piling on to this one.

** Changed in: mountall (Ubuntu)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2013-03-25 Thread eel ghEEz
The remote 0/0 speaks of issues and I see later changes in mountall.c
that could address reliability of startups.

415 Even if the mounting/mounted event failed (due perhaps to a failure of a 
job
depending on it), we still want to proceed with the mount and not just
error out.

411 Make sure we reset the pending_call to NULL when handling the event, so 
that we
correctly rehandle after a failed mount attempt.

http://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/raring/mountall/raring/changes

I neglected to save output of mountall --verbose and I neglected to try
connecting to the system over ssh in lucid where I saw no further
upstart activity on the console after about 3 failed NFS mount attempts.


** Changed in: mountall (Ubuntu)
   Status: Expired = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-10-14 Thread Launchpad Bug Tracker
[Expired for mountall (Ubuntu) because there has been no activity for 60
days.]

** Changed in: mountall (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-06-30 Thread Vidar Hoel
Sorry, I forgot to mention: I use 12.04 as a client, and 10.04 as the
server.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-06-30 Thread Vidar Hoel
** Attachment added: /etc/fstab
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/3208967/+files/fstab

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-06-30 Thread Vidar Hoel
** Attachment added: mountall.log (After fix)
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/3208966/+files/mountall.log_after_fix

** Attachment removed: /etc/fstab
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/3208961/+files/fstab

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-06-30 Thread Vidar Hoel
** Attachment added: mountall.log (Before fix)
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/3208965/+files/mountall.log_before_fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-06-30 Thread Vidar Hoel
** Attachment added: /etc/resolv.conf
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/3208964/+files/resolv.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-06-30 Thread Vidar Hoel
** Attachment added: /etc/network/interfaces (Working)
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/3208962/+files/interfaces

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-06-30 Thread Vidar Hoel
I had the same bug, and found the problem: Running IPv6 first and IPv4
afterwards (in /etc/networking/interfaces) did not work. When I
prioritezed IPv6, I had to do a sudo mount -a before logging in.

** Attachment added: /etc/fstab
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/3208961/+files/fstab

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-06-30 Thread Vidar Hoel
** Attachment added: /etc/network/interfaces (Not working)
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/3208963/+files/interfaces.not_working

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-05-19 Thread Steve Langasek
 (Most likely the problem is related to DHCP assigned network interfaces not
 being up when mountall expects them to. This will cause a time out condition
 that is only resolved after a considerable amount of time and sometimes not
 at all, I.e the NFS shares remain unmounted when the user logs in.)

Mountall makes no assumptions about network interfaces being up; on the
contrary, the network bring-up scripts signal mountall to re-try all
network mounts.  This works reliably for me, and I have three NFS
entries in my /etc/fstab that mount without problems at boot.

Do you know if this bug still exists in 12.04?  I suspect it's been
fixed in later releases.  If you can still reproduce it in 12.04, please
attach your /etc/network/interfaces file and /etc/fstab.  Please also
edit /etc/init/mountall.conf to comment out the 'console output' line
and add a '--verbose' option to the mountall exec line.

** Changed in: mountall (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-05-19 Thread Steve Langasek
Er, left a part out at the end there. ;)  After making those changes to
mountall.conf, please reboot and attach the resulting
/var/log/upstart/mountall.log.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2012-05-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: mountall (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2011-08-29 Thread Alatariel
The nfs-upstart-fixer, as posted by Hans Höök

---
A FIX for the problem
=

We have also noticed that for some hosts, more often with multiple cpu
cores in our experience, NFS shares are not mounted in time during
upstart.

We have tried NFS v3 and v4 with Ubuntu 8.04 servers and Ubuntu 10.04
clients.

If /home is an NFS share this will cause a lot of trouble since a login without 
a home catalog will result in a locked up gnome session that requires sudo 
rights and some command line skills to resolve.
(Not the kind of situation you would like your users to find themselves in...)

It is a shame that this problem still persists – we have suffered from
its consequences since 10.04 was released and not been able to find its
root cause. To help others in the same condition we have decided to
publish our fix – even thought it is quite ugly it works and removes the
symptoms.

(Most likely the problem is related to DHCP assigned network interfaces
not being up when mountall expects them to. This will cause a time out
condition that is only resolved after a considerable amount of time and
sometimes not at all, I.e the NFS shares remain unmounted when the user
logs in.)

The following fix will provide peace of mind and happy users:

1. In /etc/fstab make sure all NFS mounts have the flag “noauto” set like:
10.0.0.250:/home /home nfs4 noauto 0 0

2. Add the attached upstart script /etc/init/nfs-upstart-fixer.
If you use NFS v4, that uses idmapd, uncomment:
'start on (net-device-up and started idmapd)
'
If you use NFS v3, that does not depend on idmapd, uncomment:
'start on (net-device-up)
'

3. Add the attached script /sbin/ensure-nfsshares-mounted.

4. Above will take care of most situations but if you are using gdm and are 
quick when logging in there is still a chance that the home share may not be 
mounted.
To be sure add the following line to the script /etc/gdm/PostLogin/Default:
/sbin/ensure-nfsshares-mounted

This will act as a guard.
(Read instructions in /etc/gdm/PostLogin/Default.sample if ther is no 
/etc/gdm/PostLogin/Default
in your system.)

Note 1:
The “magic” time constant of 8 seconds /etc/init/nfs-upstart-fixer is empiric. 
It works on all hosts I have seen this far. If it is too small there will be a 
time out condition which will cause the time between entering password and 
until the login is completed by quite a long time.
If this happens try with 10, 12, 14 until this does not happen.

Note 2:
For non gdm users there is probably a “hook” corresponding to 
/etc/gdm/PostLogin/Default.

Note 3.
If you have NFS shares in /etc/fstab that are truly intended to be “noauto” the 
above solution will
have to be modified a bit.

Hope you may now also enjoy swift boot up and NFS mounted home shares in
Ubuntu even though this embarrassing bug remains unfixed!

Best regards
---


** Attachment added: nfs-upstart-fixer
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/2329127/+files/nfs-upstart-fixer

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 836533] Re: Still problems with nfs-mounts in /etc/fstab on boot

2011-08-29 Thread Alatariel
And the second part to ensure the nfs-share-mounted, also as posted by
Hans Höök

---
Sorry I missed the script /sbin/ensure-nfsshares-mounted
 in my last post.

Regards
---


** Attachment added: gdm-script to make sure nfs-shares are mounted before 
login
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+attachment/2329128/+files/ensure-nfsshares-mounted

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836533

Title:
  Still problems with nfs-mounts in /etc/fstab on boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/836533/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs