Bug 5247

Summary: sysvinit preuninstall scriptlet fails during upgrade to Cauldron
Product: Mageia Reporter: Dave Hodgins <davidwhodgins>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: arnaud.patard, mageia, sysadmin-bugs, thierry.vignaud, tmb
Version: 1Keywords: validated_update
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: sysvinit-2.87-10.mga1.src.rpm CVE:
Status comment:
Attachments: Upgrade log

Description Dave Hodgins 2012-04-06 02:09:06 CEST
Created attachment 1933 [details]
Upgrade log

From a test of upgrading from Mageia 1 to Cauldron ...
Executing /sbin/chkconfig bootlogd off
Usage: service -[Rfshv] SERVICE ARGUMENTS
        -f|--full-restart:      Do a fullrestart of the service.
        -R|--full-restart-all:  Do a fullrestart of all running services.
        -s|--status-all:        Print a status of all services.
        --ignore-dependencies:  Do not start required systemd services
        --skip-redirect:        Do not redirect to systemd
        -d|--debug:             Launch with debug.
        -h|--help:              This help.
Operation failed: No such file or directory
error reading information on service stop_bootlogd: No such file or directory
s-3.32-2.mga1.noarch

I'm guessing as to which package is involved, as the message shows up in
the middle of removing the upgraded packages.  I'll attach the full log.
Comment 1 Manuel Hiebel 2012-04-07 21:05:44 CEST
can be blocker of the upgrade tracker ?
Manuel Hiebel 2012-04-07 21:09:09 CEST

CC: (none) => arnaud.patard, mageia, thierry.vignaud, tmb

Comment 2 Dave Hodgins 2012-04-07 22:25:43 CEST
It's a minor cosmetic issue.  It doesn't prevent the upgrade, or
cause any problems, as far as I can see.  Just adds error messages
to the log.

# tree -if /etc/|grep bootlog
/etc/rc.d/rc0.d/K99stop-bootlogd -> ../init.d/stop-bootlogd
/etc/rc.d/rc1.d/K99stop-bootlogd -> ../init.d/stop-bootlogd
/etc/rc.d/rc2.d/S99stop-bootlogd -> ../init.d/stop-bootlogd
/etc/rc.d/rc3.d/S99stop-bootlogd -> ../init.d/stop-bootlogd
/etc/rc.d/rc4.d/S99stop-bootlogd -> ../init.d/stop-bootlogd
/etc/rc.d/rc5.d/S99stop-bootlogd -> ../init.d/stop-bootlogd
/etc/rc.d/rc6.d/K99stop-bootlogd -> ../init.d/stop-bootlogd
/etc/rc.d/rc7.d/K99stop-bootlogd -> ../init.d/stop-bootlogd

Also leaves the above broken symlinks.

Definitely not a release blocker.  Just a clean up to help give
Mageia a polished image.
Comment 3 Colin Guthrie 2012-04-08 12:41:17 CEST
Yup, it's a simply typo (never spotted as sysvinit has never been uninstalled before :D)

As this is an upgrade from mga1, we'll have to issue an update for sysvinit on mga1.

I've submitted a new version to mga1 updates_testing. It's a trivial rebuild with just the uninstall scriptlet corrected, so I can't see much in the way of QA being needed.

SRPMS: sysvinit-2.87-10.1.mga1.src.rpm

Advisory Text:

A packaging bug was found in the uninstallation script of the sysvinit package shipped with mga1. While it is not a significant problem, it will result in error messages being shown during the upgrade to mga2 and some left over configuration data.

This update simply fixes this packaging issue.

Assignee: bugsquad => qa-bugs

Comment 4 Colin Guthrie 2012-04-08 12:56:41 CEST
Hmm, I spoke too soon... :s

I got these errors on submission:
 - unknown-lsb-keyword # chkconfig: - 99 99
 - unknown-lsb-keyword # chkconfig: - 01 99
 - malformed-line-in-lsb-comment-block # X-Mandriva-Compat-Mode

This was already fixed in Cauldron but the mga1 version didn't get the fixes.

These small tweaks now also included in the update, but this is still a 99.9% trivial change :)

SRPM and version etc. as above not affected.
Comment 5 Dave Hodgins 2012-04-10 03:17:29 CEST
Testing complete on i586 for the srpm
sysvinit-2.87-10.1.mga1.src.rpm

Working fine in Mageia 1, and after re-testing the upgrade from
Mageia 1 to Cauldron, the error is no longer in the log and the
broken symlinks are gone.
Comment 6 Manuel Hiebel 2012-04-11 23:39:03 CEST
Make an upgrade from mageia 1 to 2 from a minimal install, no issue or errors related to this package.


Suggested Advisory:
-------------
A packaging bug was found in the uninstallation script of the sysvinit package
shipped with mga1. While it is not a significant problem, it will result in
error messages being shown during the upgrade to mga2 and some left over
configuration data.

This update simply fixes this packaging issue.

https://bugs.mageia.org/show_bug.cgi?id=5247
-------------

SRPM: sysvinit-2.87-10.1.mga1.src.rpm

Could sysadmin please push from core/updates_testing to core/updates

Thankyou!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 7 Thomas Backlund 2012-04-11 23:45:03 CEST
Update pushed

Status: NEW => RESOLVED
Resolution: (none) => FIXED