[OpenAFS] Problem starting dafileserver on 1.8.2

Mark Vitale mvitale@sinenomine.net
Thu, 25 Oct 2018 13:57:31 +0000


> On Oct 25, 2018, at 7:36 AM, Neil Brown <neilb+afs@inf.ed.ac.uk> wrote:
>=20
> Hi,
>=20
> We are currently running 1.6.23 file servers. We want to upgrade to 1.8.2=
, but if I just bash on and replace the software, our dafsservers will no l=
onger start, giving errors like:
>=20
> /usr/afs/bin/dafileserver: Too many values after switch -vattachpar
>=20
> We do pass quite a few arguments to dafs. What we are currently using
> with 1.6.23 is:
>=20
> /usr/afs/bin/dafileserver -L -p 128 -rxpck 400 -busyat 600 -s 1200 -l 120=
0 -cb 500000 -b 240 -vc 1200 -allow-dotted-principals -vattachpar 128 -vlru=
thresh 240
>=20
> But as I say, the same with 1.8.2 gives the above error. If I keep the
> same arguments, but in a different order, I get a different error:
>=20
> bash# /usr/afs/bin/dafileserver  -vlruthresh 240 -L -p 128 -rxpck 400 -bu=
syat 600 -s 1200 -l 1200 -cb 500000 -b 240 -vc 1200 -allow-dotted-principal=
s -vattachpar 128
> Illegal -implicit rights character '2'.

I was able to duplicate your problem and determine that it is a bug in the =
parser definition for -vlruthresh.  If you remove that option (and the '240=
', of course), you should be able to start the fileserver.
I will submit a patch for this bug later today.

Regards,
--
Mark Vitale
mvitale@sinenomine.net