autofs>3.9.99-4.0.0pre10-16 doesn't work any more for me
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Martin Ruppert
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/var
Hm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
BTW, you _are_ aware that the default /etc/auto.master is empty now?
/* Steinar */
Quoted 148 lines
The information to do it i found in some Documentation, but the Documentation is not up to date (man page from 14 Jan 2000), so i had to try some time until it worked. And therefore i don't know what has changed.
Quoted 1 line
(I'll need the whole script
here it is (
/etc/auto.misc):
#!/bin/sh#function perr(){
# echo "date +%Y%m%d.%H%M%S:$1">>/var/log/autofs.debug
#}
#perr $@case "$1" in
DVDs) echo "-fstype=auto / /dev/s/$1 /raw /dev/s/raw" ;; backup) echo "-fstype=auto :/dev/s0/bu" ;; boot) echo "-fstype=ext2 :/dev/hda8" ;; cd*) echo "-fstype=auto,ro,sync,nodev,nosuid,user :/dev/hdc" ;; dvd*) echo "-fstype=auto,ro,sync,nodev,nosuid,user :/dev/hdc" ;; f[dl]*) echo "-fstype=auto,sync,nodev,nosuid,user :/dev/fd0" ;; #hda[23]) # echo "-fstype=ufs,ufstype=44bsd,rw :/dev/$1" # ;; hda8) echo "-fstype=auto / /dev/$1 /boot /dev/hda5 /usr /dev/vm/u0 /var /dev/vm/v0" ;; hda9) echo "-fstype=auto / /dev/$1 /boot /dev/hda5 /usr /dev/vm/u1 /var /dev/vm/v1" ;; hda10) echo "-fstype=auto / /dev/$1 /boot /dev/hda5 /usr /dev/vm/u2 /var /dev/vm/v2" ;; hd*) echo "-fstype=auto :/dev/$1" ;; knoppix) echo "-fstype=iso9660,ro,sync,loop :/home/ftp/pub/knoppix.iso" ;; pub*) echo "-fstype=auto :/dev/vm/$1" ;; s[cdr]*) echo "-fstype=auto :/dev/$1" ;; vm-*) set -x h=`echo $1|perl -ne 'chomp;split(/-/);print $_[1];'` echo "-fstype=auto :/dev/vm/$h" ;; [uv][012]) echo "-fstype=auto :/dev/vm/$1" ;; *) : ;;esac
exit 0Quoted 1 line
and precise autofs version in any case.)
the last working version is:
mago:~ 0409.15:38:07# automount --version
Linux automount version 4.0.0Debian-Package is
autofs_3.9.99-4.0.0pre10-16_i386.debAnd after ls -l
/mnt/auto/hda8tail -.../var/log/syslogdelivers:Apr 9 16:28:27 mago automount[8602]: attempting to mount entry /mnt/auto/hda8 Apr 9 16:28:27 mago automount[9386]: lookup(program): looking up hda8 Apr 9 16:28:27 mago automount[9386]: lookup(program): hda8 -> -fstype=auto / /dev/hda8 /usr /dev/vm/u0 /var /dev/vm/v0 Apr 9 16:28:27 mago automount[9386]: parse(sun): expanded entry: -fstype=auto / /dev/hda8 /usr /dev/vm/u0 /var /dev/vm/v0 Apr 9 16:28:27 mago automount[9386]: parse(sun): dequote("fstype=auto") -> fstype=auto Apr 9 16:28:27 mago automount[9386]: parse(sun): gathered options: fstype=auto Apr 9 16:28:27 mago automount[9386]: parse(sun): dequote("/") -> / Apr 9 16:28:27 mago automount[9386]: parse(sun): dequote("/dev/hda8") -> /dev/hda8 Apr 9 16:28:27 mago automount[9386]: parse(sun): multimount: /dev/hda8 on / with options fstype=auto Apr 9 16:28:27 mago automount[9386]: parse(sun): mounting root /mnt/auto, mountpoint hda8, what /dev/hda8, fstype auto, options Apr 9 16:28:27 mago automount[9386]: do_mount /dev/hda8 /mnt/auto/hda8 type auto options using module generic Apr 9 16:28:27 mago automount[9386]: mount(generic): calling mkdir_path /mnt/auto/hda8 Apr 9 16:28:27 mago automount[9386]: mount(generic): calling mount -t auto -s -o /dev/hda8 /mnt/auto/hda8 Apr 9 16:28:28 mago kernel: XFS mounting filesystem hda8 Apr 9 16:28:28 mago kernel: Ending clean XFS mount for filesystem: hda8 Apr 9 16:28:28 mago automount[9386]: mount(generic): mounted /dev/hda8 type auto on /mnt/auto/hda8 Apr 9 16:28:28 mago automount[9386]: parse(sun): dequote("/usr") -> /usr Apr 9 16:28:28 mago automount[9386]: parse(sun): dequote("/dev/vm/u0") -> /dev/vm/u0 Apr 9 16:28:28 mago automount[9386]: parse(sun): multimount: /dev/vm/u0 on /usr with options fstype=auto Apr 9 16:28:28 mago automount[9386]: parse(sun): mounting root /mnt/auto, mountpoint hda8/usr, what /dev/vm/u0, fstype auto, options Apr 9 16:28:28 mago automount[9386]: do_mount /dev/vm/u0 /mnt/auto/hda8/usr type auto options using module generic Apr 9 16:28:28 mago automount[9386]: mount(generic): calling mkdir_path /mnt/auto/hda8/usr Apr 9 16:28:28 mago automount[9386]: mount(generic): calling mount -t auto -s -o /dev/vm/u0 /mnt/auto/hda8/usr Apr 9 16:28:28 mago kernel: XFS mounting filesystem dm-1 Apr 9 16:28:28 mago kernel: Ending clean XFS mount for filesystem: dm-1 Apr 9 16:28:28 mago automount[9386]: mount(generic): mounted /dev/vm/u0 type auto on /mnt/auto/hda8/usr Apr 9 16:28:28 mago automount[9386]: parse(sun): dequote("/var") -> /var Apr 9 16:28:28 mago automount[9386]: parse(sun): dequote("/dev/vm/v0") -> /dev/vm/v0 Apr 9 16:28:28 mago automount[9386]: parse(sun): multimount: /dev/vm/v0 on /var with options fstype=auto Apr 9 16:28:28 mago automount[9386]: parse(sun): mounting root /mnt/auto, mountpoint hda8/var, what /dev/vm/v0, fstype auto, options Apr 9 16:28:28 mago automount[9386]: do_mount /dev/vm/v0 /mnt/auto/hda8/var type auto options using module generic Apr 9 16:28:28 mago automount[9386]: mount(generic): calling mkdir_path /mnt/auto/hda8/var Apr 9 16:28:28 mago automount[9386]: mount(generic): calling mount -t auto -s -o /dev/vm/v0 /mnt/auto/hda8/var Apr 9 16:28:28 mago kernel: XFS mounting filesystem dm-2 Apr 9 16:28:28 mago kernel: Ending clean XFS mount for filesystem: dm-2 Apr 9 16:28:28 mago automount[9386]: mount(generic): mounted /dev/vm/v0 type auto on /mnt/auto/hda8/varOn this sid-system, there is something else wrong (didn't realize it any time before), because attempt to mount
/dev/hda5on/mnt/auto/hda8/bootfails with error message
/dev/hda5is mounted on /bootand also does the attempt to mount
/dev/hda5on/mnt/hda5, but with an actual sarge on another system, all wents well.Installing
autofs_4.1.3-9_i386.deband doing
ls -l/mnt/auto/hda8there are no error-messages and nothing in
/var/log/syslog, but i only getls:
/mnt/auto/hda8: No such file or directoryHope this helps and thank you very much.
Quoted 1 line
/* Steinar */
Best regards
M.Ruppert
Signature · 1 line
Homepage: http://www.sesse.net/
Hello,
Quoted 8 lines · Steinar H Gunderson
Quoted 6 lines · Martin Ruppert
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/var
Quoted 6 lines
Hm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
BTW, you _are_ aware that the default
/etc/auto.masteris empty now?
No, i'm not. My /etc/auto.master looks like this:
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $ # Sample auto.master file
# Format of this file:
# mountpoint map options # For details of the format look at autofs(5). /mnt/auto /etc/auto.misc /mnt/net /etc/auto.net #/var/autofs/misc /etc/auto.misc #/var/autofs/net /etc/auto.net
is there something wrong with that?
Quoted 1 line
/* Steinar */
Best regards
M.Ruppert
Quoted 6 lines · Martin Ruppert
/mnt/auto /etc/auto.misc /mnt/net /etc/auto.net #/var/autofs/misc /etc/auto.misc #/var/autofs/net /etc/auto.netis there something wrong with that?
No, that should be fine. If you had used the default autofs from woody, it would now have been empty, so I wondered if that was the source of your problems. (It's not, AFAICS.)
/* Steinar */
Signature · 1 line
Homepage: http://www.sesse.net/
[email protected]
maintainerQuoted 8 lines · Steinar H. Gunderson
Quoted 6 lines · Martin Ruppert
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/var
Quoted 4 lines
Hm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
So what exactly is the problem?
I can't see any failures in the log.
Ian
Quoted 9 lines · raven
Quoted 8 lines · Steinar H. Gunderson
Quoted 6 lines · Martin Ruppert
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/var
Quoted 8 lines
Quoted 4 lines
Hm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
So what exactly is the problem?
I can't see any failures in the log.
yes, because the log is of autofs-3.9.99-4.0.0pre10-16, and any higher version doesn't work any more, as the subject says.
Quoted 1 line
Ian
M.Ruppert
Ian Kent
maintainerQuoted 15 lines · Martin Ruppert
Quoted 13 lines · raven
Quoted 12 lines · Steinar H. Gunderson
Quoted 6 lines · Martin Ruppert
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/varHm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
Quoted 6 lines
Quoted 3 lines
So what exactly is the problem?
I can't see any failures in the log.
yes, because the log is of autofs-3.9.99-4.0.0pre10-16, and any higher version doesn't work any more, as the subject says.
Oh so you just want to keep it a secret or are you just being funny.
Quoted 16 lines · Ian Kent
Quoted 15 lines · Martin Ruppert
Quoted 13 lines · raven
Quoted 12 lines · Steinar H. Gunderson
Quoted 6 lines · Martin Ruppert
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/varHm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
So what exactly is the problem?
I can't see any failures in the log.
yes, because the log is of autofs-3.9.99-4.0.0pre10-16, and any higher version doesn't work any more, as the subject says.
Oh so you just want to keep it a secret or are you just being funny.
Dear Mr. Kent,
what shall that be?
M.Ruppert
Quoted 166 lines · Steinar H Gunderson
Quoted 6 lines · Martin Ruppert
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/varHm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
BTW, you _are_ aware that the default
/etc/auto.masteris empty now?/* Steinar */
Quoted 148 lines
The information to do it i found in some Documentation, but the Documentation is not up to date (man page from 14 Jan 2000), so i had to try some time until it worked. And therefore i don't know what has changed.
Quoted 1 line
(I'll need the whole script
here it is (
/etc/auto.misc):
#!/bin/sh#function perr(){
# echo "date +%Y%m%d.%H%M%S:$1">>/var/log/autofs.debug
#}
#perr $@case "$1" in
DVDs)
echo "-fstype=auto //dev/s/$1/raw/dev/s/raw"
;;
backup)
echo "-fstype=auto :/dev/s0/bu"
;;
boot)
echo "-fstype=ext2 :/dev/hda8"
;;
cd*)
echo "-fstype=auto,ro,sync,nodev,nosuid,user :/dev/hdc"
;;
dvd*)
echo "-fstype=auto,ro,sync,nodev,nosuid,user :/dev/hdc"
;;
f[dl]*)
echo "-fstype=auto,sync,nodev,nosuid,user :/dev/fd0"
;;
#hda[23])
# echo "-fstype=ufs,ufstype=44bsd,rw :/dev/$1"
# ;;
hda8)
echo "-fstype=auto //dev/$1/boot/dev/hda5/usr/dev/vm/u0/var/dev/vm/v0" ;;
hda9)
echo "-fstype=auto //dev/$1/boot/dev/hda5/usr/dev/vm/u1/var/dev/vm/v1" ;;
hda10)
echo "-fstype=auto //dev/$1/boot/dev/hda5/usr/dev/vm/u2/var/dev/vm/v2" ;;
hd*)
echo "-fstype=auto :/dev/$1"
;;
knoppix)
echo "-fstype=iso9660,ro,sync,loop :/home/ftp/pub/knoppix.iso"
;;
pub*)
echo "-fstype=auto :/dev/vm/$1"
;;
s[cdr]*)
echo "-fstype=auto :/dev/$1"
;;
vm-*)
set -x
h=echo $1|perl -ne 'chomp;split(/-/);print $_[1];'
echo "-fstype=auto :/dev/vm/$h"
;;
[uv][012])
echo "-fstype=auto :/dev/vm/$1"
;;
*)
:
;;
esac
exit 0Quoted 1 line
and precise autofs version in any case.)
the last working version is:
mago:~ 0409.15:38:07# automount --version
Linux automount version 4.0.0Debian-Package is
autofs_3.9.99-4.0.0pre10-16_i386.debAnd after ls -l
/mnt/auto/hda8tail -.../var/log/syslogdelivers:Apr 9 16:28:27 mago automount[8602]: attempting to mount entry /mnt/auto/hda8 Apr 9 16:28:27 mago automount[9386]: lookup(program): looking up hda8 Apr 9 16:28:27 mago automount[9386]: lookup(program): hda8 -> -fstype=auto / /dev/hda8 /usr /dev/vm/u0 /var /dev/vm/v0 Apr 9 16:28:27 mago automount[9386]: parse(sun): expanded entry: -fstype=auto / /dev/hda8 /usr /dev/vm/u0 /var /dev/vm/v0 Apr 9 16:28:27 mago automount[9386]: parse(sun): dequote("fstype=auto") -> fstype=auto Apr 9 16:28:27 mago automount[9386]: parse(sun): gathered options: fstype=auto Apr 9 16:28:27 mago automount[9386]: parse(sun): dequote("/") -> / Apr 9 16:28:27 mago automount[9386]: parse(sun): dequote("/dev/hda8") -> /dev/hda8 Apr 9 16:28:27 mago automount[9386]: parse(sun): multimount: /dev/hda8 on / with options fstype=auto Apr 9 16:28:27 mago automount[9386]: parse(sun): mounting root /mnt/auto, mountpoint hda8, what /dev/hda8, fstype auto, options Apr 9 16:28:27 mago automount[9386]: do_mount /dev/hda8 /mnt/auto/hda8 type auto options using module generic Apr 9 16:28:27 mago automount[9386]: mount(generic): calling mkdir_path /mnt/auto/hda8 Apr 9 16:28:27 mago automount[9386]: mount(generic): calling mount -t auto -s -o /dev/hda8 /mnt/auto/hda8 Apr 9 16:28:28 mago kernel: XFS mounting filesystem hda8 Apr 9 16:28:28 mago kernel: Ending clean XFS mount for filesystem: hda8 Apr 9 16:28:28 mago automount[9386]: mount(generic): mounted /dev/hda8 type auto on /mnt/auto/hda8 Apr 9 16:28:28 mago automount[9386]: parse(sun): dequote("/usr") -> /usr Apr 9 16:28:28 mago automount[9386]: parse(sun): dequote("/dev/vm/u0") -> /dev/vm/u0 Apr 9 16:28:28 mago automount[9386]: parse(sun): multimount: /dev/vm/u0 on /usr with options fstype=auto Apr 9 16:28:28 mago automount[9386]: parse(sun): mounting root /mnt/auto, mountpoint hda8/usr, what /dev/vm/u0, fstype auto, options Apr 9 16:28:28 mago automount[9386]: do_mount /dev/vm/u0 /mnt/auto/hda8/usr type auto options using module generic Apr 9 16:28:28 mago automount[9386]: mount(generic): calling mkdir_path /mnt/auto/hda8/usr Apr 9 16:28:28 mago automount[9386]: mount(generic): calling mount -t auto -s -o /dev/vm/u0 /mnt/auto/hda8/usr Apr 9 16:28:28 mago kernel: XFS mounting filesystem dm-1 Apr 9 16:28:28 mago kernel: Ending clean XFS mount for filesystem: dm-1 Apr 9 16:28:28 mago automount[9386]: mount(generic): mounted /dev/vm/u0 type auto on /mnt/auto/hda8/usr Apr 9 16:28:28 mago automount[9386]: parse(sun): dequote("/var") -> /var Apr 9 16:28:28 mago automount[9386]: parse(sun): dequote("/dev/vm/v0") -> /dev/vm/v0 Apr 9 16:28:28 mago automount[9386]: parse(sun): multimount: /dev/vm/v0 on /var with options fstype=auto Apr 9 16:28:28 mago automount[9386]: parse(sun): mounting root /mnt/auto, mountpoint hda8/var, what /dev/vm/v0, fstype auto, options Apr 9 16:28:28 mago automount[9386]: do_mount /dev/vm/v0 /mnt/auto/hda8/var type auto options using module generic Apr 9 16:28:28 mago automount[9386]: mount(generic): calling mkdir_path /mnt/auto/hda8/var Apr 9 16:28:28 mago automount[9386]: mount(generic): calling mount -t auto -s -o /dev/vm/v0 /mnt/auto/hda8/var Apr 9 16:28:28 mago kernel: XFS mounting filesystem dm-2 Apr 9 16:28:28 mago kernel: Ending clean XFS mount for filesystem: dm-2 Apr 9 16:28:28 mago automount[9386]: mount(generic): mounted /dev/vm/v0 type auto on /mnt/auto/hda8/varOn this sid-system, there is something else wrong (didn't realize it any time before), because attempt to mount
/dev/hda5on/mnt/auto/hda8/bootfails with error message
/dev/hda5is mounted on /bootand also does the attempt to mount
/dev/hda5on/mnt/hda5, but with an actual sarge on another system, all wents well.Installing
autofs_4.1.3-9_i386.deband doing
ls -l/mnt/auto/hda8there are no error-messages and nothing in
/var/log/syslog, but i only getls:
/mnt/auto/hda8: No such file or directoryHope this helps and thank you very much.
Quoted 1 line
/* Steinar */
Best regards
M.Ruppert
Ian Kent
maintainerQuoted 17 lines · Martin Ruppert
Quoted 16 lines · Ian Kent
Quoted 15 lines · Martin Ruppert
Quoted 13 lines · raven
Quoted 12 lines · Steinar H. Gunderson
Quoted 6 lines · Martin Ruppert
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/varHm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
Quoted 9 lines
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
So what exactly is the problem?
I can't see any failures in the log.
yes, because the log is of autofs-3.9.99-4.0.0pre10-16, and any higher version doesn't work any more, as the subject says.
Oh so you just want to keep it a secret or are you just being funny.
Martin maybe you haven't realised yet but I often find myself struggling to get enough information to understand problems that are reported, desite repeated requests for more information.
It's very frustrating.
So can you restate the symptoms you are seeing, for my benefit please.
Ian
Hello,
sorry, i again forgot to Cc all other interested people.
M.Ruppert
On Mon, 11 Apr 2005 11:23:26 +0200, Martin Ruppert wrote:
Quoted 9 lines · Ian Kent
Quoted 2 lines · Martin Ruppert
[All of that depth and greater removed]
Martin maybe you haven't realised yet but I often find myself struggling to get enough information to understand problems that are reported, desite repeated requests for more information.
It's very frustrating.
i believe it.
Quoted 2 lines
So can you restate the symptoms you are seeing, for my benefit please.
naturally, but i don't know how to give you more information than i have done yet:
Quoted 1 line · Martin Ruppert
...> [the whole story, inclusive the part of the log file]
up to
Quoted 6 lines
...> Installing
...> autofs_4.1.3-9_i386.deb
...
...> and doing
...> ls -l/mnt/auto/hda8
...
Quoted 8 lines
...> there are no error-messages and nothing in
/var/log/syslog, but i only ...> get
...
...> ls:/mnt/auto/hda8: No such file or directory
...
...> Hope this helps and thank you very much.
...
...>> /* Steinar */
so please tell me, how i can grab more useful information, because i really don't know how to get it. And my whole system is the same, but with autofs_3.99... it works _and_ i get the information in /var/log/syslog an with autofs_4.1.3... it doesn't work _and_ there is _nothing_ in /var/log/syslog.
Therefore, i'm honestly clueless how to help, although it's in my interest at least as well as in yours.
Quoted 1 line
Ian
Best regards
M.Ruppert
[email protected]
maintainerQuoted 3 lines · Martin Ruppert
Hello,
sorry, i again forgot to Cc all other interested people.
And I replied without thinking ... doh!
I'm sure they will catch up with what's happening once we get something useful to report.
Ian
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
Quoted 13 lines · raven
Quoted 3 lines · Martin Ruppert
Hello,
[things already cleared snipped]
Yes, I think we can get more info.
The later versions of autofs are quiet.
There are several reasons for this, for good behaviour, a Debian bug report said it was to verbose, but mostly so I can get full debug info from people without a recompile.
Quoted 7 lines
You can get debug output by adding --debug to the end of your map entry in auto.master. Assuming syslog is logging facility daemon and severity at least debug they will be in the log.
Quoted 1 line
... [see above]
The debug info is really the only way to diagnose these problems.
Here comes it, but because it's a bit longish, i've put it at the end.
First part is a screen log installing autofs_4.1.3-9 and trying to mount with it and then installing autofs_4.1.3+4.1.4beta2-7 and again trying to mount with. I didn't have version 4.1.3+4.1.4beta2-7 before today.
And the good news: version 4.1.3+4.1.4beta2-7 works again, although i don't know why.
The last 49 Lines of this mail are the part of /var/log/syslog for the not working autofs_4.1.3-9
Hope that helps, if you need more or other info, please let me know.
Quoted 1 line
Ian
Thank you very much and best regards
M.Ruppert
mago:~ 0411.20:16:03# dpkg -i /var/cache/apt/archives/autofs_4.1.3-9_i386.deb dpkg - warning: downgrading autofs from 4.1.3+4.1.4beta2-7 to 4.1.3-9. (Reading database ... 48136 files and directories currently installed.) Preparing to replace autofs 4.1.3+4.1.4beta2-7 (using .../autofs_4.1.3-9_i386.deb) ... Stopping automounter: done.
Unpacking replacement autofs ...
Setting up autofs (4.1.3-9) ...
[Configuration ... snipped]
Stopping automounter:
done.
Starting automounter: /mnt/auto /mnt/net.
mago:~ 0411.20:16:46# dir /mnt/auto/hda8/mnt/auto/hda8: No such file or directory
mago:~ 0411.20:17:20# dpkg -i /var/cache/apt/archives/autofs_4.1.3+4.1.4beta2-7_i386.deb (Reading database ... 48134 files and directories currently installed.) Preparing to replace autofs 4.1.3-9 (using .../autofs_4.1.3+4.1.4beta2-7_i386.deb) ... Stopping automounter:
Stopped 2198
Stopped 2209
done.
Unpacking replacement autofs ...
Setting up autofs (4.1.3+4.1.4beta2-7) ...
[Configuration ... snipped]
< Here comes an ncurses-menu >
Debian Configuration
Configuring autofs
Upgrade from broken autofs version
You are upgrading from a broken version of the autofs package, which might hinder proper restarting on upgrade. I'll try stopping autofs for you before the upgrade (and starting it again afterwards), but this might fail. If the package installation fails, kill all instances of automount manually and retry the upgrade.
< /Here comes an ncurses-menu >
Stopping automounter: done.
Starting automounter: done.
mago:~ 0411.20:18:15# mount/dev/hda9 on / type xfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
usb on /proc/bus/usb type usbfs (rw)/dev/hda5 on /boot type ext3 (rw)/dev/m/vm-u1 on /usr type xfs (rw)/dev/m/vm-v1 on /var type xfs (rw)/dev/m/vm-home on /home type xfs (rw)/dev/m/vm-pub on /home/ftp/pub type xfs (rw)
automount(pid2414) on /mnt/auto type autofs (rw,fd=5,pgrp=2414,minproto=2,maxproto=4) automount(pid2467) on /mnt/net type autofs (rw,fd=5,pgrp=2467,minproto=2,maxproto=4)
mago:~ 0411.20:18:18# dir /mnt/auto/hda8
total 111
drwxr-xr-x 19 root root 4096 Apr 9 21:43 .
drwxr-xr-x 3 root root 0 Apr 11 20:18 .. drwxr-xr-x 2 root root 4096 Feb 12 00:59 bin dr-xr-xr-x 7 root root 2048 Apr 1 23:24 boot drwxr-xr-x 20 root root 28672 Apr 11 20:13 dev drwxr-xr-x 91 root root 12288 Apr 11 20:13 etc d--------- 2 root root 6 Dec 3 16:32 home drwxr-xr-x 2 root root 6 Dec 30 18:30 initrd dr-xr-xr-x 2 root root 6 Oct 24 18:27 knoppix drwxr-xr-x 9 root root 4096 Feb 12 00:59 lib drwxr-xr-x 2 root root 6 Dec 3 16:42 lost+found drwxr-xr-x 52 root root 4096 Apr 11 20:13 mnt d--------- 2 root root 6 Feb 8 2002 proc drwxr-x--- 10 root root 4096 Feb 3 06:44 root drwxr-xr-x 2 root root 8192 Feb 12 00:59 sbin d--------- 2 root root 6 Feb 9 2004 sys d--------- 2 root root 6 Sep 11 2004 tmp drwxr-xr-x 10 root root 130 Sep 5 2004 usr drwxr-xr-x 12 root root 136 Dec 8 19:51 var
mago:~ 0411.20:18:28# df
Filesystem1K-blocks Used Available Use% Mounted on
/dev/hda9 296928 69198 227730 24% / tmpfs 257288 0 257288 0% /dev/shm tmpfs 257288 0 257288 0% /tmp /dev/hda5 58093 32153 22940 59% /boot /dev/m/vm-u11628160 747372 880788 46% /usr /dev/m/vm-v1 406528 232762 173766 58% /var /dev/m/vm-home 19912704 17973938 1938766 91% /home /dev/m/vm-pub 44018688 35949508 8069180 82% /home/ftp/pub /dev/hda8 296928 88795 208133 30% /mnt/auto/hda8 /dev/m/vm-v0 406528 153699 252829 38% /mnt/auto/hda8/var /dev/m/vm-u01628160 753159 875001 47% /mnt/auto/hda8/usr /dev/hda5 58093 32153 22940 59% /mnt/auto/hda8/boot
mago:~ 0411.20:18:39# dir /mnt/auto/hda9
total 111
drwxr-xr-x 20 root root 4096 Mar 20 01:20 .
drwxr-xr-x 4 root root 0 Apr 11 20:18 .. drwx------ 2 root root 6 Mar 20 01:20 .unison drwxr-xr-x 2 root root 4096 Apr 11 20:15 bin dr-xr-xr-x 7 root root 2048 Apr 1 23:24 boot drwxr-xr-x 18 root root 28672 Apr 11 20:14 dev drwxr-xr-x 94 root root 12288 Apr 11 20:18 etc d--------- 2 root root 6 Dec 3 17:05 home drwxr-xr-x 2 root root 6 Dec 30 18:30 initrd dr-xr-xr-x 2 root root 6 Oct 24 18:27 knoppix drwxr-xr-x 9 root root 4096 Apr 8 18:42 lib drwxr-xr-x 2 root root 6 Jan 24 13:11 lost+found drwxr-xr-x 55 root root 4096 Apr 11 20:18 mnt d--------- 2 root root 6 Feb 8 2002 proc drwxr-x--- 13 root root 4096 Apr 11 20:16 root drwxr-xr-x 2 root root 8192 Apr 11 20:15 sbin d--------- 2 root root 6 Feb 9 2004 sys d--------- 2 root root 6 Apr 8 18:30 tmp drwxr-xr-x 10 root root 130 Feb 5 14:32 usr drwxr-xr-x 12 root root 128 Feb 4 16:06 var
mago:~ 0411.20:18:46# df
Filesystem1K-blocks Used Available Use% Mounted on
/dev/hda9 296928 69198 227730 24% / tmpfs 257288 0 257288 0% /dev/shm tmpfs 257288 0 257288 0% /tmp /dev/hda5 58093 32153 22940 59% /boot /dev/m/vm-u11628160 747372 880788 46% /usr /dev/m/vm-v1 406528 232755 173773 58% /var /dev/m/vm-home 19912704 17973938 1938766 91% /home /dev/m/vm-pub 44018688 35949508 8069180 82% /home/ftp/pub /dev/hda8 296928 88795 208133 30% /mnt/auto/hda8 /dev/m/vm-v0 406528 153699 252829 38% /mnt/auto/hda8/var /dev/m/vm-u01628160 753159 875001 47% /mnt/auto/hda8/usr /dev/hda5 58093 32153 22940 59% /mnt/auto/hda8/boot /dev/hda9 296928 69198 227730 24% /mnt/auto/hda9 /dev/m/vm-v1 406528 232755 173773 58% /mnt/auto/hda9/var /dev/m/vm-u11628160 747372 880788 46% /mnt/auto/hda9/usr /dev/hda5 58093 32153 22940 59% /mnt/auto/hda9/boot
mago:~ 0411.20:18:48#
And here comes the part of the log-file for version 4.1.3-9, i had to reinstall it again, because i misunderstood "`end of your map entry"', and so got no log entry, from that comes the difference in the timestamps.
Apr 11 20:37:25 mago automount[3520]: starting automounter version 4.1.3, path = /mnt/auto, maptype = program, mapname = /etc/auto.misc
Apr 11 20:37:25 mago automount[3520]: mount(bind): bind_works = 1
Apr 11 20:37:25 mago automount[3520]: using kernel protocol version 4.05
Apr 11 20:37:25 mago automount[3520]: using timeout 30 seconds; freq 8 secs
Apr 11 20:37:33 mago automount[3520]: sig 14 switching from 1 to 2
Apr 11 20:37:33 mago automount[3520]: get_pkt: state 1, next 2
Apr 11 20:37:33 mago automount[3520]: st_expire(): state = 1
Apr 11 20:37:33 mago automount[3520]: expire_proc: exp_proc=3554
Apr 11 20:37:33 mago automount[3520]: handle_child: got pid 3554, sig 0 (0), stat 0
Apr 11 20:37:33 mago automount[3520]: sigchld: exp 3554 finished, switching from 2 to 1
Apr 11 20:37:33 mago automount[3520]: get_pkt: state 2, next 1
Apr 11 20:37:33 mago automount[3520]: st_ready(): state = 2
Apr 11 20:37:35 mago automount[3520]: handle_packet: type = 0
Apr 11 20:37:35 mago automount[3520]: handle_packet_missing: token 6, name hda8
Apr 11 20:37:35 mago automount[3520]: attempting to mount entry /mnt/auto/hda8
Apr 11 20:37:35 mago automount[3557]: lookup(program): looking up hda8
Apr 11 20:37:35 mago automount[3557]: lookup(program): hda8 -> -fstype=auto / /dev/hda8 /boot /dev/hda5 /usr /dev/vm/u0 /var /dev/vm/v0
Apr 11 20:37:35 mago automount[3557]: parse(sun): expanded entry: -fstype=auto / /dev/hda8 /boot /dev/hda5 /usr /dev/vm/u0 /var /dev/vm/v0
Apr 11 20:37:35 mago automount[3557]: parse(sun): dequote("fstype=auto") -> fstype=auto
Apr 11 20:37:35 mago automount[3557]: parse(sun): gathered options: fstype=auto
Apr 11 20:37:35 mago automount[3557]: parse(sun): dequote("/") -> /
Apr 11 20:37:35 mago automount[3557]: parse(sun): dequote("/dev/hda8 /boot /dev/hda5 /usr /dev/vm/u0 /var /dev/vm/v0") -> /dev/hda8 /boot /dev/hda5 /usr /dev/vm/u0 /var /dev/vm/v0
Apr 11 20:37:35 mago automount[3520]: handle_child: got pid 3557, sig 1 (11), stat 0
Apr 11 20:37:35 mago automount[3520]: sig_child: found pending iop pid 3557: signalled 1 (sig 11), exit status 0
Apr 11 20:37:35 mago automount[3520]: send_fail: token=6
Apr 11 20:37:41 mago automount[3520]: sig 14 switching from 1 to 2
Apr 11 20:37:41 mago automount[3520]: get_pkt: state 1, next 2
Apr 11 20:37:41 mago automount[3520]: st_expire(): state = 1
Apr 11 20:37:41 mago automount[3520]: expire_proc: exp_proc=3561
Apr 11 20:37:41 mago automount[3520]: handle_child: got pid 3561, sig 0 (0), stat 0
Apr 11 20:37:41 mago automount[3520]: sigchld: exp 3561 finished, switching from 2 to 1
Apr 11 20:37:41 mago automount[3520]: get_pkt: state 2, next 1
Apr 11 20:37:41 mago automount[3520]: st_ready(): state = 2
Apr 11 20:37:49 mago automount[3520]: sig 14 switching from 1 to 2
Apr 11 20:37:49 mago automount[3520]: get_pkt: state 1, next 2
Apr 11 20:37:49 mago automount[3520]: st_expire(): state = 1
Apr 11 20:37:49 mago automount[3520]: expire_proc: exp_proc=3565
Apr 11 20:37:49 mago automount[3520]: handle_child: got pid 3565, sig 0 (0), stat 0
Apr 11 20:37:49 mago automount[3520]: sigchld: exp 3565 finished, switching from 2 to 1
Apr 11 20:37:49 mago automount[3520]: get_pkt: state 2, next 1
Apr 11 20:37:49 mago automount[3520]: st_ready(): state = 2
Apr 11 20:37:57 mago automount[3520]: sig 14 switching from 1 to 2
Apr 11 20:37:57 mago automount[3520]: get_pkt: state 1, next 2
Apr 11 20:37:57 mago automount[3520]: st_expire(): state = 1
Apr 11 20:37:57 mago automount[3520]: expire_proc: exp_proc=3567
Apr 11 20:37:57 mago automount[3520]: handle_child: got pid 3567, sig 0 (0), stat 0
Apr 11 20:37:57 mago automount[3520]: sigchld: exp 3567 finished, switching from 2 to 1
Apr 11 20:37:57 mago automount[3520]: get_pkt: state 2, next 1
Apr 11 20:37:57 mago automount[3520]: st_ready(): state = 2 Ian Kent
maintainerQuoted 8 lines · Martin Ruppert
First part is a screen log installing autofs_4.1.3-9 and trying to mount with it and then installing autofs_4.1.3+4.1.4beta2-7 and again trying to mount with. I didn't have version 4.1.3+4.1.4beta2-7 before today.
And the good news: version 4.1.3+4.1.4beta2-7 works again, although i don't know why.
I've just realised, your using the ":" Sun escape with a multi-mount map.
This problem was fixed during the 4.1.4 development. I'm suprised to hear that it worked in 4.0. I must have broken it by accident in 4.1.
Sorry to have missed it before.
Ian
Quoted 4 lines · Ian Kent
This problem was fixed during the 4.1.4 development. I'm suprised to hear that it worked in 4.0. I must have broken it by accident in 4.1.
Sorry to have missed it before.
As this is obviously solved in the latest version in Debian, I'm closing this bug. Ian, thanks for the analysis. :-)
/* Steinar */
Signature · 1 line
Homepage: http://www.sesse.net/
Hello,
Quoted 8 lines · Steinar H Gunderson
Quoted 4 lines · Ian Kent
This problem was fixed during the 4.1.4 development. I'm suprised to hear that it worked in 4.0. I must have broken it by accident in 4.1.
Sorry to have missed it before.
As this is obviously solved in the latest version in Debian, I'm closing this bug. Ian, thanks for the analysis. :-)
And i'm glad to thank you all for your voluntarily and good work. Especially in such situations, it's an enjoyment using open source software.
M.Ruppert
Ian Kent
maintainerOn Sat, 9 Apr 2005, Steinar H. Gunderson wrote:
I think this is a known bug.
Fixed during the 4.1.4 and probably should be OK in the current Debian version but I will need to check.
See below for required map syntax update.
Quoted 8 lines · Martin Ruppert
Quoted 6 lines
i not only mount one partition, but a whole system (df -T shortened):
/dev/hda8xfs .../mnt/auto/hda8/dev/hda5ext2 .../mnt/auto/hda8/boot/dev/m/vm-u0xfs .../mnt/auto/hda8/usr/dev/m/vm-v0xfs .../mnt/auto/hda8/var
Quoted 29 lines
Hm, sounds like multimount stuff. I have absolutely no experience with that; Cc-ing upstream. (Ian: I have no idea whether this is supposed to work at all or not, I've never seen anything like this before. Keeping the rest of the mail intact so you get it all :-) )
BTW, you _are_ aware that the default
/etc/auto.masteris empty now?/* Steinar */
Quoted 19 lines
The information to do it i found in some Documentation, but the Documentation is not up to date (man page from 14 Jan 2000), so i had to try some time until it worked. And therefore i don't know what has changed.
Quoted 1 line
(I'll need the whole script
here it is (
/etc/auto.misc):
#!/bin/sh#function perr(){
# echo "date +%Y%m%d.%H%M%S:$1">>/var/log/autofs.debug
#}
#perr $@case "$1" in
DVDs) echo "-fstype=auto / /dev/s/$1 /raw /dev/s/raw"
The mount entry syntax is now required to be consistent with the Sun escape ":" for all types of mount maps including multimount entries (previously not).
So this should be:
echo "-fstype=auto / :/dev/s/$1 /raw :/dev/s/raw"
Quoted 13 lines
Quoted 13 lines
;; backup) echo "-fstype=auto :/dev/s0/bu" ;; boot) echo "-fstype=ext2 :/dev/hda8" ;; cd*) echo "-fstype=auto,ro,sync,nodev,nosuid,user :/dev/hdc" ;; dvd*) echo "-fstype=auto,ro,sync,nodev,nosuid,user :/dev/hdc" ;;
Quoted 8 lines
Quoted 8 lines
f[dl]*) echo "-fstype=auto,sync,nodev,nosuid,user :/dev/fd0" ;; #hda[23]) # echo "-fstype=ufs,ufstype=44bsd,rw :/dev/$1" # ;; hda8) echo "-fstype=auto / /dev/$1 /boot /dev/hda5 /usr /dev/vm/u0 /var /dev/vm/v0"
and again.
echo "-fstype=auto / :/dev/$1 /boot :/dev/hda5 \ /usr :/dev/vm/u0 /var :/dev/vm/v0"
and the rest below.
Quoted 25 lines
Quoted 25 lines
;; hda9) echo "-fstype=auto / /dev/$1 /boot /dev/hda5 /usr /dev/vm/u1 /var /dev/vm/v1" ;; hda10) echo "-fstype=auto / /dev/$1 /boot /dev/hda5 /usr /dev/vm/u2 /var /dev/vm/v2" ;; hd*) echo "-fstype=auto :/dev/$1" ;; knoppix) echo "-fstype=iso9660,ro,sync,loop :/home/ftp/pub/knoppix.iso" ;; pub*) echo "-fstype=auto :/dev/vm/$1" ;; s[cdr]*) echo "-fstype=auto :/dev/$1" ;; vm-*) set -x h=`echo $1|perl -ne 'chomp;split(/-/);print $_[1];'` echo "-fstype=auto :/dev/vm/$h" ;; [uv][012])
Quoted 8 lines
Quoted 8 lines
echo "-fstype=auto :/dev/vm/$1" ;; *) : ;;esac
exit 0
So please try this out.
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
and precise autofs version in any case.)
the last working version is:
mago:~ 0409.15:38:07# automount --version
Linux automount version 4.0.0Debian-Package is
autofs_3.9.99-4.0.0pre10-16_i386.deb
Sorry but these versions are simply to old.
Please update to the latest stable autofs in Debian, update your maps as above and try again. We will work on this from there if a problem remains.
Ian