Ticket #186 (closed enhancement: fixed)
debathena-afs-config should `fs newcell` in postinst
Reported by: | broder | Owned by: | broder |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | ||
Upstream bug: |
Description
If AFS is in use in any way when afs-config is upgraded, it'll fail to restart. If we're pushing updates to the CSDB, that means that the updates won't get taken until after a reboot (or a manual openafs-client restart).
It'd be cool if the postinst went through and ran fs newcell for each cell in the new CSDB.
Change History
Note: See
TracTickets for help on using
tickets.
I wonder if afs-config's postinst should also schedule a reboot if restarting openafs-client fails?
It looks like you're supposed to do that by running /usr/share/update-notifier/notify-reboot-required, although that doesn't seem to generally exist on non-ubuntu-desktop systems. That script just touches /var/run/reboot-required, which is what debathena-auto-update keys off of to trigger a reboot.
So maybe something like
The fs newcell loop should be sufficient for most cases, since usually updates to afs-config just change the CSDB. Maybe have an easy way to trigger a reboot on specific upgrades?