ports/190269: ports-mgmt/portupgrade with pkgng does not properly restart updated daemons
Alexei
admin at skpress.ru
Mon May 26 14:40:03 UTC 2014
>Number: 190269
>Category: ports
>Synopsis: ports-mgmt/portupgrade with pkgng does not properly restart updated daemons
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 26 14:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Alexei
>Release: 9.2
>Organization:
SK Press
>Environment:
FreeBSD ns.skpress.ru 9.2-RELEASE-p6 FreeBSD 9.2-RELEASE-p6 #0: Tue May 13 08:21:53 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
After moving to pkgng portupgrade -a doesn't perform postinstall restart of rc scripts, as it instructed by pkgtools.conf:
AFTERINSTALL = {
'*' => proc { |origin|
cmd_restart_rc(origin)
},
}
In the form portupgrade -f <some port> program works as it should.
The cause of such behaviour is wrong (empty) output of enabled_rc_scripts() function when portupgrade upgrades several ports.
>How-To-Repeat:
Run portupgrade -a in the pkgng environment when more than one of installed ports needs upgrade and at least one of them installs rc script. pkgtools.conf should contain AFTERINSTALL section shown above.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list