Path to redshift.conf incorrect in AppArmor profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
redshift (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The AppArmor profile contained in this package allows read access to a configuration file at `@{HOME}
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.