A couple of minor issues on first boot

First of all, thank you very much for a very stable and sane distro! I have been running Aurora as my primary workstation for last year or so and recently installed it on other machines at my home.

On that note, I noticed a few minor issues on first boot none of which are show stoppers, but I thought it might be good to point them out in case someone else runs into them.

  1. /var/lib/setroubleshoot directory is missing which leads to the setroubleshootd service not starting properly. Had to do the below to fix…
sudo mkdir /var/lib/setroubleshoot
sudo chown setroubleshoot: /var/lib/setroubleshoot
sudo restorecon -R -v /var/lib/setroubleshoot
sudo systemctl restart setroubleshootd

Also, it might be worth installing the setroubleshoot package, which is a nice GUI tool to debug and troubleshoot selinux issues, in the base images. It is not available as a flatpak, so had to install it via rpm-ostree install.

  1. The userid and groupid are hardcodded to 1000 in /usr/lib/systemd/system/brew-<setup|update|upgrade> systemd service files. This is fine if the default user is created as is, but a problem if the user is created with a diff. uid/gid than 1000. I have a NFS server at home, and hence need the default uid/gid to be diff. that 1000. I had to fix this using below…
# From the logged in user
sudo chown -R $USER: /home/linuxbrew
sudo cp /usr/lib/systemd/system/brew-{setup,update,upgrade} /etc/systemd/system/.
# Change 1000 to the desired uid/gid in the /etc/systemd/system/brew-* scripts

  1. hostname if set during the anaconda installer is not persisted and overwritten by the transient hostname. Had to use sudo hostnamectl hostname <DESIRED HOSTNAME> to set after first boot.