On Mon, May 09, 2011 at 01:17:03PM +0200, Ingo Schwarze wrote:
> Clearly, at least part of daily(8) has to be rewritten in Perl,
> and clearly, the ROOTBACKUP handling is part of the part.
> 
> If we decide to just rewrite the ROOTBACKUP handling, i'd suggest
> simply moving it from daily(8) to security(8).  It is functionally
> similar to what security(8) already does (consider changelist(5)).
> Besides, one might consider backing up critical data as related
> to security.
> 
> Of course, one could also move the whole thing to perl(1),
> but right now, i see little benefit.

Does seem to have little benefit.  Perhaps a bit of inline perl for the
ROOTBACKUP bit to start?

perl <<'EOL'
# do ROOTBACKUP
EOL

 
> Regarding the question of what to move where, feedback from other
> developers is welcome.

I think what should exist in security(8) are things that tell you
important information.  ROOTBACKUP doesn't ouptut anything like that.

l8rZ,
-- 
andrew - http://afresh1.com

Instructions are just another man's opinion of how to do something. 
                      -- Weldboy #DPWisdom

Reply via email to