Public bug reported: The AppArmor profile contained in this package allows read access to a configuration file at `@{HOME}/.config/redshift.conf` (see https://git.launchpad.net/ubuntu/+source/redshift/tree/data/apparmor/usr.bin.redshift.in?h=applied/ubuntu/devel#n39). However, the correct path would be `@{HOME}/.config/redshift/redshift.conf` (see https://github.com/jonls/redshift?tab=readme-ov-file#how-do-i-setup-a- configuration-file). Note the additional `redshift` subdirectory inside the `.config` directory.
With the current profile, putting a config file in the location as specified by Redshift documentation, the file cannot be opened and is therefore ignored by Redshift. A workaround is putting the file in the location specified in the AppArmor profile, as it seems that Redshift is also looking for a file in that location (though not documented). Ideally, the AppArmor profile should be changed to allow access to the config file location as specified in the Redshift documentation. It might also make sense to keep the existing access in the profile to the file in the undocumented location for backwards compatibility. ** Affects: redshift (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2069545 Title: Path to redshift.conf incorrect in AppArmor profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/redshift/+bug/2069545/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs