Re: dev/log in jail

2014-08-01 Thread Reco
On Thu, Jul 31, 2014 at 06:50:23PM +0200, Jerome BENOIT wrote: > I just want to create from command line (if possible), not mount it (via bind > or). perl -e 'use Socket; socket(SERVER, PF_UNIX, SOCK_STREAM, 0); unlink "/tmp/mysock"; bind(SERVER, sockaddr_un("/tmp/mysock")) or die $@;' PS Pleas

Re: dev/log in jail

2014-07-31 Thread Jerome BENOIT
Hello List, On 31/07/14 19:33, Sven Hartge wrote: > Jerome BENOIT wrote: >> On 31/07/14 18:52, Henrique de Moraes Holschuh wrote: >>> On Thu, 31 Jul 2014, Jerome BENOIT wrote: > >>>> I have a very naive question: how can we create a dev/log >>>> so

Re: dev/log in jail

2014-07-31 Thread Sven Hartge
Jerome BENOIT wrote: > On 31/07/14 18:52, Henrique de Moraes Holschuh wrote: >> On Thu, 31 Jul 2014, Jerome BENOIT wrote: >>> I have a very naive question: how can we create a dev/log socket, >>> similar to `/dev/log', in a chroot jail ? >> It can be

Re: dev/log in jail

2014-07-31 Thread Jerome BENOIT
Hi, On 31/07/14 18:52, Henrique de Moraes Holschuh wrote: > On Thu, 31 Jul 2014, Jerome BENOIT wrote: >> I have a very naive question: >> how can we create a dev/log socket, similar to `/dev/log', in a chroot jail ? > > It can be done through bind mounts (refer to t

Re: dev/log in jail

2014-07-31 Thread Henrique de Moraes Holschuh
On Thu, 31 Jul 2014, Jerome BENOIT wrote: > I have a very naive question: > how can we create a dev/log socket, similar to `/dev/log', in a chroot jail ? It can be done through bind mounts (refer to the mount(8) manpage) or by configuring the log daemon to listen at the extra socket.

Re: dev/log in jail

2014-07-31 Thread Reco
Hi. On Thu, Jul 31, 2014 at 06:25:38PM +0200, Jerome BENOIT wrote: > > > On 31/07/14 17:54, B wrote: > > On Thu, 31 Jul 2014 17:46:08 +0200 > > Jerome BENOIT wrote: > > > >> how can we create a dev/log socket, similar to `/dev/log', in a &g

Re: dev/log in jail

2014-07-31 Thread Jerome BENOIT
On 31/07/14 17:54, B wrote: > On Thu, 31 Jul 2014 17:46:08 +0200 > Jerome BENOIT wrote: > >> how can we create a dev/log socket, similar to `/dev/log', in a >> chroot jail ? > > The least Linux deserves from its users is them making at least > a minim

Re: dev/log in jail

2014-07-31 Thread Bzzzz
On Thu, 31 Jul 2014 17:46:08 +0200 Jerome BENOIT wrote: > how can we create a dev/log socket, similar to `/dev/log', in a > chroot jail ? The least Linux deserves from its users is them making at least a minimum of self researches about trivial questions… -- If ignorance is bliss,

dev/log in jail

2014-07-31 Thread Jerome BENOIT
Hello List, I have a very naive question: how can we create a dev/log socket, similar to `/dev/log', in a chroot jail ? Thanks in advance, Jerome -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@l

/dev/log

2005-07-04 Thread michael
I saw the following in my 'tiger' output --FAIL-- [dev002f] /dev/log has world permissions which is indeed true: $ file /dev/log /dev/log: socket $ ls -lt /dev/log srw-rw-rw- 1 root root 0 2005-06-28 13:28 /dev/log but I cannot find a manual page etc that tells me what this soc

Re: /dev/log

2001-08-29 Thread Nathan E Norman
On Wed, Aug 29, 2001 at 04:04:09PM -0400, Andrew Dixon wrote: > Hi All, > Could anyone enlighten me as to what type of file /dev/log is? ls -l > gives the following: > > [EMAIL PROTECTED]:/usr/include/linux$ ls -l /dev/log > srw-rw-rw-1 root root

Re: /dev/log

2001-08-29 Thread Miquel van Smoorenburg
In article <[EMAIL PROTECTED]>, Andrew Dixon <[EMAIL PROTECTED]> wrote: >Hi All, >Could anyone enlighten me as to what type of file /dev/log is? ls -l >gives the following: > > [EMAIL PROTECTED]:/usr/include/linux$ ls -l /dev/log > srw-rw-rw-1 roo

/dev/log

2001-08-29 Thread Andrew Dixon
Hi All, Could anyone enlighten me as to what type of file /dev/log is? ls -l gives the following: [EMAIL PROTECTED]:/usr/include/linux$ ls -l /dev/log srw-rw-rw-1 root root0 Aug 29 08:54 /dev/log ^ Specifically I was wondering what the leading &q

Re: What is /dev/log ?

2000-07-18 Thread Pavel M. Penev
On Tue, 18 Jul 2000, etienne grossmann wrote: > > Hello, > > would anyone know where the file /dev/log comes from? > > >> ls -l /dev/log > srw-rw-rw-1 root root 0 Jul 18 07:46 /dev/log > > "RTFM" is an acceptable answer

What is /dev/log ?

2000-07-18 Thread etienne grossmann
Hello, would anyone know where the file /dev/log comes from? >> ls -l /dev/log srw-rw-rw-1 root root0 Jul 18 07:46 /dev/log "RTFM" is an acceptable answer, especially if the man page is specified. Cheers, Etienne

Re: silly question about /dev/log (fwd)

1999-07-05 Thread Pere Camps
Hi! Is debian prepared for having these special kind of permissions for /dev/log? -- p. -- Forwarded message -- Date: Mon, 5 Jul 1999 13:58:56 +0100 (GMT) From: Chris Evans <[EMAIL PROTECTED]> To: Mike Johnson <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subjec

Re: sysklogd & /dev/log

1999-06-15 Thread kerkhoff
Thanks for reply, Joey. Both daemons seem to start fine, but do not seem to be logging anything. 'plog' returns nothing, probably because ppp.log is empty. Okay, /dev/log is a socket, but do you have any idea why it is not being created? -rw-r- 1 root adm 0 Ju

sysklogd & /dev/log

1999-06-15 Thread kerkhoff
For some reason sysklogd is acting up on me. Klog starts up fine, but syslog complains about /dev/log: Invalid Argument. Why?? I've looked for hours, but couldn't find why. /dev/log is named pipe that is supposed to be created by syslog. I've tried removing & purging &