Your message dated Mon, 07 Nov 2022 00:20:14 +0000
with message-id <e1orps6-003now...@fasolo.debian.org>
and subject line Bug#985303: fixed in fai 6.0~alpha24
has caused the Debian Bug report #985303,
regarding fai-client: fcopy -DSBHir -M / fails with exitcode 2 on tree with 
symlinks which applies only on target system after installation
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 ow...@bugs.debian.org
immediately.)


-- 
985303: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985303
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: fai-client
Version: 5.10.1
Severity: normal

Dear Thomas,

how described in subject on trying to do fcopy -DSBHir -M / with
really small config:

shell.log:
=====   shell: SCRIPTS_DEBIAN/10-fcopy   =====
+ error=0
+ trap 'error=$(($?>$error?$?:$error))' ERR
+ set -vx
fcopy -DSBHir -M /
:
:
using class: FILES_SYSTEMD_X11VNC_ENABLED
Enable substitution. Copying
/var/lib/fai/config/files/etc/systemd/system/graphical.target.wants/x11vnc.service/FILES_SYSTEMD_X11VNC_ENABLED
to /tmp/fcopy.jOGZOd at /usr/sbin/fcopy line 147.
fcopy: can't open
/var/lib/fai/config/files/etc/systemd/system/graphical.target.wants/x11vnc.service/FILES_SYSTEMD_X11VNC_ENABLED
error=$(($?>$error?$?:$error))
++ error=2

exit $error
+ exit 2
SCRIPTS_DEBIAN/10-fcopy FAILED with exit code 2.



It would be nice, if fcopy would just give you a warning and continue if file 
is symlink to not existing file, before doing substitution.



As workaround I'm using now second fcopy job with only substitution
on given files and first fcopy without substitution:

fcopy -DBHir -M /
fcopy -DSBHir -M /etc/apt/


Best Regards,
Juri Grabowski

--- End Message ---
--- Begin Message ---
Source: fai
Source-Version: 6.0~alpha24
Done: Thomas Lange <la...@debian.org>

