What | Removed | Added |
---|---|---|
Status | NEW | IN_PROGRESS |
Flags | needinfo?(xiaoguang.wang@suse.com) | |
CC | filippo.bonazzi@suse.com |
Hi @xiaoguang.wang, instead of writing the temp file to /etc/sysconfig/displaymanager.new.<somenumber>, could you write it to <some_private_temp_folder>/displaymanager.new? If you do this, we can detect the file by name and assign it the proper SELinux context upon creation. This would be the easiest and cleanest solution for us. The file context is retained when the temp file is then renamed (moved) to /etc/sysconfig/displaymanager.