- Package:
- fai-setup-storage
- Source:
- fai-setup-storage
- Submitter:
- Stephen Quinney
- Date:
- 2024-02-07 15:27:06 UTC
- Severity:
- normal
We use the fai-setup-storage utility in a standalone way (i.e. not with the rest of FAI) as part of our local installation and configuration scripts. This has always worked perfectly up to version 6.0. With the recent changes in 6.2 the fai-disk-info script now requires /usr/lib/fai/subroutines which is in the fai-client package but there is no dependency declared. If the fai-client package is not installed setup-storage will now completely fail to run. Regards, Stephen Quinney
Actually it's worse than that. Even with the fai-client package installed I cannot run fai-disk-info With version 6.0 I get: /usr/lib/fai/fai-disk-info sda with version 6.2 I get: /usr/lib/fai/fai-disk-info bash: set_bootstick: command not found bash: once_only: command not found bash: all_disks_and_size: command not found bash: checkdisk: command not found which in turn breaks the setup-storage utility. Regards, Stephen Quinney
Hi Stephen, thanks for the report. setup-storage does not need fai-client if you use the option -D and specify the list of disks. So it's not always needed. But I will prepare a patch for it.
I can add a Depends or Recommends on fai-client for the package fai-setup-storage. What do you think is better?