Your message dated Tue, 03 May 2011 13:08:05 +0200
with message-id <[email protected]>
and subject line Re: Bug#625303: fai ignores file "rc.local"
has caused the Debian Bug report #625303,
regarding fai ignores file "rc.local"
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
625303: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625303
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fai-client
Version: 3.4.7
Severity: normal
When trying to copy the file "rc.local", fai simply ignores the entry.
When you e.g. use a class and have some lines in the instsoft.CLASS file
like
[ -s $target/etc/hosts ] || fcopy -Bi /etc/hosts
[ -s $target/etc/rc.local ] || fcopy -Bi /etc/rc.local
fai will try to copy all files (and log the success or failure) except
for "rc.local". No log files contain any information about rc.local,
where it should at least report an error. The file rc.local is not
copied. Files named "dc.local" or "rclocal" do not trigger the problem,
so as wild as it might sound, I suspect that only a complete match with
the name "rc.local" gets ignored.
Best
Benjamin
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages fai-client depends on:
ii file 5.04-5 Determines file type using
"magic"
ii iproute 20100519-3 networking and traffic
control too
ii libapt-pkg-perl 0.1.24+b1 Perl interface to libapt-pkg
--- End Message ---
--- Begin Message ---
Hi Benjamin,
On 05/03/2011 02:27 PM, Benjamin Scherrer wrote:
> When trying to copy the file "rc.local", fai simply ignores the entry.
>
> When you e.g. use a class and have some lines in the instsoft.CLASS file
> like
>
> [ -s $target/etc/hosts ] || fcopy -Bi /etc/hosts
> [ -s $target/etc/rc.local ] || fcopy -Bi /etc/rc.local
>
> fai will try to copy all files (and log the success or failure) except
> for "rc.local". No log files contain any information about rc.local,
> where it should at least report an error. The file rc.local is not
> copied. Files named "dc.local" or "rclocal" do not trigger the problem,
> so as wild as it might sound, I suspect that only a complete match with
> the name "rc.local" gets ignored.
please read the manpage of fcopy - if you want it to report errors you
should be using -v, not -i! Furthermore, your script is almost surely
not calling fcopy at all. The postinst of the initscripts package
creates an /etc/rc.local of nonzero size if it doesn't exist. This is a
required package, therefore /etc/rc.local probably exists in your base.tgz.
This is a bug in your script, not in FAI.
Regards,
Michael
--- End Message ---