Summary: | Installer does not unmount root fs | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Branch 4.1 | Reporter: | Ivan Zakharyaschev <imz> | ||||||||||
Component: | installer-stage2 | Assignee: | Nobody's working on this, feel free to take it <nobody> | ||||||||||
Status: | CLOSED WONTFIX | QA Contact: | qa-4.1 <qa-4.1> | ||||||||||
Severity: | blocker | ||||||||||||
Priority: | P2 | CC: | boyarsh, silicium | ||||||||||
Version: | unspecified | ||||||||||||
Hardware: | all | ||||||||||||
OS: | Linux | ||||||||||||
Attachments: |
|
Description
Ivan Zakharyaschev
2008-12-21 00:03:24 MSK
Created attachment 3143 [details]
/root/.install.log
The install log extracted via LiveCD. (I don't care about the plaintext passwords there, I'll change them.)
Created attachment 3144 [details]
dmesg.out
"dmesg" run in the "single" runlevel, extracted via LiveCD.
Created attachment 3145 [details]
mount.out
"mount" run in the "single" runlevel, extracted via LiveCD.
Comment on attachment 3145 [details]
mount.out
(After doing "mount / -o remount,rw", of course.)
(In reply to comment #4) > (From update of attachment 3145 [details]) > (After doing "mount / -o remount,rw", of course.) It was readonly initially in the "single" mode. Created attachment 3146 [details]
df.out
"df" run in the "single" runlevel; extracted via LiveCD.
https://bugzilla.altlinux.org/show_bug.cgi?id=17972 looks similar. Is it because of XFS? Viewed superficially, it's SysVinit-2.86-alt2 who doesn't do what it is supposed to do. /sbin/init has nothing to do with FS type. Either initrd.img is not functional or smth odd happened. /etc/inittab is empty. Ha-ha, this could be the famous misfeature of XFS, which zeroes files left open. (It could be left open by the installer? Perhaps. By another init? Probably not, init doesn't have to open it for writing...) (In reply to comment #11) > /etc/inittab is empty. Ha-ha, this could be the famous misfeature of XFS, which zeroes files left open. (It could be left open by the > installer? Perhaps. This is an installer bug. (In reply to comment #11) > /etc/inittab is empty. Ha-ha, this could be the famous misfeature of XFS, which zeroes files left open. (It could be left open by the > installer? Perhaps. Here is some information from stat that could give hints about the stage of the installation at which this file has been touched: File: `/mnt/sda5/etc/inittab' Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 805h/2053d Inode: 67852032 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-12-23 00:35:12.388090743 +0300 Modify: 2008-12-20 23:27:06.274380054 +0300 Change: 2008-12-20 23:27:06.274380054 +0300 File: `/mnt/sda5/etc/lilo.conf' Size: 574 Blocks: 8 IO Block: 4096 regular file Device: 805h/2053d Inode: 102752337 Links: 1 Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-12-23 00:23:30.621349650 +0300 Modify: 2008-12-20 23:27:05.010380091 +0300 Change: 2008-12-20 23:27:05.014460218 +0300 File: `/mnt/sda5/etc/lilo.conf.old' Size: 519 Blocks: 8 IO Block: 4096 regular file Device: 805h/2053d Inode: 69413695 Links: 1 Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-12-23 00:23:30.621349650 +0300 Modify: 2008-12-20 22:45:18.226389000 +0300 Change: 2008-12-20 23:27:04.550379377 +0300 File: `/mnt/sda5/root/.install-log/basesystem.log' Size: 36956 Blocks: 80 IO Block: 4096 regular file Device: 805h/2053d Inode: 69413692 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-12-23 01:00:28.628089891 +0300 Modify: 2008-12-20 23:27:00.062380555 +0300 Change: 2008-12-20 23:27:00.062380555 +0300 File: `/mnt/sda5/root/.install-log/install2.log' Size: 182882 Blocks: 360 IO Block: 4096 regular file Device: 805h/2053d Inode: 69413691 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-12-23 01:00:28.616089973 +0300 Modify: 2008-12-20 23:27:00.058379069 +0300 Change: 2008-12-20 23:27:00.058379069 +0300 File: `/mnt/sda5/root/.install-log/wizard.log' Size: 147613 Blocks: 296 IO Block: 4096 regular file Device: 805h/2053d Inode: 69413694 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-12-23 01:00:28.648089919 +0300 Modify: 2008-12-20 23:27:03.078380003 +0300 Change: 2008-12-20 23:27:03.078380003 +0300 File: `/mnt/sda5/root/.install-log/x11.log' Size: 35723 Blocks: 72 IO Block: 4096 regular file Device: 805h/2053d Inode: 69413693 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-12-23 01:00:28.632089771 +0300 Modify: 2008-12-20 23:27:00.066379457 +0300 Change: 2008-12-20 23:27:00.066379457 +0300 File: `/mnt/sda5/etc/X11/xorg.conf' Size: 1239 Blocks: 8 IO Block: 4096 regular file Device: 805h/2053d Inode: 3027100 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-12-20 23:26:56.950380077 +0300 Modify: 2008-12-20 23:26:53.854380236 +0300 Change: 2008-12-20 23:26:53.858389754 +0300 The stat of /etc/inittab indicates it was "modified" at the last moment of the installation: # find /mnt/sda5/ -newer /mnt/sda5/etc/inittab /mnt/sda5/var/lib/rpm /mnt/sda5/var/run /mnt/sda5/etc /mnt/sda5/etc/mtab /mnt/sda5/root /mnt/sda5/root/tmp /mnt/sda5/root/dmesg.out /mnt/sda5/root/mount.out /mnt/sda5/root/df.out /mnt/sda5/root/.bash_history /mnt/sda5/root/.lesshst # > Installer does not unmount root fs
Yes, it writes in the end:
Remains mounted: /destination
Remains mounted: /destination/home
I performed the installation once again: on XFS, but with slightly different partition layouts and with more packages.
This time zeroing of /etc/inittab didn't happen.
В 4.1/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф. |