[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-14 Thread Launchpad Bug Tracker
This bug was fixed in the package mountall - 2.51

---
mountall (2.51) unstable; urgency=low


  * Fix tagging of filesystems to not have local/remote inheritance
overridden; otherwise we will mis-tag various mounts and deadlock the
boot.  Also fixes an inconsistency with the inheritance of
'bootwait'/'nobootwait' flags depending on the order of mounts in
/etc/fstab: we now always treat the 'nobootwait' flag as applying to
submounts. LP: #1223745, LP: #1153672.

 -- Steve Langasek vor...@debian.org  Fri, 13 Sep 2013 22:23:55 -0700

** Changed in: mountall (Ubuntu)
   Status: Fix Committed = Fix Released

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-13 Thread Stefan Bader
Just for the fun of it. The machine that had the NFS mount under /mnt
will lock up the same way as the other one as soon as I move that under
/home. Also thinking that the NFS fs is local.

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-13 Thread Stefan Bader
And repeating the setup in a VM I do get the same lockup, too. Hm, Steve
how is your  setup? I basically have (beyond the root):

LABEL=home  /home  ext4  relatime  0  2
hostname:/srv/images/cloudimg  /home/cloud-images  ro,nfsvers=3  0 0

And in the VM case mountall.log again shows cloud-images as local. For
home I added another virtual disk here. In the other cases I have
another partition or another LV, so at least it seems not directly
related to what kind of storage volume home is on.

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-13 Thread Stefan Bader
Ok, one more additional note. The VM behaves like the first host when
the mountpoint is /mnt/cloud-images, meaning its seen as nowait but
after the initial failure to mount while network is not ready, it seems
not to retry and the NFS mount has to be done manually.

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/mountall

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-13 Thread Steve Langasek
** Changed in: mountall (Ubuntu)
   Status: Incomplete = 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/1223745

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-12 Thread Stefan Bader
So booting with splash or pressing ESC otherwise brings up the splash
screen but otherwise does not show any hint about waiting on something
and neither allows to skip anything by blindly typing 'S'. (Not to
mention how much I like this whole plymouth mess as my servers have
console on a serial line normally, but that is another (long) story).

Luckily this box is multiboot, so I obtained mountall.log from another
release after ctrl-alt-delete the waiting mountall with --verbose.

** Attachment added: mountall.log
   
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1223745/+attachment/3817190/+files/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/1223745

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-12 Thread Stefan Bader
Oh, forgot to mention, this still behaves the same way, even with the
newer nfs-common which came in this morning.

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-12 Thread Stefan Bader
Hm, so I just upgraded another server with a very similar setup (just
home is LVM and / is mounted by label). In that case the nfs mount is
considered nowait but seems also counted as local when I look at the
summary in mountall.log. Oh, and it does mount the nfs mount under /mnt
but doing that on the first host caused the mount to never be done.

...
/mnt/cloud-images is nowait
...
local 4/4 remote 0/0 virtual 13/13 swap 1/1
mounting event handled for /mnt/cloud-images
mounting /mnt/cloud-images
mount.nfs: Failed to resolve server nano: Name or service not known
mountall: mount /mnt/cloud-images [1451] terminated with status 32
Filesystem could not be mounted: /mnt/cloud-images
mountall: Disconnected from Plymouth

The NFS mount does succeed eventually but it seems at least the first
attempts are made before network is correctly up. But the main thing
seems to be nowait and I cannot say where or why that comes from.

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

Title:
  Dependency resolver causes hang on boot

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

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


Re: [Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-12 Thread Steve Langasek
On Thu, Sep 12, 2013 at 08:17:12AM -, Stefan Bader wrote:
 /mnt/cloud-images is nowait

Expected behavior; the mount point is outside of the core filesystem, so
mountall does not block the boot waiting for it by default.  You could mark
the filesystem 'bootwait' in /etc/fstab, in which case mountall would tag it
as 'remote' instead (... at least, that's what *should* happen!).

 ...
 local 4/4 remote 0/0 virtual 13/13 swap 1/1
 mounting event handled for /mnt/cloud-images
 mounting /mnt/cloud-images
 mount.nfs: Failed to resolve server nano: Name or service not known
 mountall: mount /mnt/cloud-images [1451] terminated with status 32
 Filesystem could not be mounted: /mnt/cloud-images
 mountall: Disconnected from Plymouth

Also expected behavior (and I think there's at least one other open bug
complaining about this).  mountall knows that this is a network mount, but
has no way to determine *which* network interface is required in order to
reach it, so it will retry the mount after each network interface comes
up... including lo.  So yes, this results in a bit of noise in the logs.

So all in all, I don't think there's anything here that explains the problem
on the other machine, which is specific to having the NFS mount under /home.

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-11 Thread Steve Langasek
Hi Stefan,

If you bring up the plymouth splash screen (hitting 'esc' at the video
console, or booting with 'splash'), does it let you skip the stalled
mount?  And, which mount does it say is missing?

Can you boot with --verbose + splash on the kernel commandline, skip any
missing mounts, and then attach /var/log/upstart/mountall.log?

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

** Changed in: mountall (Ubuntu)
   Importance: Undecided = High

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-11 Thread Steve Langasek
Ok, I see from the existing attached logfiles that the /home/cloud-
images mountpoint is being incorrectly tagged 'local' by mountall
instead of 'remote', which causes a deadlock waiting for idmapd and/or
gssd to be started.  I'm not sure why this is being tagged 'local', but
I'll see if it's reproducible here.

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

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

Title:
  Dependency resolver causes hang on boot

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

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


[Bug 1223745] Re: Dependency resolver causes hang on boot

2013-09-11 Thread Steve Langasek
Ok, I can't reproduce this in a VM, with /home as a separate partition
and an nfs mount on a subdirectory.  And mountall --verbose shows the
nfsmount correctly tagged as 'remote', not 'local'.  The original
questions stand.

** 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/1223745

Title:
  Dependency resolver causes hang on boot

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

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