> Date: Sat, 23 Mar 2013 13:25:55 -0400
> From: "Cliff McDiarmid" <[email protected]>
> To: "BLFS Support List" <[email protected]>
> Subject: Re: [blfs-support] Autofs problem on LFS7.2
>
        .
        .
>


Ok. Will now do some checks from the kernel upwards. Can you paste output from 
each cmd below: preferably put the output immediately after the cmdline and 
immediately before the closing '$', such that the '$' is on a line by itself - 
helps delimit long outputs: e.g.
$ date
Sat Mar 23 18:44:48 GMT 2013
$


Can you ensure you're running as root, for now at least, when trying the 
automount stuff; it's ok to do it from 'su - ...' in a shell; and don't run it 
via sudo, for now at least. This is to try to contain any permissions issues 
that 
might be causing fails when you try it as an ordinary user. See also note below 
about testing as root at console and outside of X/gui/DE.


Kernel: is autofs compiled in or as a module:
$ grep -iEC1 'experimental|autofs' /boot/config*
$


Modules: is autofs loaded:
$ lsmod  | grep -i auto
$


Misc supporting files: is it setup ok:
$ grep -i auto /proc/filesystems /etc/filesystems /etc/nsswitch.conf
$


What does automount think of itself (so to speak):
$ /etc/rc.d/init.d/autofs status
$


Logged error messages - just include the lines from the most recent day's 
testing:
$ grep -i auto /var/log/{debug,messages,syslog}
$


Autofs default config:
$ grep -vE '^[[:space:]]*(#|$)' /etc/sysconfig/autofs*
$


If we need to delve into modules config, get some basic info:
$ find -P /etc -xdev \( -iname '*module*' -o -iname '*modprobe*' \) -ls
$


Misc environment:
--
* fstab: already covered, so OK here for now.
* hal: already said you're not running it.
* udev: is udev running?
* gui/de: are you testing automount from within a gnome session, or kde, or 
  what: what, if any, desktop environment are you using?
* ldap: are you running/using it on the machine?
* selinux: are you running it?
* have you tried automount stuff when logged in at console directly as root, 
  without any layers of 'su -' or 'sudo' or similar, and not running any 
  X/gui/DE ?
--


(( Btw, in case you're - reasonably - wondering at what point to 'cut' this 
attempt 
at autofs: if it's no-go just now, an option is to back-burner it for a month 
or 
so (at least wrt detailed-debug input from this end - obv you can test things 
yrself as/when you want) pending a blfs-7.2-based build at this end on some new 
machines (as part of their burn-in testing) and I could do a quick by-the-book 
lfs/blfs build (they're fast machines) to try to replicate more exactly your 
environment - recall that here am running slightly bsd-ish lfs-based systems 
(as 
well as bsd-ish Slackware and, er, the bsd-ish OpenBSD).
))



Thanks,

akhiezer





--
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to