Hi,

I have some remarks to this bug. First, I think it can be merged with #309554, 
which severity should be raised at least to important... 

(But) #309554 deals with both the FAI_CONFIGDIR (currently defaults  
to /usr/local/share/fai) and NFSROOT (defaults to /usr/lib/fai/nfsroot) - 
both variables are set in /etc/fai/fai.conf resp. fai-nfsroot.conf.

As I've said in #309554 I strongly believe /srv/ should be used for both. I 
like to add now, that IMO - if /srv is a policy violation at the moment 
(vorlon, what is your statement/guess regarding FHS 2.3 and etch ?) - this 
should be changed to /var/lib/fai and changed again later. Thomas, I really 
dont think (anymore) that it's a good idea to keep important bugs open for >2 
years, just because you don't want to change it twice.

My rationale for not having NFSROOT in /usr is that it is supposed to be 
changed during normal operation (creating, upgrading, adding packages to it) 
- quoting file:/usr/share/doc/debian-policy/fhs/fhs.html/fhs-4.html : "Any 
information that is host-specific or _varies_with_time_ is stored 
elsewhere." (Emphasis mine.)

On Friday 25 November 2005 17:10, Stephen Gran wrote:
> So long as the files aren't shipped in the .deb, and only put in /srv
> when an admin runs the tool, then I think that is exactly the place for
> them to go.  My only worry was that fai-setup was being invoked
> automatically, or that the files were being proposed to be shipped in
> the .deb.  Both of those scenarios would be wrong.

Well, the upcoming fai-quickstart packages postinst copies the simple examples 
to FAI_CONFIGDIR...

Currently there is not code in trunk  (for the quickstart package) to setup 
the nfsroot, but we want this, too.

I do find nothing in 
http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM
which says its only up to the local admin to populate /srv, it only says, no 
program should rely on a specific structure in it. Which fai doesnt do, as 
it's configurable thru variables.


Summary what I think should be done:
- raise #309554 to serious 
- raise #340608 to serious again
- merge #309554 and #340608
- change default setting of NFSROOT to /var/lib/fai/nfsroot, maybe 
even /var/lib/fai/nfsroot/$ARCH
- change default setting of FAI_CONFIGDIR to /var/lib/fai/config
- close the bug
- when FHS 2.3 is required by policy, change those paths to /srv


regards,
        Holger

Attachment: pgpGop2wKnokO.pgp
Description: PGP signature

Reply via email to