gluster / storhaug

High Availability (HA) setup utility for NFS-Ganesha
GNU General Public License v2.0
12 stars 9 forks source link

Debian targets use "smbd" and "nmbd" instead of "smb" and "nmb" for service names #13

Closed chrisruffalo closed 6 years ago

chrisruffalo commented 6 years ago

When attempting to use storhaug on Debian there are potential problems with the naming of the services because Debian targets use "smbd" and "nmbd" instead of "smb" and "nmb"

kalebskeithley commented 6 years ago

Nothing in storhaug tries to start smb or nmb (or smbd or nmbd) services. Not directly.

If ctdb is configured to start SMB it's ctdb that will try to start it, but that's outside of anything in storhaug. And I presume the ctdb and /etc/ctdb/* files shipped on debian and ubuntu know and use the correct service names.

Is there something specific that storhaug has got wrong on debian? I would have guessed it might need systemctl start ctdbd instead of systemctl start ctdb. But no, the ctdb in my Ubuntu bionic box is just ctdb (/etc/init.d/ctdb) and systemctl will start it from the init.d/ctdb and doesn't recognize ctdbd as a service.

chrisruffalo commented 6 years ago

This is my fault, I got confused as to where I was. I was getting this project confused with https://github.com/linux-ha-storage/storhaug/tree/master/src which appears to do what I mentioned (https://github.com/linux-ha-storage/storhaug/blob/master/src/storhaug#L318-L323). I wasn't aware of the exact relationship between the two repositories or what each one was for.

Thanks!

kalebskeithley commented 6 years ago

Yes, that's the old/original storhaug that was written using pacemaker. It's defunct AFAIC.

So I can close this issue?

chrisruffalo commented 6 years ago

Yes. Thank you. On Mon, Aug 13, 2018 at 9:45 AM kalebskeithley notifications@github.com wrote:

Yes, that's the old/original storhaug that was written using pacemaker. It's defunct AFAIC.

So I can close this issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/gluster/storhaug/issues/13#issuecomment-412523213, or mute the thread https://github.com/notifications/unsubscribe-auth/AB-jlZZFQy_IJZ0o2BD_uFm8iyIe5f4Mks5uQYMVgaJpZM4V17jW .