Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436688 - sec-policy/selinux-vdagent-2.20120725-r5: /etc/selinux/mls/contexts/files/file_contexts: line 2319 has invalid regex /var/run/spice-vdagentd.\pid: unknown property name after \P or \p
Summary: sec-policy/selinux-vdagent-2.20120725-r5: /etc/selinux/mls/contexts/files/fil...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard: sec-policy r6
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-30 18:36 UTC by iGentoo
Modified: 2012-12-13 10:11 UTC (History)
1 user (show)

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


Attachments
/etc/selinux/mls/contexts/files/file_contexts (file_contexts,140.68 KB, text/plain)
2012-09-30 18:36 UTC, iGentoo
Details
vdagent-typo.patch (vdagent.patch,636 bytes, patch)
2012-09-30 18:39 UTC, iGentoo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description iGentoo 2012-09-30 18:36:47 UTC
Created attachment 325404 [details]
/etc/selinux/mls/contexts/files/file_contexts

>>> Installing (1 of 1) sys-libs/libsepol-2.1.8
 * checking 50 files for package collisions
>>> Merging sys-libs/libsepol-2.1.8 to /
>>> Setting SELinux security labels
/etc/selinux/mls/contexts/files/file_contexts:  line 2319 has invalid regex /var/run/spice-vdagentd.\pid:  unknown property name after \P or \p
--- /lib64/
>>> /lib64/libsepol.so.1
--- /usr/
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man8/
>>> /usr/share/man/man8/chkcon.8.xz
>>> /usr/share/man/man8/genpolbools.8.xz
>>> /usr/share/man/man8/genpolusers.8.xz
--- /usr/share/man/man3/
>>> /usr/share/man/man3/sepol_check_context.3.xz
>>> /usr/share/man/man3/sepol_genbools.3.xz
>>> /usr/share/man/man3/sepol_genusers.3.xz
--- /usr/bin/
>>> /usr/bin/chkcon
--- /usr/lib64/
>>> /usr/lib64/libsepol.a
>>> /usr/lib64/libsepol.so -> ../../lib64/libsepol.so.1
--- /usr/lib64/pkgconfig/
>>> /usr/lib64/pkgconfig/libsepol.pc
--- /usr/include/
--- /usr/include/sepol/
>>> /usr/include/sepol/nodes.h
>>> /usr/include/sepol/port_record.h
>>> /usr/include/sepol/context_record.h
>>> /usr/include/sepol/roles.h
>>> /usr/include/sepol/users.h
>>> /usr/include/sepol/node_record.h
>>> /usr/include/sepol/iface_record.h
>>> /usr/include/sepol/handle.h
>>> /usr/include/sepol/booleans.h
>>> /usr/include/sepol/sepol.h
>>> /usr/include/sepol/interfaces.h
>>> /usr/include/sepol/debug.h
>>> /usr/include/sepol/user_record.h
>>> /usr/include/sepol/context.h
>>> /usr/include/sepol/policydb.h
>>> /usr/include/sepol/module.h
>>> /usr/include/sepol/ports.h
>>> /usr/include/sepol/errcodes.h
>>> /usr/include/sepol/boolean_record.h
--- /usr/include/sepol/policydb/
>>> /usr/include/sepol/policydb/flask_types.h
>>> /usr/include/sepol/policydb/hierarchy.h
>>> /usr/include/sepol/policydb/sidtab.h
>>> /usr/include/sepol/policydb/constraint.h
>>> /usr/include/sepol/policydb/expand.h
>>> /usr/include/sepol/policydb/symtab.h
>>> /usr/include/sepol/policydb/services.h
>>> /usr/include/sepol/policydb/conditional.h
>>> /usr/include/sepol/policydb/util.h
>>> /usr/include/sepol/policydb/ebitmap.h
>>> /usr/include/sepol/policydb/flask.h
>>> /usr/include/sepol/policydb/policydb.h
>>> /usr/include/sepol/policydb/module.h
>>> /usr/include/sepol/policydb/mls_types.h
>>> /usr/include/sepol/policydb/avrule_block.h
>>> /usr/include/sepol/policydb/context.h
>>> /usr/include/sepol/policydb/link.h
>>> /usr/include/sepol/policydb/polcaps.h
>>> /usr/include/sepol/policydb/avtab.h
>>> /usr/include/sepol/policydb/hashtab.h
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.


The packages which I have installed:
sys-libs/libsepol-2.1.8::hardened-dev
sys-libs/libselinux-2.1.12::hardened-dev
sys-libs/libsemanage-2.1.9::hardened-dev
dev-python/sepolgen-1.1.8::hardened-dev
sys-apps/checkpolicy-2.1.11::hardened-dev
sys-apps/policycoreutils-2.1.13::hardened-dev


emerge --info
Portage 2.2.0_alpha134 (hardened/linux/amd64/selinux, gcc-4.7.2, glibc-2.16.0, 3.6.0-rc7-custom x86_64)
=================================================================
System uname: Linux-3.6.0-rc7-custom-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.2
Timestamp of tree: Sun, 30 Sep 2012 14:30:01 +0000
ccache version 3.1.8 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3, 4.7.2::custom
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo systemd hardened-dev custom
Installed sets: @local-boot, @local-protected, @local-selibs
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/emul /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage/sets /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize"
DISTDIR="/usr/local/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--sort-section=alignment"
LINGUAS="en en_US zh zh_CN"
MAKEOPTS="V=1 -j10"
PKGDIR="/usr/local/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9ef"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--ipv4"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/systemd /var/lib/layman/hardened-development /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 audit bash-completion berkdb bzip2 c++0x cairo caps cli cracklib crypt custom-cflags cxx dbus dri ffmpeg gdbm gmp gnome gpm gtk gtk3 hardened iconv icu ipv6 jit jpeg jpeg2k justify lzma mmx modules mudflap multilib ncurses nls nptl open_perms opengl openmp orc pam pcre png pppd pulseaudio qt4 readline selinux session sse sse2 ssl svg systemd tcpd threads tiff udev unicode urandom vim-syntax xattr xinetd zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="bootchart btrfs caps dmsquash-live gensplash livenet lvm nfs ssh-client syslog systemd" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm mips64el x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, USE_PYTHON
Comment 1 iGentoo 2012-09-30 18:39:33 UTC
Created attachment 325406 [details, diff]
vdagent-typo.patch
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2012-10-03 20:22:56 UTC
It's been fixed in refpolicy already since, so will be part of rev6
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-03 17:38:56 UTC
In hardened-dev, r6 release
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2012-11-18 15:26:59 UTC
In main tree, ~arch'ed
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2012-12-13 10:11:04 UTC
r8 is now stable