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

Re: RFC: OpenRC as Init System for Debian

On Thu, 10 May 2012, David Weinehall wrote:
> On Wed, May 09, 2012 at 03:47:21PM +0200, Gergely Nagy wrote:
> > Such a tool would certainly be very useful, but doing it right would be
> > fairly hard, as far as I see.
> > 
> > And it would require assistance from at least the package maintainer, to
> > mark in which versions the unit file under /lib changed, so that it can
> > trigger only when appropriate and not on every upgrade.
> > 
> > (And there's possibly other corner cases to consider, but they escape me
> > right now..)
> if [ <file in etc> -ot <file in /lib> ]; then
> 	<warn user that updates might be needed
> fi

That's not enough. The timestamp of the file in a package is unrelated
to the time of its last installation.

Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/

Reply to: