All of lore.kernel.org
 help / color / mirror / Atom feed
* rpc.gssd does not restart after package upgrade
@ 2021-05-25 13:34 Andreas Hasenack
  0 siblings, 0 replies; only message in thread
From: Andreas Hasenack @ 2021-05-25 13:34 UTC (permalink / raw)
  To: linux-nfs

Hi,

this would normally be just a linux distribution bug, and it is, but
it looks like the systemd service files and targets all come from
upstream.

While testing the fix for
https://bugzilla.redhat.com/show_bug.cgi?id=1419280 in Ubuntu, I
noticed that rpc.gssd was not being restarted in post (same thing
happens in debian). It looks like the nfs-utils.service service was
created for this task, but it has no [install] section, so it can't be
enabled. Long story short, in ubuntu/debian it's only restarted in
post if it was started before.

I then checked Fedora 33, 34 and rawhide, and saw that there it's also
not restarted, but with a tweak: the rpms try to restart
nfs-client.target, which also doesn't seem to work on a running
system, but maybe I did something wrong in enabling nfs there in the
first place (maybe I forgot to enable one of the services?). In any
case, I filed https://bugzilla.redhat.com/show_bug.cgi?id=1961322 for
that with more details.

In ubuntu I'll probably work around it by just calling "systemctl
start nfs-utils.service" in post, before the restart routines kick in
(still testing that for side effects), but since the service files
come from upstream, and the intention seemed to be for this exact
purpose (restart on pkg upgrade), I'm sending this email here looking
for guidance on how it was intended for packagers to restart all the
myriad of nfs v2/v3/v4 services on upgrade.

Thanks!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-25 13:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 13:34 rpc.gssd does not restart after package upgrade Andreas Hasenack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.