Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2012 09:09:08 GMT
From:      Pavel Timofeev <timp87@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/164197: smsd(comms/smstools3) doesn't read some configurations
Message-ID:  <201201160909.q0G998fX052731@red.freebsd.org>
Resent-Message-ID: <201201160910.q0G9A9Rv044695@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201160909.q0G998fX052731>