All of lore.kernel.org
 help / color / mirror / Atom feed
From: nicolas.iooss@m4x.org (Nicolas Iooss)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 2/7] Label /var/spool/postfix/dev/ files
Date: Tue, 26 Aug 2014 18:14:49 +0200	[thread overview]
Message-ID: <53FCB279.7030607@m4x.org> (raw)
In-Reply-To: <53FB5086.1050808@tresys.com>

2014-08-25 17:04 GMT+02:00 Christopher J. PeBenito:
> On 8/23/2014 7:35 AM, Nicolas Iooss wrote:
>> On Debian, /var/spool/postfix/dev contains log, urandom and random in
>> the same types as the files in /dev.
> 
> It might make more sense for Debian to have a path substitution, rather
> than duplicating file contexts.  I'm guessing this is Postfix chrooting
> into /var/spool/postfix, so /var/spool/postfix/dev is the chroot's /dev?
> 

I just remembered something I've read when I first set up SELinux on a
Debian system.  Debian wiki says: "If you are using postfix, disable
chroot-support by running postfix-nochroot" [1].  So I guess Postfix
chrooting is not supported by Debian-SELinux developers.

Therefore I'm ok to drop this patch.  Sorry for submitting it before
checking whether chrooted Postfix configurations were supported on
SELinux-enabled Debian.

Nicolas

[1]
https://wiki.debian.org/SELinux/Setup#mail_servers_.28postfix.2Fexim.2Fetc.29

  reply	other threads:[~2014-08-26 16:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-23 11:35 [refpolicy] [PATCH 0/7] Set of small patches Nicolas Iooss
2014-08-23 11:35 ` [refpolicy] [PATCH 1/7] Label /usr/lib/networkmanager/ like /usr/lib/NetworkManager/ Nicolas Iooss
2014-08-26 13:15   ` Christopher J. PeBenito
2014-08-23 11:35 ` [refpolicy] [PATCH 2/7] Label /var/spool/postfix/dev/ files Nicolas Iooss
2014-08-25 15:04   ` Christopher J. PeBenito
2014-08-26 16:14     ` Nicolas Iooss [this message]
2014-09-17  8:00       ` Russell Coker
2014-08-23 11:35 ` [refpolicy] [PATCH 3/7] Fix typo in fs_getattr_all_fs description Nicolas Iooss
2014-08-26 13:15   ` Christopher J. PeBenito
2014-08-23 11:35 ` [refpolicy] [PATCH 4/7] Add attribute file_type to pseudo filesystem types Nicolas Iooss
2014-08-26 12:20   ` Christopher J. PeBenito
2014-08-26 14:53     ` Dominick Grift
2014-08-27 21:51       ` Nicolas Iooss
2014-08-28  7:06         ` Dominick Grift
2014-08-28  9:39           ` Dominick Grift
2014-08-29 22:26       ` Nicolas Iooss
2014-09-12 18:14         ` Christopher J. PeBenito
2014-08-23 11:35 ` [refpolicy] [PATCH 5/7] Add socket and dccp_socket to socket_class_set Nicolas Iooss
2014-08-25 15:07   ` Christopher J. PeBenito
2014-08-26 17:22     ` Nicolas Iooss
2014-08-27 17:41       ` Christopher J. PeBenito
2014-08-23 11:35 ` [refpolicy] [PATCH 6/7] Add ioctl and lock to manage_lnk_file_perms Nicolas Iooss
2014-08-26 13:15   ` Christopher J. PeBenito
2014-08-23 11:35 ` [refpolicy] [PATCH 7/7] Label (/var)?/tmp/systemd-private-.../tmp like /tmp Nicolas Iooss
2014-08-26 13:15   ` Christopher J. PeBenito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53FCB279.7030607@m4x.org \
    --to=nicolas.iooss@m4x.org \
    --cc=refpolicy@oss.tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.