http://bugzilla.novell.com/show_bug.cgi?id=560845 http://bugzilla.novell.com/show_bug.cgi?id=560845#c0 Summary: adding user abuild damages /etc/passwd in Ubuntu 9.10 Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: herzi@abi02.de QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.5) Gecko/20091105 Fedora/3.5.5-1.fc12 Firefox/3.5.5 (This is about building .deb packages locally for Ubuntu 9.10) It looks like when the user "abort" is created, an "x" should be inserted into the password field in /etc/passwd. There is nothing in there: abuild::399:399:Autobuild:/home/abuild:/bin/bash while Ubuntu expects an "x": abuild:x:399:399:Autobuild:/home/abuild:/bin/bash Reproducible: Always Steps to Reproduce: 1. Install the current unstable osc (which is - in contrast to the current stable - capable of building debian packages locally). 2. Check out a project with a debian build infrastructure (eg. home:herzi/mango-lassi -- the build infrastructure isn't working perfectly, yet - but I'm getting there) 3. run "osc build Ubuntu_9.10 i586 mango-lassi.dsc" 4. watch how the build fails (which is expected) 5. change something in the config (eg. add the first missing dependency) -- or just don't do anything 6. re-run "osc build Ubuntu_9.10 i586 mango-lassi.dsc" (which should re-use the build root). Actual Results: 7. See how the build totally fails: [...] installing passwd-4.1.4.1-1ubuntu2.i386 user abuild has an entry in /etc/shadow, but its password field in /etc/passwd is not set to 'x' pwck: no changes Please correct the error and rerun `/sbin/shadowconfig on' dpkg: error processing passwd (--install): subprocess installed post-installation script returned error exit status 1 Processing triggers for man-db ... Errors were encountered while processing: passwd The buildroot was: /var/tmp/build-root/Ubuntu_9.10-i586-home:herzi-mango-lassi [herzi@boober mango-lassi]$ Expected Results: 7. Properly try to rebuild the package. Provide an error about the next dependency that's missing (or let the build pass). Please consider raising to something like "Major" because this renders ubuntu builds to "very annoying". Despite that, thanks for the OBS and keep up your good work. -- 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.