sambaBackend.py not using upstart

Bug #750326 reported by Kaulbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
system-config-samba (Ubuntu)
New
Wishlist
Unassigned

Bug Description

Binary package hint: system-config-samba

    def startSamba(self):
        os.system ('/usr/sbin/invoke-rc.d samba start > /dev/null')

    def restartSamba(self):
        os.system ('/usr/sbin/invoke-rc.d samba restart > /dev/null')

needs to be instead:

    def startSamba(self):
        os.system ('/sbin/initctl start smbd > /dev/null')

    def restartSamba(self):
        os.system ('/sbin/initctl restart smbd > /dev/null')

Revision history for this message
Matt Fischer (mfisch) wrote :

The code now uses service instead of initctl directly, but I'm not sure if this is really an issue.

Changed in system-config-samba (Ubuntu):
status: New → Confirmed
status: Confirmed → New
Matt Fischer (mfisch)
Changed in system-config-samba (Ubuntu):
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.