Ticket #1416 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

openafs no longer accepts AFS_DYNROOT=true

Reported by: andersk Owned by:
Priority: high Milestone: The Distant Future
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:  DebianBug:729353


As of  this change in openafs (jessie+, saucy+, and the PPA), the openafs-client initscript no longer accepts AFS_DYNROOT=true, and instead now accepts AFS_DYNROOT=Yes, unlike the other four options. The postinst tries to convert the configuration over, but that doesn’t help if debathena-afs-config is installed later. In that case, dynroot gets disabled, which causes, like,  kernel panics.

I’ve filed  DebianBug:729353 for this being dumb, but unless we can get a fix in saucy, we may need to fix debathena-afs-config to detect AFS_DYNROOT=true or AFS_DYNROOT=Yes as appropriate.

Change History

comment:1 Changed 10 years ago by jdreed

Looks like this got fixed upstream and in the PPA, however some Saucy users ended up screwed. I'll test out a new afs-config that fixes this in the postinst, but we should make sure it doesn't trigger an OMINOUS WARNING.

comment:2 Changed 10 years ago by jdreed

Well, Github is being dumb, so here's a diff:

diff --git a/debian/afs.conf.client.debathena b/debian/afs.conf.client.debathena
index 9f57054..8183da3 100644
--- a/debian/afs.conf.client.debathena
+++ b/debian/afs.conf.client.debathena
@@ -3,3 +3,11 @@ AFS_AFSDB=true
+# Clean up from a broken openafs initscript.  See Debathena #1416
+# and Debian #729353
+openafs_ver=$(dpkg-query -W -f '${Version}' openafs-client)
+if dpkg --compare-versions "$openafs_ver" ge &&
+    dpkg --compare-versions "$openafs_ver" lt 1.6.6-1~; then
+unset openafs_ver
Last edited 10 years ago by jdreed (previous) (diff)

comment:3 Changed 10 years ago by jdreed

  • Status changed from new to committed

comment:4 Changed 10 years ago by jdreed

  • Status changed from committed to development

comment:5 Changed 10 years ago by jdreed

  • Status changed from development to proposed

comment:6 Changed 10 years ago by jdreed

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.