Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931779 - sys-apps/policycoreutils: (rlpkg) /sbin/setfiles conflicts
Summary: sys-apps/policycoreutils: (rlpkg) /sbin/setfiles conflicts
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-12 04:15 UTC by sanomiad
Modified: 2024-06-07 01:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sanomiad 2024-05-12 04:15:30 UTC
After a long time of fighting to get SELinux to work properly, I am now facing an issue with 'rlpkg' when run after each update or pkg installation. I tried to make sense of this guide https://wiki.gentoo.org/wiki/Knowledge_Base:Conflicting_specifications_during_rlpkg but it seems vague. 

Here is the error I get when executing 'rlpkg -a -r':

Relabeling filesystem types: btrfs encfs ext2 ext3 ext4 ext4dev f2fs gfs gfs2 gpfs jffs2 jfs lustre xfs zfs
Running /sbin/setfiles -F /etc/selinux/strict/contexts/files/file_contexts / /home/myga/SEC_HDD
/sbin/setfiles: conflicting specifications for /usr/lib/debug/usr/bin/POSIX_V7_LP64_OFF64.debug and /usr/lib/debug/usr/lib64/misc/glibc/getconf/POSIX_V7_LP64_OFF64.debug, using system_u:object_r:lib_t.
Scanning for shared libraries with text relocations...
/usr/lib/python3.11/subprocess.py:1016: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  self.stdout = io.open(c2pread, 'rb', bufsize)
0 libraries with text relocations, 0 not relabeled.
Scanning for PIE binaries with text relocations...
0 binaries with text relocations detected.
Comment 1 Kenton Groombridge gentoo-dev 2024-05-14 18:35:28 UTC
It looks like the 2 files are actually the same inode. I want to look into it more but I don't have these files on my system. Do you know what package owns these?

/usr/lib/debug/usr/bin/POSIX_V7_LP64_OFF64.debug and /usr/lib/debug/usr/lib64/misc/glibc/getconf/POSIX_V7_LP64_OFF64.debug
Comment 2 sanomiad 2024-05-15 01:59:06 UTC
(In reply to Kenton Groombridge from comment #1)
> It looks like the 2 files are actually the same inode. I want to look into
> it more but I don't have these files on my system. Do you know what package
> owns these?
> 
> /usr/lib/debug/usr/bin/POSIX_V7_LP64_OFF64.debug and
> /usr/lib/debug/usr/lib64/misc/glibc/getconf/POSIX_V7_LP64_OFF64.debug

Those files are provided by 'sys-libs/glibc' package.
Comment 3 sanomiad 2024-06-07 01:45:32 UTC
I'm still getting the same messages even after upgrading to python3.12.