Gentoo Archives: gentoo-user

From: Martins Steinbergs <mar@××.lv>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] boot stalls at 'mounting local file systems'
Date: Tue, 01 Aug 2006 07:04:57
Message-Id: 200608011000.48076.mar@ml.lv
In Reply to: Re: [gentoo-user] boot stalls at 'mounting local file systems' by Richard Fish
1 Hi, thanks for response. I dont have anything related to ldap. But booting
2 older kernel did the trick.
3
4 Martins
5
6 > If you are using ldap, it can cause long delays for things that occur
7 > before networking is active when something tries to lookup a user from
8 > the ldap server, but times out.
9 >
10 > So far I've heard of this affecting bootmisc, udev, and now
11 > localmount. There are some workarounds listed in this bug:
12 >
13 > http://bugs.gentoo.org/show_bug.cgi?id=99564
14 >
15 > Basically, downgrading the version of ldap or or changing the ldap
16 > configuration seems to fix it for most people.
17 >
18 > In your case, it is probably this part of localmount that is causing
19 > the problem:
20 >
21 > if [[ -n ${usbfs} ]] && \
22 > [[ -e /proc/bus/usb && ! -e /proc/bus/usb/devices ]]
23 > then
24 > ebegin "Mounting USB device filesystem (${usbfs})"
25 > usbgid=$(echo $(getent group usb) | awk -F: '{print $3}')
26 > mount -t ${usbfs} usbfs /proc/bus/usb \
27 > ${usbgid:+-o devmode=0664,devgid=${usbgid}}
28 > eend $? "Failed to mount USB device filesystem"
29 > fi
30 >
31 > This tries to do a lookup of the 'usb' group.
32 >
33 > If it does indeed turn out to be an ldap issue, add a comment to the
34 > linked bug or at least let me know and I'll do it.
35 >
36 > -Richard
37
38 --
39 Linux 2.6.17-gentoo-r1 AMD Athlon(tm) 64 Processor 3200+
40 09:55:18 up 25 min, 1 user, load average: 1.16, 1.00, 1.00
41 --
42 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] boot stalls at 'mounting local file systems' Graham Murray <graham@×××××××××××.uk>