Bart Smaalders wrote: >> So how does this work for non-running roots, when the goal is to run a >> service that does some sort of cleanup (e.g. removing a cron job)? > > It doesn't.
OK, sorry, thought that was the question that was being answered. > If we want this sort of behavior, the crontab file should be composited > together at boot from fragments delivered by packages, and then > the crontab rebuilt when new (or fewer) components are found. That would be cool, but unfortunately it's not a realistic answer - there are just too many similar plug-in infrastructures to require that they all be fixed before they can be used. (BTW, the better-still answer for cron is to turn cron into an SMF restarter, so that cron jobs are SMF services. But that's a discussion for smf-discuss.) It sounds like the answer is to have the application squirrel away some unpackaged files that will clean up and self-destruct on the next reboot, or when invoked by this service-based mechanism. _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
