[Bugs] [Bug 1292762] New: (RHEL7) S30Samba scripts do not work on systemd systems

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 18 09:58:32 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1292762

            Bug ID: 1292762
           Summary: (RHEL7) S30Samba scripts do not work on systemd
                    systems
           Product: Red Hat Gluster Storage
           Version: 3.1
         Component: gluster-smb
          Keywords: Triaged, ZStream
          Severity: medium
          Priority: medium
          Assignee: rhs-smb at redhat.com
          Reporter: madam at redhat.com
        QA Contact: storage-qa-internal at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com,
                    nlevinki at redhat.com, rjoseph at redhat.com
        Depends On: 1290604, 1292755
          Keywords: ZStream



+++ This bug was initially created as a clone of Bug #1292755 +++

+++ This bug was initially created as a clone of Bug #1290604 +++

Description of problem:

S30Samba hook scripts use /etc/init.d/smb .
But /etc/init.d/smb does not exist on systemd systems.
Using "service smb <COMMAND>" is the portable way.
It calls init scripts on sysv systems, and redirects
to systemctl on systemd systems.


Actual results:

scripts do not (re)start samba

Expected results:

scripts (re)start samba

--- Additional comment from Vijay Bellur on 2015-12-10 18:42:24 EST ---

REVIEW: http://review.gluster.org/12945 (hook-scripts: fix S30Samba scripts on
systemd systems) posted (#1) for review on master by Michael Adam
(obnox at samba.org)

--- Additional comment from Vijay Bellur on 2015-12-17 07:11:40 EST ---

COMMIT: http://review.gluster.org/12945 committed in master by Niels de Vos
(ndevos at redhat.com) 
------
commit ce3ff7e328483dffdae6ae2914924bc2380db67e
Author: Michael Adam <obnox at samba.org>
Date:   Fri Dec 11 00:37:13 2015 +0100

    hook-scripts: fix S30Samba scripts on systemd systems

    /etc/init.d/smb does not exist on systemd systems.
    Using "service smb <COMMAND>" is the portable way.
    It calls init scripts on sysv systems, and redirects
    to systemctl on systemd systems.

    Change-Id: I7146c9998a51d8b170d3321f3477e92704ae7615
    BUG: 1290604
    Signed-off-by: Michael Adam <obnox at samba.org>
    Reviewed-on: http://review.gluster.org/12945
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Anoop C S <anoopcs at redhat.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>

--- Additional comment from Vijay Bellur on 2015-12-18 04:51:07 EST ---

REVIEW: http://review.gluster.org/13000 (hook-scripts: fix S30Samba scripts on
systemd systems) posted (#1) for review on release-3.7 by Michael Adam
(obnox at samba.org)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1290604
[Bug 1290604] S30Samba scripts do not work on systemd systems
https://bugzilla.redhat.com/show_bug.cgi?id=1292755
[Bug 1292755] S30Samba scripts do not work on systemd systems
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=z8yiIsbuUZ&a=cc_unsubscribe


More information about the Bugs mailing list