DragonFly BSD
DragonFly submit List (threaded) for 2003-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: rcrun: savecore and swap1 patch


From: Peter Kadau <peter.kadau@xxxxxxxxxxxxxxxx>
Date: Sun, 14 Dec 2003 22:40:43 +0100

Hi !

Committed with minor changes... your df_swap1_start() routine was broken. It needed to backtick the sysctl command and use
SYSCTL_N rather then SYSCTL, and the conditional was reversed.
This was an uninformed check on my side.
I wanted to check whether swapon was already done and
avoid redoing it because then you'll get RC_FAILED !

I'm sorry, but the code you checked in doesn't solve the problem
at hand either. Try sshd again...

What we need here are special provisions for idempotent operations
like swapon et al.
Maybe swap1 should check for the varsym on its own.
Any other idea ?

Cheers
Peter

--
<peter.kadau@xxxxxxxxxxxxxxxx>

Campus der Max-Planck-Institute Tübingen
Netzwerk- und Systemadministration

Tel: +49 7071 601 598
Fax: +49 7071 601 616




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