Describe the bug
When trying to upgrade FOG on Debian Trixie, installfog.sh fails because lastlog isn't installed. Debian Trixie removed the lastlog command.
To Reproduce
Steps to reproduce the behavior:
- Have an existing FOG installation (1.5.10.1815) on Debian Trixie.
- Go to an existing checkout of this repository and pull it
- cd to
bin and sudo ./installfog.sh -y
installfog.sh fails with the following error:
* Configuring services
* Setting up fogproject user..................................../lib/common/functions.sh: line 1526: lastlog: command not found
Already exists
The account "fogproject" already exists and has been used to
log in to this server. We highly recommend you NOT use this
account as it is supposed to be a system account!
Please remove the account "fogproject" manually before running
the installer again, or set the system username yourself.
To remove the account run: userdel fogproject
To set a new service username run installer with:
username=<usernameForSystem> ./installfog.sh -y
Expected behavior
installfog.sh proceeds as normal, as it did prior to Debian Trixie.
Software (please complete the following information):
- FOG version: 1.5.10.1815
- FOS kernel: N/A
- OS: Debian GNU/Linux 13 (trixie)
Additional context
System has been upgraded from previous Debian versions over the years, going back to 2018.
Describe the bug
When trying to upgrade FOG on Debian Trixie,
installfog.shfails because lastlog isn't installed. Debian Trixie removed thelastlogcommand.To Reproduce
Steps to reproduce the behavior:
binandsudo ./installfog.sh -yinstallfog.shfails with the following error:Expected behavior
installfog.shproceeds as normal, as it did prior to Debian Trixie.Software (please complete the following information):
Additional context
System has been upgraded from previous Debian versions over the years, going back to 2018.