[Bug 335268] New: kiwi: /etc/passwd doesn' t contain all users after installing with zypper
https://bugzilla.novell.com/show_bug.cgi?id=335268 Summary: kiwi: /etc/passwd doesn't contain all users after installing with zypper Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: System Imaging AssignedTo: ms@novell.com ReportedBy: cthiel@novell.com QAContact: adrian@novell.com CC: dmacvicar@novell.com Found By: --- While building the Lenovo preload/OEM stuff, I ran into an issue with zypper: /etc/passwd didn't contain the user "haldaemon", eventhough it should have been created by the hal package. After switching back to smart, the user gets created without any problems. I'll create two test builds -- one with smart and one with zypper and make them available on /mounts/users-space on Monday. -- 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=335268#c1
--- Comment #1 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c2
--- Comment #2 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c4
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=335268#c5
--- Comment #5 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=335268#c6
--- Comment #6 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=335268#c7
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=335268#c8
--- Comment #8 from Danny Kukawka
Maybe an issue with rpm --root? Danny, is it the hal post install script which should add the haldaemon user to /etc/passwd?
This is the part of the spec-file where the user get added (and this wasn't a problem until now since it is the same in 10.3 and e.g. in the dbus packages): %pre /usr/sbin/groupadd -r haldaemon 2> /dev/null || : /usr/sbin/useradd -r -o -s /bin/false -c "User for haldaemon" -d /var/run/hal -g haldaemon haldaemon 2> /dev/null || : -- 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=335268#c9
--- Comment #9 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c10
Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=335268#c11
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c12
--- Comment #12 from Danny Kukawka
https://bugzilla.novell.com/show_bug.cgi?id=335268#c13
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268
Christian Zoz
https://bugzilla.novell.com/show_bug.cgi?id=335268#c14
Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=335268#c15
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c16
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=335268#c17
Ján Kupec
KIWIRoot.sh: init
copies a default passwd (/var/adm/fillup-templates/passwd.aaa_base) into the new root system. But this happens in the first stage where no passwd at all exists not in the second stage
But the kiwi log show the hal package has been installed in the first stage Is the passwd template copied before or after installing the hal?
I don't think this is a kiwi problem. I saw that zypper does very strange things after a package has been installed. The "things" called there are different from if smart installs the same package. I didn't spent time to figure out what that is... but it could be the reason for the problem
Can you at least describe what you saw? All i can tell is that zypper (libzypp) calls rpm with '--root' there in the first stage. Don't know how smart does it though. -- 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=335268#c18
--- Comment #18 from Michael Schröder
https://bugzilla.novell.com/show_bug.cgi?id=335268#c19
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=335268#c20
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c21
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=335268#c22
Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c23
--- Comment #23 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c24
--- Comment #24 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=335268#c25
Marcus Schaefer
participants (1)
-
bugzilla_noreply@novell.com