[Bug 381227] New: gdm user not created, even though gdm is installed
https://bugzilla.novell.com/show_bug.cgi?id=381227 Summary: gdm user not created, even though gdm is installed Product: openSUSE 11.0 Version: Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: meissner@novell.com QAContact: qa@suse.de CC: coolo@novell.com Found By: Development installing GNOME results in a messagebox "gdm user not created". but gdm is installed, and its postinstall has gdm user creation. I suspect coolos new image magic. -- 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=381227 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c1 --- Comment #1 from Marcus Meissner <meissner@novell.com> 2008-04-18 03:33:20 MST --- reinstalling gdm makes ti work again -- 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=381227 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c2 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-gnome@forge.provo.novell.com |locilka@novell.com --- Comment #2 from Stephan Kulow <coolo@novell.com> 2008-04-18 04:08:24 MST --- I just checked: gnome-i386.tar.lzma has this in etc/passwd: root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/bin/bash daemon:x:2:2:Daemon:/sbin:/bin/bash lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false news:x:9:13:News system:/etc/news:/bin/bash uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash games:x:12:100:Games account:/var/games:/bin/bash man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false ftp:x:40:49:FTP account:/srv/ftp:/bin/bash nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash ntp:x:74:101:NTP daemon:/var/lib/ntp:/bin/false messagebus:x:100:102:User for D-Bus:/var/run/dbus:/bin/false festival:x:101:103:Festival daemon:/usr/share/festival/:/bin/false uuidd:x:102:104:User for uuidd:/var/run/uuidd:/bin/false postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/bin/false avahi:x:103:105:User for Avahi:/var/run/avahi-daemon:/bin/false polkituser:x:104:106:PolicyKit:/var/run/PolicyKit:/bin/false haldaemon:x:105:107:User for haldaemon:/var/run/hal:/bin/false pulse:x:106:108:PulseAudio daemon:/var/lib/pulseaudio:/sbin/nologin beagleindex:x:107:111:User for Beagle indexing:/var/cache/beagle:/bin/bash gdm:x:108:112:Gnome Display Manager daemon:/var/lib/gdm:/bin/false sshd:x:71:65:SSH daemon:/var/lib/sshd:/bin/false suse-ncc:x:109:113:Novell Customer Center User:/var/lib/YaST2/suse-ncc-fakehome:/bin/bash I think yast is doing something wrong in deploying. -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c3 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #3 from Lukas Ocilka <locilka@novell.com> 2008-04-18 04:58:54 MST --- I'll check it ... but ... -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c4 --- Comment #4 from Lukas Ocilka <locilka@novell.com> 2008-04-18 05:47:46 MST --- Created an attachment (id=208938) --> (https://bugzilla.novell.com/attachment.cgi?id=208938) YaST logs -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c5 --- Comment #5 from Lukas Ocilka <locilka@novell.com> 2008-04-18 05:48:22 MST --- Created an attachment (id=208940) --> (https://bugzilla.novell.com/attachment.cgi?id=208940) Several /etc/passwd from different phases of installation -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c6 --- Comment #6 from Lukas Ocilka <locilka@novell.com> 2008-04-18 05:51:30 MST --- passwd.old (some old one from the images) passwd.after-image-deployment (images just deployed) passwd.after-package-installation (all packages installed) passwd (at the end of installation) bonus: passwd.imported-from-previous-installation (this file has been imported from the previous installation) It seems that the passwd and passwd.imported-from-previous-installation are the same, something must have rewritten the correct passwd file with the one from the previous install. I'll try to find who and how... -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c7 --- Comment #7 from Lukas Ocilka <locilka@novell.com> 2008-04-18 06:29:16 MST --- SystemFilesCopy.ycp:138 Copying from '/dev/sda3' files ["/etc/group", "/etc/login.defs", "/etc/passwd", "/etc/shadow"] to '/tmp/tmp_dir_for_SystemFilesCopy_files/_inst_archive_2.tgz'. Files will appear in '/var/lib/YaST2/imported/userdata' False-positive matches: clients/inst_user_first.ycp --------------------------- SystemFilesCopy.ycp:226 Extracted: $["exit":0, "stderr":"", "stdout":"etc/group\netc/login.defs\netc/passwd\netc/shadow\n"] into /tmp/YaST2-03739-eyTuBT/users/var/lib/YaST2/imported/userdata - passwd extracted to /tmp/YaST2-03739-eyTuBT/... clients/copy_systemfiles_finish.ycp ----------------------------------- SystemFilesCopy.ycp:226 Extracted: $["exit":0, "stderr":"", "stdout":"etc/group\netc/login.defs\netc/passwd\netc/shadow\n"] into /mnt/var/lib/YaST2/imported/userdata - passwd extracted to /mnt/var/lib/YaST2/... -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c8 --- Comment #8 from Lukas Ocilka <locilka@novell.com> 2008-04-18 06:53:03 MST --- Found that... inst_kickoff.ycp (yast2-packager) --------------------------------- if (!Mode::update ()) { if (! Installation::dirinstall_installing_into_dir) { SCR::Execute(.target.bash, "/bin/cp /etc/passwd " + "'" + String::Quote (Installation::destdir) + "/etc" + "'"); SCR::Execute(.target.bash, "/bin/cp /etc/group " + "'" + String::Quote (Installation::destdir) + "/etc" + "'"); } } So, no wonder that the /etc/passwd file gets rewritten. -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c9 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lslezak@novell.com Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #9 from Lukas Ocilka <locilka@novell.com> 2008-04-18 07:37:24 MST --- - Do not overwrite passwd and shadow files if they already exist on a system (e.g., from images) (bnc #381227). - yast2-packager-2.16.36 -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c10 --- Comment #10 from Lukas Ocilka <locilka@novell.com> 2008-04-18 07:38:04 MST --- (patch has been tested) -- 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=381227 User mmarek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c11 --- Comment #11 from Michal Marek <mmarek@novell.com> 2008-04-18 09:36:48 MST --- Am I correct in assuming that only packages installed via images are affected? I.e. packages that aren't in any images are fine? -- 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=381227 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c12 --- Comment #12 from Stephan Kulow <coolo@novell.com> 2008-04-18 09:56:25 MST --- This is the script from Henne, which should fix the issue: for i in aaa_base avahi beagle cups dbus-1 festival fuse \ gdm hal ntp openssh PolicyKit postfix pulseaudio pwdutils \ samba scrollkeeper uuid-runtime; \ do rpm -q $i && echo zypper in -f $i; done -- 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=381227 User mmarek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c13 --- Comment #13 from Michal Marek <mmarek@novell.com> 2008-04-18 10:34:00 MST --- I have yast2-registration in my list (creates user suse-ncc). -- 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=381227 User mmarek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c14 --- Comment #14 from Michal Marek <mmarek@novell.com> 2008-04-18 10:45:41 MST --- I grepped ARCHIVES.gz from the DVDs to check if there are packages that depend on the above packages for file ownership, but haven't found any. So it should be only these few packages. -- 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=381227 User mmarek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c15 --- Comment #15 from Michal Marek <mmarek@novell.com> 2008-04-18 10:52:16 MST --- calls zypper once: #!/bin/bash packs=(aaa_base avahi beagle cups dbus-1 festival fuse gdm hal ntp openssh PolicyKit postfix pulseaudio pwdutils samba scrollkeeper uuid-runtime yast2-registration) installed=($(rpmqpack)) reinst=($(join <(printf '%s\n' "${packs[@]}" | sort -u) <(printf '%s\n' "${installed[@]}" | sort -u))) set -x zypper in -f "${reinst[@]}" -- 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=381227 User captain.magnus@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c16 Magnus Boman <captain.magnus@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |captain.magnus@opensuse.org --- Comment #16 from Magnus Boman <captain.magnus@opensuse.org> 2008-04-18 19:53:17 MST --- Using only -f doesn't work here. I get "Nothing to do", adding a -n makes it work; packs=(aaa_base avahi beagle cups dbus-1 festival fuse gdm hal ntp openssh PolicyKit postfix pulseaudio pwdutils samba scrollkeeper uuid-runtime yast2-registration) installed=($(rpmqpack)) reinst=($(join <(printf '%s\n' "${packs[@]}" | sort -u) <(printf '%s\n' "${installed[@]}" | sort -u))) set -x zypper in -f -n "${reinst[@]}" -- 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=381227 User locilka@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c17 --- Comment #17 from Lukas Ocilka <locilka@novell.com> 2008-04-21 04:01:13 MST --- (In reply to comment #11 from Michal Marek)
Am I correct in assuming that only packages installed via images are affected? I.e. packages that aren't in any images are fine?
Kind of. Installation takes the /etc/passwd from running inst-sys and copies it to the just installed system. It depends on the inst-sys what it contains. -- 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=381227 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c18 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dsk@bglinux.org --- Comment #18 from JP Rosevear <jpr@novell.com> 2008-04-23 08:58:23 MST --- *** Bug 382797 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=382797 -- 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=381227 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c19 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gabriel@opensuse.org --- Comment #19 from Marcus Meissner <meissner@novell.com> 2008-04-23 09:36:33 MST --- *** Bug 382741 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=382741 -- 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=381227 User captain.magnus@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c20 Magnus Boman <captain.magnus@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |casualprogrammer@yahoo.com --- Comment #20 from Magnus Boman <captain.magnus@opensuse.org> 2008-04-27 02:13:44 MST --- *** Bug 384163 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=384163 -- 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=381227 User captain.magnus@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c21 Magnus Boman <captain.magnus@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmatejek@novell.com --- Comment #21 from Magnus Boman <captain.magnus@opensuse.org> 2008-04-28 06:33:39 MST --- *** Bug 384338 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=384338 -- 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=381227 User coolo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=381227#c22 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maxmars@gmail.com --- Comment #22 from Stephan Kulow <coolo@novell.com> 2008-05-04 12:00:53 MST --- *** Bug 384094 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=384094 -- 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.
participants (1)
-
bugzilla_noreply@novell.com