Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
msyslog logging DHCP from a chroot environment
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu Jan 08, 2004 6:22 pm    Post subject: msyslog logging DHCP from a chroot environment Reply with quote

I'd like to follow the directions I received when building the chroot environment suggested by the latest DHCP ebuild, but I'm not sure what they mean. Could someone tell me how to make msyslog listen on DHCP (or point me to a doc that I couldn't find)?

Code:
$ ebuild /var/db/pkg/net-misc/dhcp-3.0_p2-r2/dhcp-3.0_p2-r2.ebuild config
 * Setting up the chroot directory...                                           [ ok ]
 * To enable logging from the DHCP server, configure your
 * logger (app-admin/msyslog-1.09a-r1) to listen on /chroot/dhcp/dev/log

_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Jan 08, 2004 9:21 pm    Post subject: Reply with quote

I don't know about msyslog, but here's the relevant line from my syslog-ng

Code:

source src { unix-dgram("/dev/log"); internal(); file("/proc/kmsg" log_prefix("kernel: ")); udp(); unix-dgram("/chroot/dhcp/dev/log"); };
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu Jan 08, 2004 9:23 pm    Post subject: Reply with quote

UberLord wrote:

Code:

source src { unix-dgram("/dev/log"); internal(); file("/proc/kmsg" log_prefix("kernel: ")); udp(); unix-dgram("/chroot/dhcp/dev/log"); };


Yikes, does that come from you syslog.conf?
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Fri Jan 09, 2004 11:27 am    Post subject: Reply with quote

That's a syslog-ng conf entry, quite a different beast (and the best sysloger IMHO)
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Jan 09, 2004 11:57 am    Post subject: Reply with quote

I use syslog-ng for my server and metalog for my workstation and lappy.

Haven't tried msyslog - anyone know how it compares?
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Fri Jan 09, 2004 12:48 pm    Post subject: Reply with quote

UberLord wrote:
I use syslog-ng for my server and metalog for my workstation and lappy.

Haven't tried msyslog - anyone know how it compares?


msyslog has everything I need, right down to SQL remote logging capability which I plan to need in the future. It also has a config system more like the legacy syslogs, though I understand it it a little different.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum