fai-savelog: upload logs in chroot jail

2024-02-20 Diskussionsfäden Maximilian Stein
Hi there, Only recently I managed to switch to Debian Bookworm and FAI 6.0.3. So far, on the FAI server side, I used a shell script to validate and restrict the log upload of fai-savelog. In particular, the user `fai` for login on the server has a custom script (fai-shell) as its login shell

install_packages: check for debian

2024-02-20 Diskussionsfäden Maximilian Stein
Hi there, to decide if it is running on a Debian system, install_packages(8) switched to checking for existence of $FAI_ROOT/var/cache/apt/pkgcache.bin a while ago [1]. Unfortunately, this does not always work in my tests with Bookworm, as the file seems to be deleted and recreated during an

Re: install_packages: check for debian

2024-02-20 Diskussionsfäden Thomas Lange
Hi Maximilian, thanks for the hint. I've already applied a patch which will be available in the next upcoming FAI version (6.2.1). regards Thomas > On Tue, 20 Feb 2024 17:31:25 +0100, Maximilian Stein > said: > Hi there, > to decide if it is running on a Debian system, install