Your message dated Fri, 05 Dec 2025 11:50:15 +0000
with message-id <[email protected]>
and subject line Bug#1121778: fixed in fai 6.5.1
has caused the Debian Bug report #1121778,
regarding install_packages: will not load package_config file when class
contains dash
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.)
--
1121778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121778
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fai-client
Version: 6.4.3
Severity: important
Tags: patch
Hi!
classes containing a dash will result in package_config files for that class
not being read.
This causes fai to ignore hostname-specific package config files when hostname
contains a dash.
example:
--snip--
List of all classes: DEFAULT AMD64 DEBIAN pc-test LAST
...
install_packages: reading config files from directory
/var/lib/fai/config/package_config
install_packages: read config file DEBIAN
install_packages: executing apt-get clean
--snip--
expected behavior:
--snip--
List of all classes: DEFAULT AMD64 DEBIAN pc-test LAST
...
install_packages: reading config files from directory
/var/lib/fai/config/package_config
install_packages: read config file DEBIAN
install_packages: read config file pc-test
install_packages: executing apt-get clean
--snip--
See attached patch to fix the bug.
The previously used grep command alters data in @classes .
Thus the filename is changed to "pcÖtest" and is not read, since it does not
exist.
Please provide a fixed version of fai-client for trixie.
Thanks!
Best regards
Christian
-- System Information:
Debian Release: 13.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.57+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages fai-client depends on:
ii debconf-utils 1.5.91
ii file 1:5.46-5
ii iproute2 6.15.0-1
ii libfile-lchown-perl 0.02-4
ii perl 5.40.1-6
ii procps 2:4.0.4-9
ii zstd 1.5.7+dfsg-1
Versions of packages fai-client recommends:
ii fdisk 2.41-5
ii util-linux 2.41-5
Versions of packages fai-client suggests:
pn libgraph-perl <none>
pn logtail <none>
-- Configuration Files:
/etc/fai/fai.conf changed [not included]
-- no debconf information
--- install_packages.orig 2025-05-26 17:39:21.000000000 +0200
+++ install_packages 2025-12-02 14:11:59.525798143 +0100
@@ -143,7 +143,7 @@
@classes = grep { !/^#|^\s*$/ } split(/[\s\n]+/,$ENV{classes});
foreach (@classes) { $classisdef{$_}=1;}
# define an array of arguments for subroutine call: the class names, set to 1
-@clvar = map { $_,1 } grep { s/-/Ö/g } @classes;
+@clvar = map { $_,1 } map { s/-/Ö/gr } @classes;
warn "$0: reading config files from directory $classpath\n" if $verbose;
foreach (@classes) {
smime.p7s
Description: Kryptografische S/MIME-Signatur
--- End Message ---
--- Begin Message ---
Source: fai
Source-Version: 6.5.1
Done: Thomas Lange <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Lange <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 05 Dec 2025 12:21:57 +0100
Source: fai
Architecture: source
Version: 6.5.1
Distribution: unstable
Urgency: low
Maintainer: Thomas Lange <[email protected]>
Changed-By: Thomas Lange <[email protected]>
Closes: 1121778
Changes:
fai (6.5.1) unstable; urgency=low
.
* do not modify @classes, closes: #1121778
* fai-setup: replace invoke-rc.d with systemd commands
* Makefile: remove unused path
* package_config/DEBIAN: remove duplicate
Checksums-Sha1:
8046409cc036e459c9659d9abfe9d46c030ae9a0 2078 fai_6.5.1.dsc
5ce668021b12bd0c897746203c5efde9358db165 308676 fai_6.5.1.tar.xz
ea52edc2b6b9d830d8584cec5bb250daa03e287c 14657 fai_6.5.1_amd64.buildinfo
Checksums-Sha256:
8f77d3d5af13ab3115e0a393ac7da74f88217891529cf5e5ac94a96961c673d1 2078
fai_6.5.1.dsc
bd1eeb88aa615b4163632b240c08e4e41487d81f1e973a4a4a1579694a92897d 308676
fai_6.5.1.tar.xz
2a593dd861c64eadee1ee4c31d6f9323ec318e96b48826acbe70f646230d8867 14657
fai_6.5.1_amd64.buildinfo
Files:
ba2c112640f1115f5bedfb48ca4605b6 2078 admin optional fai_6.5.1.dsc
5f43fb5720f3a3bef0a6c1b71eec51e9 308676 admin optional fai_6.5.1.tar.xz
826024d7627f5476056d7cf131cfea74 14657 admin optional fai_6.5.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAmkywUIRHGxhbmdlQGRl
Ymlhbi5vcmcACgkQK/jZ/gdLzeT/NhAAgHyyT1PK6pPN/rPqgi/ihrohayiY1hTL
mYo18Ua1L7BuUp3zPyucI0bTviuE/Ys8sZb+pm5k30UK5gK8AfWxSWgtBsG5yNVk
npr4p8WiU38V8UbfE/QO7Hz6PkoLqdU+K0+EjIoqaNIh4g9VOLk3TuLvCHYeSESt
G8vB2NBDXVxXStst7s69HlONpzDc5ZiE7eHkb57w4s/yG4Slunmbpv8le4m883C3
LIYvGFYL/+3CWS5wH3/Kf4ADXdaqK9KR5kEUwM3lX653BD3RaNaP+iIC24QoxcPc
ea66YZg68lE7qd4xYRGchtlWg4jjSwY3lem+yQH3svKtPHN5Vb+LimZhwQU5ltRo
kHYN+ZIpMXFadwLuuvR1blir+FybO9nneTnzoESyrHxkm6PxBtHyV9bTxVznDs0p
Qa8Dzv0uiWwiLbQw2BtJPM5iFqcX/ql5sdXsqVCP13ZjJ/tBgTvjf/9Gf0gsDJmC
4+hA00TcUPiyDJsJOL5oJu8C2VwlnD5xT6WmKnzMWMgzYuikcZ6SP6eFHgoEB3RG
LnMWZZww7i0cf1fcpO6mp3TutZsMV0YRY3lLPsfeOYw1OOe+hoXfyFajOZp1+5De
XFdVktabQDWxUO7MnDYjE+tiNylRR1chVwapgoms5GTAu+lrURgdsVRmAXoqDpCK
/d6RGgdy1MM=
=u2GL
-----END PGP SIGNATURE-----
pgpTMCM27Qfma.pgp
Description: PGP signature
--- End Message ---