https://bugzilla.suse.com/show_bug.cgi?id=1222978 https://bugzilla.suse.com/show_bug.cgi?id=1222978#c4 Filippo Bonazzi <filippo.bonazzi@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS Flags| |needinfo?(xiaoguang.wang@su | |se.com) CC| |filippo.bonazzi@suse.com --- Comment #4 from Filippo Bonazzi <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. -- You are receiving this mail because: You are on the CC list for the bug.