Package: openafs-fileserver
Version: 1.4.2-4
Severity: normal

Well, $SUBJECT.

There are at least two reasons of that.

1) fileserver fails to [re-]create the /etc/openafs/server-local/sysid
file. It would be nice if fileserver refused to start in such a situation
(it seems to fail in a obscure fashion later anyway) and/or print some
prominent warning (something like "failed to create sysid file, expect
random failures").
         
BTW I wonder if /etc is a proper location for sysid file. FHS [1] says 
         
"The /etc hierarchy contains configuration files. A "configuration file"
is a local file used to control the operation of a program; it must be
static and cannot be an executable binary"

The sysid file is not a configuration file (according to the AFS
administratior guide it is not supposed to be modified manually)
and it is not static, so I think something like /var/lib/openafs
would be more appropriate location.

2) Salvager fails to create lock files in /etc/openafs/server-local 
(SALVAGE.fs and salvage.lock) and exits without any error messages.
First of all, some error message would be nice. Secondly, I don't 
think /etc is a proper location for lock files. 

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html

Best regards,
 Alexei

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.11-grsec-p4-smp
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages openafs-fileserver depends on:
ii  debconf [debconf-2.0]        1.5.11      Debian configuration management sy
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  openafs-client               1.4.2-3     AFS distributed filesystem client 

Versions of packages openafs-fileserver recommends:
ii  ntp                    1:4.2.2.p4+dfsg-1 Network Time Protocol daemon and u

-- debconf information:
  openafs-fileserver/thiscell: diastp.jinr.ru
  openafs-fileserver/bosconfig_moved: true
  openafs-fileserver/alpha-broken:

-- 
All science is either physics or stamp collecting.

Attachment: signature.asc
Description: Digital signature

Reply via email to