[Bug 785133] New: Can not update to filesystem-12.3-3.1
https://bugzilla.novell.com/show_bug.cgi?id=785133 https://bugzilla.novell.com/show_bug.cgi?id=785133#c0 Summary: Can not update to filesystem-12.3-3.1 Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dimstar@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- the latest filesystem package received some script magic, trying to rename /var/lock to /var/lock.migrated and finally adding some symlinking to /run/lock, which is the new location for the lock folder. Unfortunately, on my machine, this fails for some reason (currently unknown to me): Installing: filesystem-12.3-3.1 ...............................................................................................[error] Installation of filesystem-12.3-3.1 failed: (with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /var/lock: cpio: rename failed - Is a directory error: filesystem-12.3-3.1.x86_64: install failed error: filesystem-12.3-2.1.x86_64: erase skipped Trying to do this move manually results in: # mv /var/lock /var/lock.migrated mv: cannot move ‘/var/lock’ to ‘/var/lock.migrated’: Device or resource busy lsof +D /var/lock yields no results. apparmor has been ruled out (disabled) Any other good ideas on what can be tested? Whatever it is, it will have to enter the package too of course :) -- 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=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c1
Ismail Donmez
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c2
Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c3
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c4
--- Comment #4 from Frederic Crozat
fcrozat, the buggy change seems to be yours. Please fix it :)
I'd be happy too (I tried to debug it with Dominique before asking him to fill the bug report), but I don't know what is preventing the directory renaming, since umount -l is supposed to allow moving the underlying directory.. -- 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=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c5
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c6
--- Comment #6 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c7
--- Comment #7 from Robert Schweikert
Could somebody with the bug tests the following ? mkdir /run/lock.migrated mount --move /var/lock /run/lock.migrated
Fails at the mount --move command with the following error: # mount --move /var/lock /run/lock.migrated mount: wrong fs type, bad option, bad superblock on /run/lock, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so My root file system is xfs -- 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=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c8
--- Comment #8 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c9
--- Comment #9 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c10
--- Comment #10 from Frederic Crozat
I noticed these in /var
drwxrwxr-x 4 root lock 4096 Oct 15 09:27 lock lrwxrwxrwx 1 root root 9 Oct 15 10:02 lock;507bb4ee -> /run/lock lrwxrwxrwx 1 root root 9 Oct 16 09:00 lock;507cf7e4 -> /run/lock lrwxrwxrwx 1 root root 9 Oct 16 12:45 lock;507d2cad -> /run/lock lrwxrwxrwx 1 root root 9 Oct 16 12:51 lock;507d2e2c -> /run/lock
Those files are created by rpm (and since it fails..).
17:23:34 silviupc:~ # ls -l /run/lock.migrated/ /var/lock /run/lock.migrated/: total 0
/var/lock: total 8 drwxr-xr-x 2 root root 4096 Oct 16 12:45 dmraid drwxr-xr-x 2 root root 4096 Oct 11 11:41 lvm
Ah.. Do people with this bug have either dmraid or lvm running ? -- 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=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c11
--- Comment #11 from Dominique Leuenberger
drwxr-xr-x 2 root root 4096 Oct 16 12:45 dmraid drwxr-xr-x 2 root root 4096 Oct 11 11:41 lvm
Ah.. Do people with this bug have either dmraid or lvm running ?
Not on my Factory test box where I experience this issue, no. -- 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=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c12
--- Comment #12 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c13
--- Comment #13 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c14
Sid Boyce
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c15
--- Comment #15 from Frederic Crozat
The problem still exists with filesystem-12.3-5.1. Stephan wrote the following puzzling statement to the factory mailing list:- "I removed the offending code from the openSUSE:Factory package".
Unfortunately, rpm doesn't know how to replace a directory with a symlink, which is why it fails (and which is why I wrote the preinstall script in filesystem in the first place).. -- 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=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c16
andreas bittner
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c17
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c18
--- Comment #18 from Frederic Crozat
interestingly, this also occurs in media-based upgrades:
http://openqa.opensuse.org/viewimg/openqa/testresults/openSUSE-DVD-i586-Buil...
We could still change our init scripts to bind-mount /run to /var/run etc which would leave it as a directory and at the same time avoid trouble with software that treats symlinks special.
Our initscript are supposed to be smart enough to handle this case already. And /run is created in initrd, so even when booting under sysvinit, the new setup (using symlink) should be ok. -- 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=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c19
--- Comment #19 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c20
--- Comment #20 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c21
--- Comment #21 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c22
--- Comment #22 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c23
--- Comment #23 from Silviu Marin-Caea
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c24
--- Comment #24 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c25
--- Comment #25 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c26
--- Comment #26 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c27
--- Comment #27 from Sid Boyce
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c28
Leonardo Chiquitto
https://bugzilla.novell.com/show_bug.cgi?id=785133
https://bugzilla.novell.com/show_bug.cgi?id=785133#c29
Stephan Kulow
participants (1)
-
bugzilla_noreply@novell.com