Is it really necessary for the mount unit to Requires=glusterd.service? Does restarting glusterd.service actually make the shared mount unusable?
If you remove the Requires=glusterd.service (or the Requires=shared.mount on the other unit), and restart glusterd.service, does everything carry on OK? > Other services can depend on it and because of that also get an unwanted / unplanned restart. Keep in mind that *any* unit can set Requires=<something>.service, so I am not sure this is a strong enough justification for changing the *default* needrestart.conf. Maybe others have already considered this, but it's not clear to me that this has been considered. ** Changed in: needrestart (Ubuntu Noble) Status: New => Incomplete ** Changed in: needrestart (Ubuntu Oracular) Status: New => Incomplete ** Changed in: needrestart (Ubuntu Plucky) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2085070 Title: [SRU] glusterd should not be automatically restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/2085070/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs