Hello,
I am having problem unmounting filesystems at the end of livecd-stage1. For
some reason,
the /dev directory is held by agetty and devfsd. The question is why my system
devfsd and agetty
care about the /var/tmp/catalysts/.../dev directory ?
Here is my livecd-stage1 spec:
-----8<-----------------
subarch: amd64
version_stamp: 2005.1
target: livecd-stage1
rel_type: default
profile: default-linux/amd64/2005.1
snapshot: 2005.1
source_subpath: default/stage3-amd64-2005.1
livecd/use:
-X
-gtk
-gtk2
-kde
-arts
-alsa
-avi
-cdr
-cups
-esd
gphoto2
acpi
-dvd
-dvdr
-emacs
-ethereal
f77
-fbcon
-ginac
-odbc
-plotutils
-ppds
-samba
-sse
usb
-wmf
-xml
-xosd
-gnome
-opengl
-oss
-sdl
-spell
-truetype
livecd/packages:
baselayout
module-init-tools
hotplug
syslog-ng
pciutils
strace
nfs-utils
usbutils
e2fsprogs
nano
less
openssh
----->8-----------------
Below is the output log (BRZ: lines is debugging that I added to the python
script.)
I am using catalyst 1.1.10.10, and I am on amd64 2005.1 portage snapshot.
Any ideas ?
Thanks,
Boris
The Log:
----
...
Running command "/bin/bash
/usr/lib/catalyst/targets/livecd-stage1/livecd-stage1.sh run 'baselayout'
'module-init-tools' 'hotplug' 'syslog-ng' 'pciutils' 'strace' 'nfs-utils'
'usbutils' 'e2fsprogs' 'nano' 'less' 'openssh'"
Running action sequence: preclean
Running command "/bin/bash
/usr/lib/catalyst/targets/livecd-stage1/livecd-stage1.sh preclean"
Running action sequence: unbind
!!! catalyst: BRZ: about to umount
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2005.1/var/tmp/ccache
!!! catalyst: BRZ: doing it...
!!! catalyst: BRZ: about to umount
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2005.1/usr/portage/packages
!!! catalyst: BRZ: doing it...
!!! catalyst: BRZ: about to umount
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2005.1/usr/portage/distfiles
!!! catalyst: BRZ: doing it...
!!! catalyst: BRZ: about to umount
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2005.1/dev/pts
!!! catalyst: BRZ: doing it...
!!! catalyst: BRZ: about to umount
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2005.1/dev
!!! catalyst: BRZ: doing it...
!!! catalyst: BRZ: umount failed. sleeping 30 seconds...
...
[1]+ Exit 1
[EMAIL PROTECTED] $ sudo
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2005.1/devfuser
[EMAIL PROTECTED] $ sudo fuser
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2005.1/dev
Password:
/var/tmp/catalyst/tmp/default/livecd-stage1-amd64-2005.1/dev: 1803c 7797c
7798c 7799c 7800c 7801c
[EMAIL PROTECTED] $ ps aux | grep "1803\|7797\|7798\|7799\|7800\|7801"
root 1803 0.0 0.0 7876 1184 ? Ss 2005 3:07 /sbin/devfsd /dev
root 7797 0.0 0.0 3468 628 tty2 Ss+ 2005 0:00 /sbin/agetty
38400 tty2 linux
root 7798 0.0 0.0 3468 628 tty3 Ss+ 2005 0:00 /sbin/agetty
38400 tty3 linux
root 7799 0.0 0.0 3468 628 tty4 Ss+ 2005 0:00 /sbin/agetty
38400 tty4 linux
root 7800 0.0 0.0 3468 628 tty5 Ss+ 2005 0:00 /sbin/agetty
38400 tty5 linux
root 7801 0.0 0.0 3468 628 tty6 Ss+ 2005 0:00 /sbin/agetty
38400 tty6 linux
boris 9695 0.0 0.0 2492 548 pts/6 S+ 17:19 0:00 grep
1803\|7797\|7798\|7799\|7800\|7801
[EMAIL PROTECTED] blackjack $ ps aux | grep "devfsd\|agetty"
root 1803 0.0 0.0 7876 1184 ? Ss 2005 3:07 /sbin/devfsd /dev
root 7797 0.0 0.0 3468 628 tty2 Ss+ 2005 0:00 /sbin/agetty
38400 tty2 linux
root 7798 0.0 0.0 3468 628 tty3 Ss+ 2005 0:00 /sbin/agetty
38400 tty3 linux
root 7799 0.0 0.0 3468 628 tty4 Ss+ 2005 0:00 /sbin/agetty
38400 tty4 linux
root 7800 0.0 0.0 3468 628 tty5 Ss+ 2005 0:00 /sbin/agetty
38400 tty5 linux
root 7801 0.0 0.0 3468 628 tty6 Ss+ 2005 0:00 /sbin/agetty
38400 tty6 linux
boris 9781 0.0 0.0 2492 560 pts/6 S+ 17:33 0:00 grep
devfsd\|agetty
--
"The next sentence is true. The previous sentence is false."
--
[EMAIL PROTECTED] mailing list