Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64635 - basepolicy: avc-denial on every daemon start/stop
Summary: basepolicy: avc-denial on every daemon start/stop
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chris PeBenito (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-19 06:35 UTC by Sören Lorenz
Modified: 2004-09-22 05:20 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 Sören Lorenz 2004-09-19 06:35:12 UTC
Every time i start/stop a daemon by init scripts i get this:

base-policy-20040906

avc:  denied  { search } for  pid=16502 exe=/sbin/unix_chkpwd name=selinux dev=hda2 ino=150692 scontext=root:sysadm_r:sysadm_chkpwd_t tcontext=system_u:object_r:policy_config_t tclass=dir

bash-2.05b# find /etc -inum 150692
/etc/security/selinux

It seems to have no obvious negative consequences.
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2004-09-19 07:12:28 UTC
are you doing this while your current directory is in /etc/security/selinux/ (or farther in)?  That will cause a denial like this.
Comment 2 Sören Lorenz 2004-09-19 12:41:04 UTC
No, it also happens when i'm doing this in other directories. Petre already pointed me on this.
Comment 3 Sören Lorenz 2004-09-22 05:20:06 UTC
You shall not create symlinks called "selinux" in your /etc. Name it something else!

It gets labeled selinux_config_t, so every program accessing /etc produces avc-denials.

Sorry for bothering you with such a stupid thing.

Regards,

S
Comment 4 Sören Lorenz 2004-09-22 05:20:06 UTC
You shall not create symlinks called "selinux" in your /etc. Name it something else!

It gets labeled selinux_config_t, so every program accessing /etc produces avc-denials.

Sorry for bothering you with such a stupid thing.

Regards,

Sören Lorenz