[Logcheck-devel] Re: [Logcheck-commits] CVS logcheck/debian

Todd Troxell ttroxell at debian.org
Sat Jan 8 09:55:49 UTC 2005


On Sat, Jan 08, 2005 at 10:20:13AM +0100, maximilian attems wrote:
> On Fri, 07 Jan 2005, CVS User ttroxell wrote:
> 
> > @@ -29,16 +29,21 @@
> >      configure)
> >  	# Add logcheck user
> >  	# check for logcheck user or bad version without home
> > +	# touch cron job on updating accounts to fix #284788
> >  	if ! getent passwd logcheck > /dev/null; then
> >  	  adduser --quiet --system --no-create-home --group \
> >  	      --home /var/lib/logcheck logcheck || true
> > +	  touch /etc/cron.d/logcheck || true
> >      	elif dpkg --compare-versions "$2" eq 1.2.19; then
> >  	   usermod -d /var/lib/logcheck logcheck > /dev/null 2>&1 || true
> > +	   touch /etc/cron.d/logcheck || true
> >  	fi
> >  	# check for logcheck in adm group
> >  	if ! getent group adm | grep logcheck > /dev/null; then
> >  	  adduser --quiet logcheck adm || true
> > +	  touch /etc/cron.d/logcheck || true
> >  	fi  
> > +
> /me thinks only the first touch is needed,
> as soon logcheck user exists, cron can't complain.
> 
> i agreee that atm logcheck is not yet fully operable,
> but that's no a big concern, as permissions have yet to be set and so on..
> on a slow machine we may risk to restart cron 3x with aboves ;-)

Yeah, good point.  Thanks.  I'll switch it to just the first.

-- 
[   Todd J. Troxell                                         ,''`.
      Student, Debian GNU/Linux Developer, SysAdmin, Geek  : :' :
      http://debian.org || http://rapidpacket.com/~xtat    `. `' 
                                                             `-     ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050108/9c7022e3/attachment.pgp 


More information about the Logcheck-devel mailing list