Enhancement #2645

Start messagebus service

Added by Davide Principi over 7 years ago. Updated over 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.5-beta3
Resolution: NEEDINFO:No

Description

nethserver-base requires the dbus package that enables the messagebus SysV service to start at boot (dbus-daemon).

However when installing NethServer from YUM this service is not started automatically (no reboot occurs).

dbus-daemon is required by NethServer::Service to probe correctly the Upstart services status.

Register messagebus as a service in Configuration DB.


Related issues

Related to NethServer 6 - Enhancement #2636: Release: add script to simplify installation from CentOS CLOSED

Associated revisions

Revision 02af5900
Added by Davide Principi over 7 years ago

Adjust messagebus (dbus-daemon) service. Refs #2645

It is required by NetServer::Service to probe Upstart services status
correctly.

Revision 403dba18
Added by Davide Principi over 7 years ago

Tell Upstart to reconnect dbus-daemon. Refs #2645

History

#1 Updated by Davide Principi over 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#2 Updated by Davide Principi over 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Test case

  • stop messagebus service:
        # service messagebus status
    
  • install the modifed version
  • check messagebus is running:
        # service messagebus status
    messagebus (pid  22971) is running...
    

#3 Updated by Davide Principi over 7 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

In nethserver-testing:
nethserver-base-1.5.0-41.0git02af5900.ns6.noarch.rpm
nethserver-base-1.5.0-42.0git403dba18.ns6.noarch.rpm

#4 Updated by Giacomo Sanchietti over 7 years ago

  • Assignee set to Giacomo Sanchietti

#5 Updated by Giacomo Sanchietti over 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 70 to 90

Before update:

[root@test ~]# service messagebus stop
Stopping system message bus:                               [  OK  ]
[root@test ~]# service messagebus status
messagebus is stopped

After update:

[root@test yum.repos.d]# service messagebus status
messagebus (pid  2720) is running...

[root@test yum.repos.d]# ps aux | grep dbus
dbus      2720  0.0  0.2  33836  1164 ?        Ssl  12:11   0:00 dbus-daemon --system

Marking as VERIFIED.

#6 Updated by Davide Principi over 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released in nethserver/6.5/base repository.

Also available in: Atom PDF