All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs not mounting directories
@ 2004-03-16  3:58 Noel Hunt
  2004-03-17  3:24 ` Ian Kent
  0 siblings, 1 reply; 12+ messages in thread
From: Noel Hunt @ 2004-03-16  3:58 UTC (permalink / raw)
  To: autofs mailing list

I have been given reports by users that after a reboot,
cron jobs don't run, and also sudo su - ..., while not
failing, is not cd'ing to the user's home directory. In
the cron case, there were commands of the form

/a/b/cmd > /a/b/log 2>&1

(/a/b being an automount point) where one would expect
the modify time of /a/b/log to change even if the command
fails, but the files modification times were unchanged from
the last access.

I was also told that a cd from the shell to the directory
in question solves the problem.

The machines on which this is reported had no cron logging
which I have now remedied, so I can't try to reproduce this
until I can reboot these machines.

If `directory' is an automount mountpoint, is there some
difference between `cd directory', and say cron running
`/directory/bin/cmd', in the way that `directory' is
accessed? I understand the former will cause a chdir()
which will invoke autofs_root_lookup(); in the latter case,
I don't know what goes on.

Noel Hunt

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-03-19  2:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-16  3:58 autofs not mounting directories Noel Hunt
2004-03-17  3:24 ` Ian Kent
2004-03-17 20:48   ` Robert Au
2004-03-17 22:04     ` Michael Blandford
2004-03-18  1:30     ` Ian Kent
2004-03-18  5:26       ` Michael Blandford
2004-03-18  6:47         ` Ian Kent
2004-03-18  6:57           ` Noel Hunt
2004-03-19  1:08             ` Ian Kent
2004-03-18 17:34           ` Jim Carter
2004-03-19  1:04             ` Ian Kent
2004-03-19  2:00   ` mmarion

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.