ports/164197: smsd(comms/smstools3) doesn't read some configurations

Pavel Timofeev timp87 at gmail.com
Mon Jan 16 09:10:09 UTC 2012


>Number:         164197
>Category:       ports
>Synopsis:       smsd(comms/smstools3) doesn't read some configurations
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 16 09:10:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Timofeev
>Release:        FreeBSD 9.0-RELEASE i386
>Organization:
>Environment:
>Description:
I don't know why but smsd daemon doesn't work under dialer group that has been defined in rc script. 

Current ports rc script looks 
# cat /usr/local/etc/rc.d/smsd
..
..

: ${smsd_user="uucp"}
: ${smsd_group="dialer"}

rcvar=`set_rcvar`
pidfile=${smsd_pidfile}
command="/usr/local/bin/smsd"
command_args="-c${smsd_config} -p${smsd_pidfile} -i${smsd_infofile} -l${smsd_logfile} -u${smsd_user} -g${smsd_group}"

run_rc_command "$1"

# service smsd start
# ps ax | grep sms
68327  ??  Ss       0:00.00 /usr/local/bin/smsd -c/usr/local/etc/smsd.conf -p/var/run/smsd/smsd.pid -i/var/run/smsd/smsd.working -l/var/log/smsd/smsd.log -uuucp -gdialer
68328  ??  S        0:00.00 /usr/local/bin/smsd -c/usr/local/etc/smsd.conf -p/var/run/smsd/smsd.pid -i/var/run/smsd/smsd.working -l/var/log/smsd/smsd.log -uuucp -gdialer
68330   0  R+       0:00.00 grep sms


]# tail  /var/log/smsd/smsd.log
2012-01-16 13:02:43,2, smsd: Smsd mainprocess terminated. PID 68327, was started 12-01-16 13:01:48.
2012-01-16 13:05:11,2, smsd: Smsd v3.1.14 started.
2012-01-16 13:05:11,2, smsd: Running as uucp:uucp.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list