Bug#786435: dpkg: SELinux label not properly set for file that have a dpkg-statoverride entry

2015-05-22 Thread Laurent Bigonville
Hello, I guess the same kind of bit operation should be done in the tarobject() function in the following code? if (nifd-namenode-statoverride) st = nifd-namenode-statoverride; else st = ti-stat; Cheers, Laurent Bigonville Le Thu, 21 May 2015 21:55:39 +0200, Laurent Bigonville

Bug#786435: dpkg: SELinux label not properly set for file that have a dpkg-statoverride entry

2015-05-22 Thread Guillem Jover
Hi! On Fri, 2015-05-22 at 13:53:47 +0200, Laurent Bigonville wrote: Le Thu, 21 May 2015 21:55:39 +0200, Laurent Bigonville a écrit : Le Thu, 21 May 2015 21:15:50 +0200, Guillem Jover a écrit : Right, could you try the attached patch to see if it works on a SE Linux system? The patch

Bug#786435: dpkg: SELinux label not properly set for file that have a dpkg-statoverride entry

2015-05-22 Thread Laurent Bigonville
Hello, Looks OK now, thanks for the patch Cheers, Laurent Bigonville Le Fri, 22 May 2015 15:39:40 +0200, Guillem Jover guil...@debian.org a écrit : Hi! On Fri, 2015-05-22 at 13:53:47 +0200, Laurent Bigonville wrote: Le Thu, 21 May 2015 21:55:39 +0200, Laurent Bigonville a écrit : Le

Bug#786435: dpkg: SELinux label not properly set for file that have a dpkg-statoverride entry

2015-05-21 Thread Guillem Jover
Hi! On Thu, 2015-05-21 at 19:11:22 +0200, Laurent Bigonville wrote: Package: dpkg Version: 1.18.0 Severity: important User: selinux-de...@lists.alioth.debian.org Usertags: selinux When the dbus package is installed, it seems that the SELinux label for

Bug#786435: dpkg: SELinux label not properly set for file that have a dpkg-statoverride entry

2015-05-21 Thread Laurent Bigonville
Le Thu, 21 May 2015 21:15:50 +0200, Guillem Jover guil...@debian.org a écrit : Hi, [...] Right, could you try the attached patch to see if it works on a SE Linux system? The patch is indeed working properly for dpkg-statoverride. I guess a similar patch should be added for dpkg itself.

Bug#786435: dpkg: SELinux label not properly set for file that have a dpkg-statoverride entry

2015-05-21 Thread Laurent Bigonville
Package: dpkg Version: 1.18.0 Severity: important User: selinux-de...@lists.alioth.debian.org Usertags: selinux Hi, When the dbus package is installed, it seems that the SELinux label for /usr/lib/dbus-1.0/dbus-daemon-launch-helper is not properly set. Investigating a bit further it seem that