Mailinglist Archive: opensuse-bugs (10824 mails)

< Previous Next >
[Bug 550318] New: user ids for kiwi created ltsp images wrong, taken from host
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 27 Oct 2009 02:07:09 -0600
  • Message-id: <bug-550318-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: stefan.bruens@xxxxxxxxxxxxxx
QAContact: qa@xxxxxxx
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.

< Previous Next >