tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: SMF handling for removed packages

> From: Jonathan Perkin
> Sent: Wednesday, January 14, 2015 3:15 AM
> The problem is that this will break upgrades, as there is currently no
> way in pkgsrc to distinguish between an upgrade and a de-install &&
> re-install cycle, as they are the same thing.

Ah, I didn't realize that. At the very least though, as Filip suggested,
perhaps uninstalling a package should disable the service? I suppose for an
upgrade for a service that was previously enabled, that would result in a
disabled service. But for an actual uninstall, the current result is an
orphaned running service.

Perhaps the best that can be done for now would simply be a message during
the uninstall similar to the other cleanup messages suggesting they should
disable and delete the service if it will no longer be used?

Home | Main Index | Thread Index | Old Index