[Bug 956989] New: squid: update problem from 3.2.11 to 3.5.10
http://bugzilla.opensuse.org/show_bug.cgi?id=956989 Bug ID: 956989 Summary: squid: update problem from 3.2.11 to 3.5.10 Classification: openSUSE Product: openSUSE Tumbleweed Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- A user trying to update from openSUSE 12.3 to Tumbleweed runs into an issue that squid's pretrans script wants to change a user account that does not exist. the pretrans script should be a bit more resilient in this case. During the upgrade, yast shows the error: Subprocess failed. Error: RPM failed: usermod: group 'squid' does not exist. error: %pretrans(squid-3.5.10-2.1) The script The group is being created in %pre # we need this group for /usr/sbin/pinger if [[ -z $(%{_bindir}/getent group %{name} 2>/dev/null) ]]; then %{_sbindir}/groupadd -g 31 -r %{name} 2>/dev/null fi but %pretrans runs before that, and executes: # update mode? if [ "$1" -gt "1" ]; then if [ -e %{_sysconfdir}/%{name}.conf -a ! -L %{_sysconfdir}/%{name}.conf -a ! -e %{_sysconfdir}/%{name}/%{name}.conf ]; then echo "moving %{_sysconfdir}/%{name}.conf to %{_sysconfdir}/%{name}/%{name}.conf" mv /%{_sysconfdir}/%{name}.conf /%{_sysconfdir}/%{name}/%{name}.conf fi # default group changed from nogroup to squid %{_sbindir}/usermod -g %{name} %{name} fi -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=956989
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=956989
Martin Pluskal
http://bugzilla.opensuse.org/show_bug.cgi?id=956989
Boris Manojlovic
http://bugzilla.opensuse.org/show_bug.cgi?id=956989
http://bugzilla.opensuse.org/show_bug.cgi?id=956989#c1
Boris Manojlovic
http://bugzilla.opensuse.org/show_bug.cgi?id=956989
http://bugzilla.opensuse.org/show_bug.cgi?id=956989#c2
Boris Manojlovic
participants (1)
-
bugzilla_noreply@novell.com