[pca] Option -H supresses reboot information

Christoph Litauer litauer at uni-koblenz.de
Thu Aug 28 14:55:22 CEST 2008


Martin Paul schrieb:
> Christoph Litauer wrote:
>> I used to use option --noheader (-H) in my pca wrapper script ... and
>> wondered why my machines didn't even reboot after a kernel patch. As far
>> as I debugged it --noheader suppresses "reconfigure" or "reboot"
>> messages at all. The manpage doesn't mention that, I think it should?
> 
> You're right, the man page wasn't clear about it. I've fixed it - thanks.
> 
> I must admit I've never used --noheader with anything but the default 
> (list) option. The idea was really to get a list of all patches in an 
> easily parseable format (which is configurable by the format option as 
> well) to be used in a wrapper. It never occurred to me that it could be 
> used with --download/--install.
> 
> This also brings up one of the things on my ToDo list - pca should 
> return useful exit codes; two of them could be "reboot/reconfigure 
> required". As it is now, you will have to parse pca's output in your 
> wrapper.

This is exactly what I do. But I loved the short and precise output of 
--noheader ... not really a problem. Thanks for your quick response!

-- 
Regards
Christoph
________________________________________________________________________
Christoph Litauer                  litauer at uni-koblenz.de
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2




More information about the pca mailing list