Re: FreeBSD Security Survey



On Tue, May 23, 2006 at 04:39:38AM +0200 I heard the voice of
Clemens Renner, and lo! it spake thus:

For example, when upgrading MySQL -- even with mysql_enable=YES in
rc.conf, portupgrade will stop the sever but not restart it. Is
there any plausible reason for this behaviour?

In the interest of correctness, it's not portupgrade that stops it,
it's the base system pkg_delete(1). The same thing would happen if
you deleted the installed package manually. See the +CONTENTS file
for the package:

@unexec %D/etc/rc.d/mysql-server.sh stop > /dev/null 2>&1 || true


--
Matthew Fuller (MF4839) | fullermd@xxxxxxxxxxxxxxx
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Upgrading the Installed package
    ... You may try portupgrade which can handle upgrades for you. ... Ruby is not included in the base system; you have to install it ... so on -- COMPLETELY separate from that of the ports base system. ...
    (freebsd-questions)
  • Re: Failure building apache22 and mysql51
    ... I recently upgraded a amd64 machine from FreeBSD-6.2-RELEASE-p11 to FreeBSD-7.0-RELEASE-p2 using the tutorial found at http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html ... All went well with the base system. ... they compiled successfully twice (once by doing portupgrade -a, and once by doing portupgrade -af - there were some complaines about some perl modules that we installed by cpan) and then a portupgrade -aPPR finished successfully... ... how do I check everything is clean and working or how do I recompile the pthread part of the system to ensure it's linked against the proper libraries? ...
    (freebsd-stable)
  • Re: portupgrade core dump fix?
    ... is there another port maintence tool equivalent? ... The actual bug is in the base system, not portupgrade. ...
    (freebsd-questions)
  • Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?)
    ... aim is precisely to do the things you want - i don't pretend it succeeds ... perfectly, there may be bugs in it, but its aim is indeed to be a substitute to ... portupgrade, with some differences. ... Portupgrade would probably be in the base system if ...
    (freebsd-hackers)
  • Re: pkg_upgrade (was Re: pkg_add does not backtrack, does it?)
    ... On Fri, 9 Feb 2007, Mike Meyer wrote: ... perfectly, there may be bugs in it, but its aim is indeed to be a substitute to ... portupgrade, with some differences. ... Portupgrade would probably be in the base system if ...
    (freebsd-hackers)