Menu

#301 systemd detection on rhel/centos-7 bug

v3.5.23
closed-fixed
nobody
None
5
2017-09-28
2017-07-25
No

systemd detection on rhel/centos-7 systems (which has systemd) fail since in the sripts systemdDetection function:
PIDOF_BIN="/bin/pidof"
but it's on different path on rhel/centos-7:
PIDOF_BIN="/usr/sbin/pidof"
imho it'd be better to simple run
pidof systemd
in stead of
$PIDOF_BIN systemd
that's what PATH is good for:-)

Discussion

  • Maxime Andrighetto

    Levente,

    Thank you for your email.
    That's right. We will fix this in our next release.
    In the meantime, you may edit the shell script to have the detection work
    on your system.

    Sorry for the inconvenience this may have caused.

    Best Regards,

    Maxime

    2017-07-25 18:47 GMT+09:00 Levente Farkas lfarkas@users.sf.net:


    Status: open
    Group: v3.5.23
    Created: Tue Jul 25, 2017 09:47 AM UTC by Levente Farkas
    Last Updated: Tue Jul 25, 2017 09:47 AM UTC
    Owner: nobody

    systemd detection on rhel/centos-7 systems (which has systemd) fail since
    in the sripts systemdDetection function:
    PIDOF_BIN="/bin/pidof"
    but it's on different path on rhel/centos-7:
    PIDOF_BIN="/usr/sbin/pidof"
    imho it'd be better to simple run
    pidof systemd
    in stead of
    $PIDOF_BIN systemd
    that's what PATH is good for:-)


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/wrapper/bugs/301/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     
  • Maxime Andrighetto

    Levente,

    Following your feedback, we have decided to improve the detection of some commands in the Shell script used by the Wrapper.

    For example, the location of pidof is now resolved using the system PATH, but failing that, the Wrapper will also attempt to locate it inside the bin and /usr/sbin/ directories.

    The changes we made are now available in our new release "3.5.34" which can be downloaded from sourceforge or from the following URL:

    https://wrapper.tanukisoftware.com/doc/english/download.jsp

    You may have a look at the release notes to check the other improvements included in this release:

    https://wrapper.tanukisoftware.com/doc/english/release-notes.html

    Best Regards,

    Maxime

     
  • Maxime Andrighetto

    • status: open --> closed-fixed
     

Log in to post a comment.