Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698732 - x11-misc/redshift-1.12-r2 : install apparmor profile
Summary: x11-misc/redshift-1.12-r2 : install apparmor profile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-28 09:15 UTC by lekto
Modified: 2019-11-24 23:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2019-10-28 09:15:39 UTC
Hi, I have noticed that redshift have apparmor profile, but it's disabled in ebuild. I enabled it, but it failed to load it because of lack of a /etc/apparmor.d/local/usr.bin.redshift file, after touching the file profile was successfully loaded and looks like it's working.
Comment 1 Sebastian Pipping gentoo-dev 2019-10-28 13:00:35 UTC
Hi! I'm new to AppArmor. Are you saying that all that's needed is copying file appveyor.yml to /etc/apparmor.d/local/usr.bin.redshift in the ebuild?
Comment 2 lekto 2019-10-28 21:48:13 UTC
I'm not familiar with appveyor, the only things I done was changed "--disable-apparmor" to "--enable-apparmor" in ebuild and create empty file /etc/apparmor.d/local/usr.bin.redshift.
Comment 3 Larry the Git Cow gentoo-dev 2019-11-24 23:23:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8afc8263b9ee22ecf1fd1494cc7b7388a612739

commit a8afc8263b9ee22ecf1fd1494cc7b7388a612739
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2019-11-24 23:22:19 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2019-11-24 23:23:20 +0000

    x11-misc/redshift: AppArmor + python_optimize
    
    Closes: https://bugs.gentoo.org/698732
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-2.3.78, Repoman-2.3.16

 x11-misc/redshift/redshift-1.12-r3.ebuild | 88 +++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)