ports/144253: [PATCH] sysutils/rsyslog: -a is obsolete in rc.d script

Philip M. Gollucci pgollucci at p6m7g8.com
Wed Feb 24 05:20:06 UTC 2010


The following reply was made to PR ports/144253; it has been noted by GNATS.

From: "Philip M. Gollucci" <pgollucci at p6m7g8.com>
To: "Philip M. Gollucci" <pgollucci at freebsd.org>
Cc: <FreeBSD-gnats-submit at freebsd.org>, <keith at ridecharge.com>,
	<cristianorolim at hotmail.com>
Subject: Re: ports/144253: [PATCH] sysutils/rsyslog: -a is obsolete in rc.d
 script
Date: Wed, 24 Feb 2010 05:13:54 +0000

 missed one line
 -start_precmd="rsyslogd_precmd"
 
 needs to go too.
 
 
 
 On 02/24/10 05:09, Philip M. Gollucci wrote:
 >> Number:         144253
 >> Category:       ports
 >> Synopsis:       [PATCH] sysutils/rsyslog: -a is obsolete in rc.d script
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       low
 >> Responsible:    freebsd-ports-bugs
 >> State:          open
 >> Quarter:
 >> Keywords:
 >> Date-Required:
 >> Class:          change-request
 >> Submitter-Id:   current-users
 >> Arrival-Date:   Wed Feb 24 05:10:04 UTC 2010
 >> Closed-Date:
 >> Last-Modified:
 >> Originator:     Philip M. Gollucci
 >> Release:        FreeBSD 9.0-CURRENT amd64
 >> Organization:
 > RideCharge Inc.
 >> Environment:
 > System: FreeBSD frieza.p6m7g8.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Mon Feb 15 21:36:01 EST 2010
 >> Description:
 > sudo /usr/local/etc/rc.d/rsyslogd restart
 > Stopping rsyslogd.
 > Waiting for PIDS: 81844.
 > Starting rsyslogd.
 > error -a is no longer supported, use module imuxsock insteaderror -a is no longer supported, use module imuxsock instead
 >
 > Port maintainer (cristianorolim at hotmail.com) is cc'd.
 >
 > Generated with FreeBSD Port Tools 0.99
 >> How-To-Repeat:
 >> Fix:
 >
 > --- rsyslog-5.3.7.patch begins here ---
 > Index: files/rsyslogd.in
 > ===================================================================
 > RCS file: /home/ncvs/ports/sysutils/rsyslog5/files/rsyslogd.in,v
 > retrieving revision 1.2
 > diff -u -u -r1.2 rsyslogd.in
 > --- files/rsyslogd.in	18 Dec 2009 20:44:28 -0000	1.2
 > +++ files/rsyslogd.in	24 Feb 2010 05:08:26 -0000
 > @@ -23,56 +23,4 @@
 >   start_precmd="rsyslogd_precmd"
 >   extra_commands="reload"
 >
 > -sockfile="/var/run/rsyslogd.sockets"
 > -evalargs="rc_flags=\"\`set_socketlist\` \$rc_flags\""
 > -altlog_proglist="named"
 > -
 > -rsyslogd_precmd()
 > -{
 > -	local _l _ldir
 > -
 > -	#	Transitional symlink for old binaries
 > -	#
 > -	if [ ! -L /dev/log ]; then
 > -		ln -sf /var/run/log /dev/log
 > -	fi
 > -	rm -f /var/run/log
 > -
 > -	#	Create default list of syslog sockets to watch
 > -	#
 > -	( umask 022 ;>  $sockfile )
 > -
 > -	#	If running named(8) or ntpd(8) chrooted, added appropriate
 > -	#	syslog socket to list of sockets to watch.
 > -	#
 > -	for _l in $altlog_proglist; do
 > -		eval _ldir=\$${_l}_chrootdir
 > -		if checkyesno `set_rcvar $_l`&&  [ -n "$_ldir" ]; then
 > -			echo "${_ldir}/var/run/log">>  $sockfile
 > -		fi
 > -	done
 > -
 > -	#	If other sockets have been provided, change run_rc_command()'s
 > -	#	internal copy of $rsyslogd_flags to force use of specific
 > -	#	rsyslogd sockets.
 > -	#
 > -	if [ -s $sockfile ]; then
 > -		echo "/var/run/log">>  $sockfile
 > -		eval $evalargs
 > -	fi
 > -
 > -	return 0
 > -}
 > -
 > -set_socketlist()
 > -{
 > -	local _s _socketargs
 > -
 > -	_socketargs=
 > -	for _s in `cat $sockfile | tr '\n' ' '` ; do
 > -		_socketargs="-a $_s $_socketargs"
 > -	done
 > -	echo $_socketargs
 > -}
 > -
 >   run_rc_command "$1"
 > --- rsyslog-5.3.7.patch ends here ---
 >
 >> Release-Note:
 >> Audit-Trail:
 >> Unformatted:
 > _______________________________________________
 > freebsd-ports-bugs at freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
 > To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"
 
 
 -- 
 ------------------------------------------------------------------------
 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
 Philip M. Gollucci (pgollucci at p6m7g8.com) c: 703.336.9354
 VP Apache Infrastructure; Member, Apache Software Foundation
 Committer,                        FreeBSD Foundation
 Consultant,                       P6M7G8 Inc.
 Sr. System Admin,                 Ridecharge Inc.
 
 Work like you don't need the money,
 love like you'll never get hurt,
 and dance like nobody's watching.



More information about the freebsd-ports-bugs mailing list