postfix
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Carsten Grohmann
the attached patch contain some little changes on your postfix rules. I need the additional rules on my (SuSE) system and I think this changes are not SuSE specific and we could add this to postfix.te
How is the following needed? A fifo_file access to the same process is not checked for creation and usually only needs { read write } access, sometimes getattr and ioctl. I could probably make it more restrictive than rw_file_perms even...
-allow postfix_master_t self:fifo_file rw_file_perms;
+allow postfix_master_t self:fifo_file create_file_perms;
What needs the following? On my system I have no fifo's with that type, only sockets.
-allow postfix_master_t postfix_private_t:fifo_file getattr; +allow postfix_master_t postfix_private_t:fifo_file create_file_perms;
For the following, are you sure that you have the programs in the right domains?
-allow postfix_master_t postfix_prng_t:file getattr;
+allow postfix_master_t postfix_prng_t:file { getattr lock read write }; +allow postfix_master_t random_device_t:chr_file { read };
The following file_contexts line was changed recently to cover a change in the default Debian setup for Postfix, maybe this is something you need.
/usr/lib/postfix/(n)?qmgr system_u:object_r:postfix_qmgr_exec_t
What is this one used for?
+allow postfix_pickup_t self:udp_socket { create ioctl };
Could you show me some dmesg output?
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Am Sonntag, 29. September 2002 19:14 schrieb Russell Coker:
Quoted 17 lines · Carsten Grohmann
Quoted 3 lines
the attached patch contain some little changes on your postfix rules. I need the additional rules on my (SuSE) system and I think this changes are not SuSE specific and we could add this to postfix.te
How is the following needed? A
fifo_fileaccess to the same process is not checked for creation and usually only needs { read write } access, sometimes getattr and ioctl. I could probably make it more restrictive thanrw_file_permseven...(quoted diff) +1
-1-allow postfix_master_t self:fifo_file rw_file_perms; +allow postfix_master_t self:fifo_file create_file_perms;What needs the following? On my system I have no fifo's with that type, only sockets.
(quoted diff) +1
-1-allow postfix_master_t postfix_private_t:fifo_file getattr; +allow postfix_master_t postfix_private_t:fifo_file create_file_perms;
Quoted 2 lines
For the following, are you sure that you have the programs in the right domains?
Yes I think.
Quoted 7 lines
(quoted diff) +2
-1-allow postfix_master_t postfix_prng_t:file getattr; +allow postfix_master_t postfix_prng_t:file { getattr lock read write }; +allow postfix_master_t random_device_t:chr_file { read };The following
file_contextsline was changed recently to cover a change in the default Debian setup for Postfix, maybe this is something you need. /usr/lib/postfix/(n)?qmgr system_u:object_r:postfix_qmgr_exec_t
qmgr is labelling correct
Quoted 4 lines
What is this one used for?
+allowpostfix_pickup_tself:udp_socket { create ioctl };Could you show me some dmesg output?
Is attached.
Could it be that this rules are used by older postfix versions? Because I don't use the current version use 20010228pl8.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.