tech-pkg archive

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

SMF handling for removed packages



While pkgsrc automatically installs an SMF service for packages which
include a manifest when the package is installed, it doesn't seem to have
any handling for SMF when a package is removed.

The service is online and running:
# svcs -a | grep tenshi
online         20:05:50 svc:/pkgsrc/tenshi:default

The package is removed:

# pkg_delete tenshi

The service remains online and running:

# svcs -a | grep tenshi
online         20:05:50 svc:/pkgsrc/tenshi:default

However, given the files are gone, the next time the service is restarted or
the machine boots the service will drop to maintenance mode.

It seems that when an smf supported package is removed, the service should
be stopped, and removed from SMF?

Thanks.



Home | Main Index | Thread Index | Old Index