cron(8): openlog: ProgramName - cron

2012-04-21 Thread Andrew Pantyukhin
Hello! cron(8) is one of the rare services that puts something complicated in ident (aka progname aka programname) field of the syslog messages it sends: /usr/sbin/cron[PID]. Would anyone be against changing it to just cron to ease filtering with stock and third-party syslog daemons, expecting

Re: Introducing me!!

2008-04-22 Thread Andrew Pantyukhin
On Wed, Apr 23, 2008 at 01:47:32AM +1200, Ryan French wrote: Hi All, My name is Ryan French. I am a Google Summer of Code participant this year, and for my project I will be implementing MPLS in FreeBSD. Welcome and good luck! ___

mtree acl [patch]

2008-04-10 Thread Andrew Pantyukhin
I was surprised to learn that ACL support in our mtree is limited to a shy mention here: http://www.freebsd.org/news/status/report-dec-2001-jan-2002.html#TrustedBSD-ACLs Would something like the patch attached be feasible? I can add support for default lists, maybe restoring, etc., if the overall

Re: mtree acl [patch]

2008-04-10 Thread Andrew Pantyukhin
On Thu, Apr 10, 2008 at 10:04:38PM -0700, Tim Kientzle wrote: Andrew Pantyukhin wrote: ... ACL support in our mtree ... Also here: http://heka.cenkes.org/sat/diffs/mtree_acl.diff Could you give an example of a short mtree file that includes ACLs? I see a few minor style issues (tag names

Re: Regression tests for usr.sbin/zic and lib/libc/stdtime

2008-04-02 Thread Andrew Pantyukhin
On Wed, Apr 02, 2008 at 09:57:46AM -0400, Steven Kreuzer wrote: - (void) sprintf(fullname, %s/%s, directory, name); + (void) snprintf(fullname, sizeof(filename), %s/%s, directory, name); Has a typo crawled in?

Re: DPS Initial Ideas

2007-05-14 Thread Andrew Pantyukhin
On 5/14/07, Sean Bryant [EMAIL PROTECTED] wrote: I propose someone post on the wiki (http://wiki.freebsd.org/) This might be relevant: http://wiki.freebsd.org/Upak ___ freebsd-hackers@freebsd.org mailing list

extern C and undefined reference

2007-04-22 Thread Andrew Pantyukhin
7zip developers converted some code from C++ to C, while leaving the main stand-alone lzma app in C++. They use 'extern C { }' blocks around #include's referencing C headers. Everything compiles fine, but undefined reference errors appear at linkage. The undefined references are to the C

Re: extern C and undefined reference

2007-04-22 Thread Andrew Pantyukhin
On 4/23/07, Diomidis Spinellis [EMAIL PROTECTED] wrote: You can use nm(1) on the .o files to see where the problem comes from. Thanks! Using nm(1) I saw that the object file generated from pure C code had its symbols mangled - only then did I notice that it was being compiled with c++, not cc.

Re: Advice for Stripping the Kernel

2007-01-19 Thread Andrew Pantyukhin
On 1/19/07, aRevolutionist [EMAIL PROTECTED] wrote: I am about to almost completely strip FreeBSD's kernel. The kernel shall be stripped of sockets, drivers, memory management, and alot more. Basically, what I shall be left with is a kernel with a few system calls, only paging for memory

Re: NATD IPFW

2006-05-07 Thread Andrew Pantyukhin
On 5/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I cant seem to get something working and would really appreciate some h elp. I use IPFW and have used NAT in the past through the ipfw divert rules. But what i need to get right is simply nat for a particular host

Re: gmirror with hot spare

2006-04-30 Thread Andrew Pantyukhin
On 4/25/06, Vladimir Terziev [EMAIL PROTECTED] wrote: Hi hackers, is there a way to assign a hot spare disk/partition to a gmirror -ed disks/partitions ? There's no sense in it, is there? When we have RAID5 hot spare is needed, because we don't know what drive will fail