[Bug 550318] New: user ids for kiwi created ltsp images wrong, taken from host
http://bugzilla.novell.com/show_bug.cgi?id=550318 Summary: user ids for kiwi created ltsp images wrong, taken from host Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: stefan.bruens@rwth-aachen.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.3; Linux) KHTML/4.3.2 (like Gecko) SUSE Kiwi creates ltsp images in two stages. The first stage is run from the host, installing packages using "zypper --root <ltsp-root>". It looks like userids for creating the files are taken from the host environment. This affects e.g. dbus and hal packages. This should be either fixed in zypper, or fixed during the the second stage, which is run in the chroot (rpm --setguids). Reproducible: Always Steps to Reproduce: 1. install kiwi-ltsp-prebuilt-unstable 2. unclicfs /srv/kiwi-ltsp/i386.img; sudo mount -o loop,ro fsdata.ext3 /mnt 3. chroot /mnt 4. ls -la /var/run/{hald,dbus} Actual Results: var/run/dbus: total 8 drwxr-xr-x 2 haldaemon privoxy 4096 2009-09-24 00:02 . drwxr-xr-x 9 root root 4096 2009-10-04 09:00 .. var/run/hald: total 16 drwxr-xr-x 4 messagebus quagga 4096 2009-10-04 08:58 . drwxr-xr-x 9 root root 4096 2009-10-04 09:00 .. drwxr-xr-x 2 messagebus quagga 4096 2009-09-24 11:50 hald-local drwxr-xr-x 2 messagebus quagga 4096 2009-09-24 11:50 hald-runner Expected Results: /var/run/dbus: insgesamt 16 drwxr-xr-x 3 messagebus messagebus 4096 27. Okt 07:53 . drwxr-xr-x 26 root root 4096 27. Okt 07:54 .. drwxr-xr-x 3 root root 4096 27. Okt 07:54 at_console -rw-r--r-- 1 root root 5 27. Okt 07:53 pid srwxrwxrwx 1 root root 0 27. Okt 07:53 system_bus_socket /var/run/hald: insgesamt 24 drwxr-xr-x 4 haldaemon haldaemon 4096 27. Okt 07:54 . drwxr-xr-x 26 root root 4096 27. Okt 07:54 .. -rw-r--r-- 1 root root 2266 27. Okt 07:54 acl-list -rw-r--r-- 1 root root 5 27. Okt 07:53 haldaemon.pid drwxr-xr-x 2 haldaemon haldaemon 4096 5. Feb 2009 hald-local drwxr-xr-x 2 haldaemon haldaemon 4096 5. Feb 2009 hald-runner -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=550318
Andreas Jaeger
http://bugzilla.novell.com/show_bug.cgi?id=550318
User cyberorg@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c1
Jigish Gohil
http://bugzilla.novell.com/show_bug.cgi?id=550318
User stefan.bruens@rwth-aachen.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c2
Stefan Brüns
http://bugzilla.novell.com/show_bug.cgi?id=550318
User stefan.bruens@rwth-aachen.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c3
--- Comment #3 from Stefan Brüns
http://bugzilla.novell.com/show_bug.cgi?id=550318
User cyberorg@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c4
--- Comment #4 from Jigish Gohil
http://bugzilla.novell.com/show_bug.cgi?id=550318
User cyberorg@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c5
Jigish Gohil
http://bugzilla.novell.com/show_bug.cgi?id=550318
User stefan.bruens@rwth-aachen.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c6
Stefan Brüns
http://bugzilla.novell.com/show_bug.cgi?id=550318
User cyberorg@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c7
Jigish Gohil
http://bugzilla.novell.com/show_bug.cgi?id=550318
User stefan.bruens@rwth-aachen.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c8
--- Comment #8 from Stefan Brüns
http://bugzilla.novell.com/show_bug.cgi?id=550318
User cyberorg@opensuse.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c9
Jigish Gohil
http://bugzilla.novell.com/show_bug.cgi?id=550318
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c10
Marcus Schaefer
This really is a bug in rpm which misbehaves when called with "--root". I filed this bug against kiwi as I originally thought it is kiwis fault. But as kiwi is affected, I think this bug should stay open until it is fixed for real.
I'm going to assign this to the rpm maintainer so there is a chance that it will be fixed soon Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=550318
User stefan.bruens@rwth-aachen.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=550318#c11
--- Comment #11 from Stefan Brüns
https://bugzilla.novell.com/show_bug.cgi?id=550318
https://bugzilla.novell.com/show_bug.cgi?id=550318#c12
Jigish Gohil
participants (1)
-
bugzilla_noreply@novell.com