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 at gmail.com "If you're going to shift my paradigm ... at least buy me dinner first." ========================================================================
Daniel L. Miller
2012-May-14 04:05 UTC
[Dovecot] dovecot wants to access my music directory
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
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: diff Type: text/x-patch Size: 472 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20120514/59ad47f4/attachment-0004.bin>