[Bug 272390] New: Uninstall fails due to error in RPM-Macro
https://bugzilla.novell.com/show_bug.cgi?id=272390 Summary: Uninstall fails due to error in RPM-Macro Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: axel.braun@gmx.de QAContact: qa@suse.de I'm trying to build up-to-date SuSE packages for hylafax. Up to now I was using a generig script in the %preun section: %preun if [ $1 = 0 ] ; then if [ -x /usr/lib/lsb/remove_initd ]; then /usr/lib/lsb/install_initd %{initdir}/hylafax elif [ -x /sbin/chkconfig ]; then /sbin/chkconfig --del hylafax else rm -f /etc/rc.d/rc?.d/???hylafax fi /sbin/service hylafax stop >/dev/null 2>&1 || : fi That allowed an uninstall of the package. If I replace the section with %{stop_on_removal hylafax} the following occurs: z60m:/usr/src/packages # rpm -e hylafax-5.1.2 hylafax 0:off 1:off 2:off 3:off 4:off 5:off 6:off FIFO: open: No such device or address error: %preun(hylafax-5.1.2-1suse102.i586) scriptlet failed, exit status 1 This is due to the fact that the package is installed, but not configured or running (the check on the FIFO). Has the stop_on_removal to be used in a different way, or is it not 'compliant' with hylafax? Thanks Axel -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272390 ------- Comment #1 from pth@novell.com 2007-05-09 03:45 MST ------- I would strongly suggest you post your problem on the opensuse-packagers mailing list. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272390 ------- Comment #2 from axel.braun@gmx.de 2007-05-09 05:16 MST ------- I posted this to [opensuse-buildservice] on Apr. 26 but didnt get any reaction -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=272390 mls@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #3 from mls@novell.com 2007-05-09 06:32 MST ------- stop_on_removal is fine, I guess hylafax' init script is broken. You should ask the hylafax maintainer or on opensuse-packagers. opensuse-buildservice is about problems with the build service itself, not about packageing problems. stop_on_removal just does '/etc/init.d/hylafax stop', you should change the script so that it doesn't produce an error if hylafax is not running. -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com