We believe that the bug you reported is fixed in the latest version of
fai, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 985...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Lange <la...@debian.org> (supplier of updated fai package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 01 Nov 2022 10:35:51 +0100
Source: fai
Architecture: source
Version: 6.0~alpha24
Distribution: experimental
Urgency: low
Maintainer: Thomas Lange <la...@debian.org>
Changed-By: Thomas Lange <la...@debian.org>
Closes: 844377 951659 977832 985303 987779 989547 990211 990633 999739 1000572 
1005745 1006847 1010593 1010906 1011642 1020976
Changes:
 fai (6.0~alpha24) experimental; urgency=low
 .
   [ Thomas Lange ]
   * fai-do-scripts: write output of all scripts to scripts.log,
     remove code for old cfengine versions (1 and 2)
   * fai-make-nfsroot: drop support for .asc files, use only .gpg
   * add autopkgtest
   * install_packages: add release=<name>
     feature, Closes: #844377, add pacman support
   * fetch-basefile: use curl instead of lftp for downloading
   * Commands.pm: special handling of nvme devices, Closes: #999739, quote
     variables, Closes: #977832, remove old code need by old version of
     mkfs.btrfs and lvcreate
   * fai-mk-network: usie iproute commands instead of brctl
   * fai-make-nfsroot: add dracut modul network-legacy, Closes: #1010906
     do not kill dhclient, Closes: #987779, drop support for dracut < 049,
     patch udev rule of lvm for bullseye, include empty machine-id into
     base.tar
   * Exec.pm: better error message, Closes: #1005745
   * fcopy: handle broken symlinks, Closes: #985303
   * fai-chboot: add variable substitution when coping a template, add
     option -a
   * fai-class: use of .source scripts now emits an error
   * fai-kvm: add -M for creating NVMe devices
   * fai-mirror: use only first line of bpo in sources.list,
     Closes: #1006847, print number of packages inside the mirror
   * fai-diskimage: call losetup with -P, Closes: #1010593, do not remove
     VGs, deactivate them, Closes: #990633, add option -c, print error if
     umount fails, increase number of tries
   * fai-cd: set TMPDIR for chroot, Closes: #1000572
   * fai-setup: create ECDSA keys
   * Fstab.pm: support tmpfs size -, this uses the system default size for
     tmpfs, Closes: #951659
   * setup-storage: add support for fstabkey:partlabel and
     fstabkey:partuuid, remove crypto keyfile after use
   * enhance disk_config format for partition label support
   * ftar: add support for zstd
   * fai: check if unshare can be used, Closes: #989547
     use only IPv4 address as hostname
     remove code for deprecated taskname prepareapt
   * watch: update to version 4, use new url
   * install_packages: parse apt-cache output, Closes: #990211
   * subroutines: umount tmpfs if config space was downloaded via http,
     Closes: #1011642
   * task_sysinfo: print machine readable partition information, do not
     call commands that modify the system if no run in FAI environment,
     print battery information
   * subroutines: add help functions:
       ctam (Chroot TArget Mount pseudo filesystems)
       ctau (Chroot TArget Umount)
       ctai (Chroot TArget Into)
       rm_target (remount /target read-write)
   * NFSROOT: cleanup package list, add cryptsetup
   * update my email address
   * mk-basefile: remove /var/lib/dbus/machine-id, use zstd instead of gzip
   * simple/examples: use fai-link and fai-sed instead of ln and sed,
     remove cryptsetup passphrase from logs, use class ROCKY instead of
     CENTOS, update Ubuntu support to 22.04, add CLOUD_EFI, use ext4 for
     /boot in LVM examples
   * get-boot-info: set NIC1 even if no network is used during installation
 .
   [ Mike Gabriel ]
   * fai-abort:give job control to bash, Closes: #1020976
 .
   [ Juri Grabowski ]
   * install_packages: add support for alpine Linux apk and
     Archlinux pacman
 .
   [ Guido Günther ]
   * subroutines: allow one to pass a debootstrap script in FAI_DEBOOTSTRAP
 .
   [  Christian Meyer ]
   * fai-setup: add ECDSA-key to known_hosts
 .
   [ Aki Tuomi ]
   * check-cross-arch: fail on errors and unbound variables
 .
   [ Hannes Eberhardt ]
   * package_config/ROCKY: update EFI packages
Checksums-Sha1:
 b0d8ec2f61af530898db9825f3ff73a454efc80d 2094 fai_6.0~alpha24.dsc
 07583430bf6aebbb2acd34f1a2d808a4c9a181eb 292820 fai_6.0~alpha24.tar.xz
 6b65be2e4475a1950046afc99b1deae73fafff37 16335 fai_6.0~alpha24_amd64.buildinfo
Checksums-Sha256:
 d0f2b0364318d1862917dd77dc5ee568d25251f138aeceaeef12be82f3a07a6a 2094 
fai_6.0~alpha24.dsc
 112b5cd06baedb7e0616183cc2bc53e6590e5fe6f5cd2909ad89cf9574d586e1 292820 
fai_6.0~alpha24.tar.xz
 7bf83ef98d57b4a298a54ad0316a2caaabc85a457db2d297974003a03e34f49c 16335 
fai_6.0~alpha24_amd64.buildinfo
Files:
 477efbde462111eda05c0bf87a4b69dd 2094 admin optional fai_6.0~alpha24.dsc
 43e9469ea26df715fa4aec3548df1811 292820 admin optional fai_6.0~alpha24.tar.xz
 b357b1a22fffc8eabc481d37f237a318 16335 admin optional 
fai_6.0~alpha24_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAmNoOQwRHGxhbmdlQGRl
Ymlhbi5vcmcACgkQK/jZ/gdLzeQO3RAAmVUbcFL+kh8F8gNGQyVISx2CUvhrcdZ0
x1lSdUcOZfaQzl2NFgV2oer4W/P+J9bpTG4dr0RUeR9YpsxDz15QOpJPZsw1OSCi
xgca5gGGSi/aZ3Wf+y42n6vHUOGZyxQvw8pcYeJHyXdejVf5UpPcNZoDjoZQHhKc
T0lleH5Dyg0+MoTZl8lWbC+SbXpNGDXkCNztNfhK1Oz/hyb8KeBmTKXH1LR4i5rx
hkGQfXwCWRtl+YgZtP5HJmP4L7aXrF+8O8neA5WaMe78jNQaV/TQ/jo6E1p2jG6j
bzSZtJjZYUL/fCnlFziJPwDAxf6G5AbOOwqg/hLIv+8Y+PkYWle6l3DyAP9YV41K
/GM7FEkkS/lSlJCUTlD7/0B80HB1W3cprpQGkIMwwjHyI4u5P35GlsVq8eKSqm6v
l+VJLqvH0kRnA63qLPxhtpB4RaxeXDVLyowYrc/+mByqIy9m5iVENNesRqr8lGmM
3u3R8rDDm5k4FONfdGt1vLOB3P3M/nsQlBUGFbTfZoYeR34adpoe/8y3WydaveDt
BGWlBhIWoYOxRb023B5nJ06V3fLfpNOAdJ7SQQa3tlBQM3EdPYNL1H5eI4D1eUaF
GxQh/oCB+4wmCCTWvL+LsStlzCLes8tqIdNjemmql1eU2ZyqTXx41ZKVRSdq4RjC
ZJrb3Ohhs6w=
=wUoe
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to