OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: detect if a flag-day has happened in the meanwhile

From: Han Boetes (hanmijncomputer.nl)
Date: Sun Oct 02 2005 - 23:08:12 CDT


STeve Andre' wrote:
> On Sunday 02 October 2005 20:41, Han Boetes wrote:
> > I am wondering if there is a good way to check if a flag-day
> > has passed if you have both the new and old kernel. How can I
> > check that?
>
> Um, given that a flag day is a code change,

Obviously, but a specific code change. One in the kernel. If I'm
not mistaken a syscall has changed, so if you'd attempt to upgrade
your system without rebooting you'd get a message like ``invalid
syscall'' while untarring.

> the only way I know of is to 1) subscribe to the cvs changes
> mailing list and read it.

I am.

> and 2) Look at the upgrade FAQ often.

Not necessary since I use 1)

But this is not for me. This is to automate a sysadmin task. So
I'd like to automate detecting a ``flag day.''

# Han