> > But every time fcopy is used, it complains…
> > “Can’t open /dev/null: No such file or directory”
>I guess this comes from a redirect of some output to /dev/null.
>I've checked the basefiles on
>http://fai-project.org/download/basefiles/
>
>and the debian, centos, Ubuntu basefiles have a /dev/null. But the
>opensuse basefile does not include /dev/null.
Thanks for your diagnosis.
You are right, /dev/null is missing in the opensuse basefile and that's what I
am using.
>For now you can try to fix this in a hook using mknod.
I added the mknod command ("mknod --mode=666 /dev/null c 1 3") to the
repository hook, right before calling fcopy the first time.
Strangely, it fails with "mknod: /dev/null: File exists". And then fcopy, the
very next command, still complains
“Can’t open /dev/null: No such file or directory”.
Nevertheless, /target/dev/null now is present, with the same attributes as
/dev/null .
Best,
Frank
--
Frank Morawietz
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure. If you are not the intended recipient, you
must not copy this message or attachment or disclose the contents to any other
person. If you have received this transmission in error, please notify the
sender immediately and delete the message and any attachment from your system.
Merck KGaA, Darmstadt, Germany and any of its subsidiaries do not accept
liability for any omissions or errors in this message which may arise as a
result of E-Mail-transmission or for damages resulting from any unauthorized
changes of the content of this message and any attachment thereto. Merck KGaA,
Darmstadt, Germany and any of its subsidiaries do not guarantee that this
message is free of viruses and does not accept liability for any damages caused
by any virus transmitted therewith.
Click http://www.merckgroup.com/disclaimer to access the German, French,
Spanish and Portuguese versions of this disclaimer.