[Bug 736003] New: When rerunning kiwi after a canceled installation, it can remove /dev
https://bugzilla.novell.com/show_bug.cgi?id=736003 https://bugzilla.novell.com/show_bug.cgi?id=736003#c0 Summary: When rerunning kiwi after a canceled installation, it can remove /dev Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: luizluca@tre-sc.gov.br QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Hello, Kiwi mounts a <target>/dev device, which reflects the machine /dev. When something wrong happens, kiwi umounts it (as it does with /proc and others). However, if kiwi was abruptly stopped (multiple ctrl+c is enough), it does not umount the devices. When running again kiwi, it cleans <target> before beginning a new installation. As <target>/dev is still mounted, its contents is also removed. When this happens, /dev in the running machine is also cleaned. Reproducible: Always Steps to Reproduce: 1. run kiwi to prepare a new image 2. kill it letting the mounts inside the kiwi root mounted 3. run again and see your /dev/disapear Actual Results: 4. Most of /dev is deleted. Most of apps does not work anymore Expected Results: 4. kiwi should umount before removing or it should remove without going across other filesystems A simple (forced) reboot recreates the /dev contents -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736003
https://bugzilla.novell.com/show_bug.cgi?id=736003#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=736003
https://bugzilla.novell.com/show_bug.cgi?id=736003#c1
Marcus Schaefer
However, if kiwi was abruptly stopped (multiple ctrl+c is enough), it does not umount the devices.
Could you be more specific in which state you exited kiwi ? So that I can fix the cleanup code which normally should clean the umount stack Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736003
https://bugzilla.novell.com/show_bug.cgi?id=736003#c2
--- Comment #2 from Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=736003
https://bugzilla.novell.com/show_bug.cgi?id=736003#c
Luiz Angelo Daros de Luca
https://bugzilla.novell.com/show_bug.cgi?id=736003
https://bugzilla.novell.com/show_bug.cgi?id=736003#c3
Marcus Schaefer
participants (1)
-
bugzilla_noreply@novell.com