Re: Problems with barf and non-file logs

Michael Richardson <[email protected]>
Newsgroups gmane.network.freeswan.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Hugh" == Hugh Daniel <[email protected]> writes:
    Hugh>   This is an annoying problem, some asshole in Linux land has put a
    Hugh> named pipe as a file in /var/log!  Ghods knows what reason the fool
    Hugh> might have had, but he sure never had to sysadmin a real Unix box...

    Hugh>   So along comes me and the simple "ipsec barf" command that foolishly
    Hugh> expects files in /var/log and the egrep locks up on this fools named
    Hugh> pipe stuck in the wrong place (/var/log/popauth).  Our code locks up
    Hugh> and gets blamed.  Sigh, we should be more robust.

  Okay, barf.in, rev 1.83...
  Now does -r file -a -f file instead of -r file -a ! -d file.

  This may screw up with symlinks, but won't get hung up again.

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] [email protected] http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
  
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPj9LRYqHRg3pndX9AQEX0gP/RI69vgs29WaADYHYCgoLxv4j3rRHuD+R
/0t6BZ5H2ydbdm8W3Ig48RGK3NiycefTZY3q6aiGDiOilrRXkHucWyra0XF6bi7r
A7AMkk6sQl1FzxOnmZSc6OVsdf1wSRZx8m+xjf5mvg6KE1U7rUTqXRJbtsx5NIJA
zSsJfrFaD6c=
=dFWF
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.