About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 11 Sep 2003 - 19:16:52 BST

On Thu, Sep 11, 2003 at 07:49:28PM +0100, ccooke_at_globalvision.com wrote:
> Is this even possible?

let me see ...

# ps auxww | grep syslog
root 10467 0.0 0.0 1700 564 ? SN Apr27 26:09 syslog-ng

yes! it is possible!
and even without CAP_SYS_ADMIN ...
what is your problem with a syslog approach?


> I don't know that part of the kernel at all well enough to be able to tell,
> but it would help me a lot.
> For reference, my system is:
> A boot CD, which works out how to get access to a master server, updates
> itself from that server and pulls down a configuration file dependant on
> the MAC.
> That script is then used to install the relevant image(s). I'm not using
> the vserver tools at all, but a set of scripts designed to pull images
> from a remote system, update them, boot them, manage them etc.
> Each image needs to run a syslog, but this seems to cause random problems
> sometimes. Unfortunately, you need CAP_SYS_ADMIN to start a syslog, which
> isn't a good idea on --secure contexts, either...
> I'll try to work out a more useful set of the problems I've found.
> (Oh, and in reference to a thread earlier - these machines *are* live.
> Not had any problem since I last rebooted them a couple of months ago)
> --
> X=80;Y=24;((Z=X*Y));O=(X+1 X X-1 1);a(){ for((p=0;p<Z;p++));do((y=p/X+1,x=p%X+\
> 1));q=${B[p]};z=0;[ $i ]||B[$p]=$(($RANDOM%3));for e in ${O[@]} ${O[@]//#/-};d\
> o(((j=p-e)>0))&&((0${B[j]}>0))&&((z++));done;c=\ ;(($z==3))&&c=1;(($z==2))&&c=\
> $q;echo -ne "\E[$y;${x}H$c";A[p]=$c;done;((i++));B=( "${A[@]}" );a;};a # ccooke

About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 11 Sep 2003 - 19:34:36 BST by hypermail 2.1.3