> @Arcady - could you check the version of bash that you're using and
> confirm that `/bin/bash` on your system isn't a symlink to `dash` or
> something?  and/or try setting the $classes variable manually to
> exclude the hostname's hyphen and test again?

Hi, Andy,

By "your system" I am taking the NFS root in which the FAI scripts run. The
NFS root is freshly generated from Debian Stretch. There /bin/bash and
/bin/dash are two distinct binaries.  I won't get to trying setting
$classes manually for a few days; I'll report when I get a chance to do
that.

# chroot /data/fai-nfsroots/xenial-x64 /bin/bash --version |head -1
GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)

root@ps2:/data/fai-nfsroots/xenial-x64/bin# stat dash bash
  File: `dash'
  Size: 117208          Blocks: 232        IO Block: 4096   regular file
Device: 10307h/66311d   Inode: 284706      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-07-19 11:39:31.414194403 -0400
Modify: 2017-01-24 00:16:56.000000000 -0500
Change: 2017-07-12 16:52:56.095031937 -0400
 Birth: -
  File: `bash'
  Size: 1099016         Blocks: 2152       IO Block: 4096   regular file
Device: 10307h/66311d   Inode: 284767      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-07-19 11:39:27.522457272 -0400
Modify: 2017-05-15 15:45:32.000000000 -0400
Change: 2017-07-12 16:52:56.235022488 -0400
 Birth: -

-- 
Arcady Genkin

Reply via email to