[Logcheck-devel] No love for Solaris SPARC?

JV jv711 at yahoo.com
Thu Sep 4 18:26:44 UTC 2008


Hello, I see the development of logcheck v1.2.45 has become Debian-specific, with Debian platform dependancies in the code for things like:

if [ ! -f /usr/bin/lockfile-create -o \
     ! -f /usr/bin/lockfile-remove -o \
     ! -f /usr/bin/lockfile-touch ]; then
    echo "fatal: lockfile-progs is a prerequisite for logcheck, and was not found."
    exit 1
fi

"lockfile-progs" is a package for Debian/Ubuntu, tho someone ported it to Solaris Nextenta x86/x64 on Intel:

http://archive.nexenta.org/elatte-testing/misc/lockfile-progs

but lockfile-progs does not exist in Solaris SPARC.


What is the feeling of the development team about a Solaris-port? ... the world has moved on and Opensolaris (Solaris 11) is my distro of choice. Logcheck 1.2.45 would be a welcome addition 'round here. I have about 1,000 servers that could use it.

Kind Regards,
JV711


-----------------------------------

[Logcheck-devel] Update for Solaris 8/9 logcheck.sh
Todd Troxell ttroxell at debian.org
Mon, 9 Aug 2004 16:36:14 -0400

    * Previous message: [Logcheck-devel] Update for Solaris 8/9 logcheck.sh
    * Next message: [Logcheck-devel] Bug#264158: logcheck-database: ntp synchronization rule too tight
    * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

On Fri, Aug 06, 2004 at 12:44:20PM -0400, Gordon Thagard wrote:
> Hello,
>=20
> it seems that Solaris 8 and 9 don't provide a proper /usr/bin/mail=20
> command. The silly thing doesn't support the "-s" option so the=20
> logcheck.sh fails with a "mail: Null names are not allowed" whenever I=20
> tried to run it. After reading the manpage for mail I realized the=20
> problem. This led me to rewriting the script and I was hoping you might=
=20
> add my changes to the src/logcheck-1.1.1/systems/sun/logcheck.sh script.=
=20
> Below is the result of my very minor improvement:
>=20
> -------------------------- cut here -----------------------------
> # If there are results, mail them to sysadmin
>=20
> if [ "$ATTACK" -eq 1 ]; then
>       echo "Subject: $HOSTNAME $DATE ACTIVE SYSTEM ATTACK!" >=20
> $TMPDIR/check.tmp
>       cat $TMPDIR/checkreport.$$ >> $TMPDIR/check.tmp
>       cat $TMPDIR/check.tmp | $MAIL $SYSADMIN
> elif [ "$FOUND" -eq 1 ]; then
>       echo "Subject: $HOSTNAME $DATE system check" > $TMPDIR/check.tmp
>       cat $TMPDIR/checkreport.$$ >> $TMPDIR/check.tmp
>       cat $TMPDIR/check.tmp | $MAIL $SYSADMIN
> fi
>=20
> # Clean Up
> rm -f $TMPDIR/check.$$ $TMPDIR/checkoutput.$$ $TMPDIR/checkreport.$$=20
> $TMPDIR/check.tmp
> -------------------------- cut here -----------------------------
>=20
> I hope your will accept my little contribution to the project. Thanks=20
> for your time.

Gordon,

I am not sure what to do with this as it's a patch against 1.1.1/Solaris, a=
nd
this project is currently Debian-native (and much evolved from 1.1.1)

I'd suggest mailing this to Sean Boran <sean at boran.com> who seems to be
maintaining an old tree on Solaris.

Cheers,

--=20
[   Todd J. Troxell                                         ,''`.
      Student, Debian GNU/Linux Developer, SysAdmin, Geek  : :' :
      http://debian.org || http://rapidpacket.com/~xtat    `. `'=20
                                                             `-     ]







      




More information about the Logcheck-devel mailing list