[Spacewalk-list] RHNSD silently failing on current Fedora17?

Jan Pazdziora jpazdziora at redhat.com
Sat Feb 23 09:34:13 UTC 2013


On Mon, Jan 28, 2013 at 10:56:26AM +0100, Jonathan Hoser wrote:
> 
> I'm facing a puzzling issue:
> On recent installs of a fully up-to-date Fedora17 systems
> the rhnsd deamon silently fails.
> 
> I activate it using
> #systemctl enable rhnsd.service
> ln -s '/usr/lib/systemd/system/rhnsd.service'
> '/etc/systemd/system/multi-user.target.wants/rhnsd.service'
> 
> followed by a
> # systemctl start rhnsd.service
> 
> however:
> # systemctl status rhnsd.service
> rhnsd.service - Red Hat Network Server daemon
>       Loaded: loaded (/usr/lib/systemd/system/rhnsd.service; enabled)
>       Active: inactive (dead) since Mon, 28 Jan 2013 10:49:11 +0100; 4s ago
>      Process: 28336 ExecStart=/usr/sbin/rhnsd (code=exited,
> status=0/SUCCESS)
>       CGroup: name=systemd:/system/rhnsd.service
> 
> 
> There's no entry in /var/log/messages or anywhere,
> if I start it from non-service environment (i.e. just running rhnsd) it
> will run fine,
> rerunning 'systemctl start rhnsd.service' afterwards a couple of times,
> will make systemctl pick up on the running rhnsd
> and list it as running.
> 
> Does anyone have a clue about what might be going on?
> Or steps for me to take to debug the issue?

Could you please check if applying patch

--- a/rhnsd.service
+++ b/rhnsd.service
@@ -3,6 +3,7 @@ Description=Red Hat Network Server daemon
 After=syslog.target network.target auditd.service
 
 [Service]
+Type=forking
 PIDFile=/var/run/rhnsd.pid
 ExecStart=/usr/sbin/rhnsd
 ExecReload=/bin/kill -HUP $MAINPID

fixes the problem?

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list