[Dovecot] dovecot wants to access my music directory
I am getting an SELinux error every time dovecot starts, because it is trying to access my music directory (/srv/music). I've read the doveadm-mount man page, and tried:
doveadm mount add /srv/music ignore
but it didn't make any difference.
Now, I certainly didn't tell dovecot to access this directory, so how can I tell it *not* to do so.
This is dovecot-2.1.6-2.fc17.x86_64 on Fedora 17 Beta, BTW.
Thanks!
--
Ian Pilcher arequipeno@gmail.com "If you're going to shift my paradigm ... at least buy me dinner first."
On 5/10/2012 10:02 PM, Ian Pilcher wrote:
I am getting an SELinux error every time dovecot starts, because it is trying to access my music directory (/srv/music). I've read the doveadm-mount man page, and tried:
doveadm mount add /srv/music ignore
but it didn't make any difference.
Now, I certainly didn't tell dovecot to access this directory, so how can I tell it *not* to do so.
This is dovecot-2.1.6-2.fc17.x86_64 on Fedora 17 Beta, BTW.
Thanks!
Is your /srv/music shown in the output from "doveadm mount list"?
Is /srv/music referenced via a symlink from another folder - possibly a home folder?
-- Daniel
Am 14.05.2012 06:05, schrieb Daniel L. Miller:
On 5/10/2012 10:02 PM, Ian Pilcher wrote:
I am getting an SELinux error every time dovecot starts, because it is trying to access my music directory (/srv/music). I've read the doveadm-mount man page, and tried:
doveadm mount add /srv/music ignore
but it didn't make any difference.
Now, I certainly didn't tell dovecot to access this directory, so how can I tell it *not* to do so.
This is dovecot-2.1.6-2.fc17.x86_64 on Fedora 17 Beta, BTW.
Thanks!
Is your /srv/music shown in the output from "doveadm mount list"? Is /srv/music referenced via a symlink from another folder - possibly a home folder?
this is a generally problem in recent dovecot releases on modern distributions like Fedora as example and affects all sorts of sys-mountpoints as well as any fuse-mountpoint
May 6 19:44:47 mail dovecot: master: Warning: /sys/fs/cgroup/cpu is no longer mounted. If this is intentional, remove it with doveadm mount May 6 19:44:47 mail dovecot: master: Warning: /sys/fs/cgroup/cpuacct is no longer mounted. If this is intentional, remove it with doveadm mount May 6 19:47:09 mail dovecot: master: Warning: /sys/fs/cgroup/cpu is no longer mounted. If this is intentional, remove it with doveadm mount May 6 19:47:09 mail dovecot: master: Warning: /sys/fs/cgroup/cpuacct is no longer mounted. If this is intentional, remove it with doveadm mount May 7 20:09:48 mail dovecot: master: Warning: /sys/fs/cgroup/cpu is no longer mounted. If this is intentional, remove it with doveadm mount May 7 20:09:48 mail dovecot: master: Warning: /sys/fs/cgroup/cpuacct is no longer mounted. If this is intentional, remove it with doveadm mount May 13 12:19:34 mail dovecot: master: Warning: /sys/fs/cgroup/cpu is no longer mounted. If this is intentional, remove it with doveadm mount May 13 12:19:34 mail dovecot: master: Warning: /sys/fs/cgroup/cpuacct is no longer mounted. If this is intentional, remove it with doveadm mount
On Mon, 2012-05-14 at 10:21 +0200, Reindl Harald wrote:
Is your /srv/music shown in the output from "doveadm mount list"? Is /srv/music referenced via a symlink from another folder - possibly a home folder?
this is a generally problem in recent dovecot releases on modern distributions like Fedora as example and affects all sorts of sys-mountpoints as well as any fuse-mountpoint
May 6 19:44:47 mail dovecot: master: Warning: /sys/fs/cgroup/cpu is no longer mounted. If this is intentional, remove it with doveadm mount May 6 19:44:47 mail dovecot: master: Warning: /sys/fs/cgroup/cpuacct is no longer mounted. If this is intentional, remove it with doveadm mount
Previously I added every possible sysfs mount type to ignores, but looks like there are more. Now I just added everything under /sys and /proc to be ignored. You can also disable these now with:
doveadm mount add '/sys/*' ignore
On Fri, 2012-05-11 at 00:02 -0500, Ian Pilcher wrote:
I am getting an SELinux error every time dovecot starts, because it is trying to access my music directory (/srv/music). I've read the doveadm-mount man page, and tried:
doveadm mount add /srv/music ignore
but it didn't make any difference.
This removes the warning that Dovecot gives.
Now, I certainly didn't tell dovecot to access this directory, so how can I tell it *not* to do so.
Does the attached patch help? If yes, I guess I could do some changes so it isn't being called.
participants (4)
-
Daniel L. Miller
-
Ian Pilcher
-
Reindl Harald
-
Timo Sirainen