Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347772 - sys-auth/rtkit-0.9: Failed to make ourselves RT: Operation not permitted
Summary: sys-auth/rtkit-0.9: Failed to make ourselves RT: Operation not permitted
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Arun Raghavan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-05 01:41 UTC by fkhp
Modified: 2011-01-18 05:53 UTC (History)
1 user (show)

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


Attachments
The output you've asked for (rtkit.output,9.85 KB, text/plain)
2011-01-18 03:29 UTC, Mike Lothian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-12-05 01:41:05 UTC
error message logged in /var/log/message:

Dec  5 01:26:02 gentoo rtkit-daemon[2658]: Failed to make ourselves RT: Operation not permitted
D

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-07 02:39:53 UTC
Please post your `emerge --info' in a comment.
Comment 2 fkhp 2010-12-07 12:05:29 UTC
(In reply to comment #1)
> Please post your `emerge --info' in a comment.
> 

# emerge --info rt-kit
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-ccs-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-ccs-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 06 Dec 2010 23:30:01 +0000
ccache version 3.1.3 [disabled]
app-shells/bash:     4.1_p9::<unknown repository>
dev-java/java-config: 2.1.11-r2::<unknown repository>
dev-lang/python:     2.6.6-r1::<unknown repository>, 2.7.1::<unknown repository>, 3.1.3::<unknown repository>
dev-util/ccache:     3.1.3::<unknown repository>
dev-util/cmake:      2.8.1-r2::<unknown repository>
sys-apps/baselayout: 2.0.1-r1::<unknown repository>
sys-apps/openrc:     0.6.7
sys-apps/sandbox:    2.4::<unknown repository>
sys-devel/autoconf:  2.13::<unknown repository>, 2.68::<unknown repository>
sys-devel/automake:  1.9.6-r3::<unknown repository>, 1.10.3::<unknown repository>, 1.11.1::<unknown repository>
sys-devel/binutils:  2.20.1-r1::<unknown repository>
sys-devel/gcc:       4.4.5::<unknown repository>, 4.5.1-r1::<unknown repository>
sys-devel/gcc-config: 1.4.1::<unknown repository>
sys-devel/libtool:   2.4-r1::<unknown repository>
sys-devel/make:      3.82::<unknown repository>
virtual/os-headers:  2.6.36.1::<unknown repository> (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.netnitco.net/ "
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US zh en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/vmware /var/lib/layman/gentoo-china /var/lib/layman/gentoo-taiwan /var/lib/layman/sunrise /var/lib/layman/gnome /var/lib/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 ao apache2 avahi bash-completion berkdb branding bzip2 cairo caps cdr cjk cli clutter consolekit cracklib crypt cups cxx dbus dga djvu dri dts dvd dvdr eds emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk guile i18n iconv icu ipv6 jadetex java jpeg jpeg2k latex lcms ldap libnotify mad midi mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nas nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pch pcre pda pdf perl php png policykit ppds pppd pulseaudio python qt3support qt4 readline samba scsi sdl session smp snmp spell sqlite sse sse2 sse3 ssl ssse3 startup-notification suid svg sysfs tcpd threads tiff tk truetype unicode usb v4l2 vim-syntax vorbis x264 xattr xcb xml xmp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ens1370 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US zh en" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmwgfx vmwlegacy nouveau nvidia nv vmware vesa svga" XTABLES_ADDONS="cui gfw zhang ipset" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2010-12-10 05:24:24 UTC
Can you please provide sll output in syslog pertaining to rtkit-daemon. Also, do you have any custom limits in /etc/security/limits.conf ?
Comment 4 fkhp 2010-12-10 11:37:16 UTC
(In reply to comment #3)
> Can you please provide sll output in syslog pertaining to rtkit-daemon. Also,
> do you have any custom limits in /etc/security/limits.conf ?
> 
# grep rtkit /var/log/messages
Dec  7 11:30:10 gentoo rtkit-daemon[1924]: Exiting cleanly.
Dec  7 11:30:10 gentoo rtkit-daemon[1924]: Demoting known real-time threads.
Dec  7 11:30:10 gentoo rtkit-daemon[1924]: Demoted 0 threads.
Dec  7 11:30:10 gentoo rtkit-daemon[1924]: Exiting canary thread.
Dec  7 11:30:10 gentoo rtkit-daemon[1924]: Exiting watchdog thread.
Dec  7 11:31:08 gentoo rtkit-daemon[2023]: Successfully called chroot.
Dec  7 11:31:08 gentoo rtkit-daemon[2023]: Successfully dropped privileges.
Dec  7 11:31:08 gentoo rtkit-daemon[2023]: Successfully limited resources.
Dec  7 11:31:08 gentoo rtkit-daemon[2023]: Running.
Dec  7 11:31:08 gentoo rtkit-daemon[2023]: Failed to make ourselves RT: Operation not permitted
Dec  7 11:31:08 gentoo rtkit-daemon[2023]: Watchdog thread running.
Dec  7 11:31:08 gentoo rtkit-daemon[2023]: Canary thread running.
Dec  7 03:48:33 gentoo rtkit-daemon[2023]: Failed to make ourselves RT: Operation not permitted
Dec  7 03:48:33 gentoo rtkit-daemon[2023]: Failed to make ourselves RT: Operation not permitted
Dec  7 03:48:33 gentoo rtkit-daemon[2023]: Failed to make ourselves RT: Operation not permitted
Dec  7 03:48:33 gentoo rtkit-daemon[2023]: Failed to make ourselves RT: Operation not permitted
Dec  7 03:48:43 gentoo rtkit-daemon[2023]: Failed to make ourselves RT: Operation not permitted
Dec  7 03:48:43 gentoo rtkit-daemon[2023]: Failed to make ourselves RT: Operation not permitted
Dec  7 03:57:53 gentoo rtkit-daemon[2023]: Exiting cleanly.
Dec  7 03:57:53 gentoo rtkit-daemon[2023]: Demoting known real-time threads.
Dec  7 03:57:53 gentoo rtkit-daemon[2023]: Demoted 0 threads.
Dec  7 03:57:53 gentoo rtkit-daemon[2023]: Exiting watchdog thread.
Dec  7 03:57:53 gentoo rtkit-daemon[2023]: Exiting canary thread.
Dec  7 11:58:13 gentoo rtkit-daemon[1836]: Successfully called chroot.
Dec  7 11:58:13 gentoo rtkit-daemon[1836]: Successfully dropped privileges.
Dec  7 11:58:13 gentoo rtkit-daemon[1836]: Successfully limited resources.
Dec  7 11:58:13 gentoo rtkit-daemon[1836]: Running.
Dec  7 11:58:13 gentoo rtkit-daemon[1836]: Failed to make ourselves RT: Operation not permitted
Dec  7 11:58:13 gentoo rtkit-daemon[1836]: Watchdog thread running.
Dec  7 11:58:13 gentoo rtkit-daemon[1836]: Canary thread running.
Dec  7 04:55:31 gentoo rtkit-daemon[1836]: Failed to make ourselves RT: Operation not permitted
Dec  7 04:55:31 gentoo rtkit-daemon[1836]: Failed to make ourselves RT: Operation not permitted
Dec  7 04:55:31 gentoo rtkit-daemon[1836]: Failed to make ourselves RT: Operation not permitted
Dec  7 04:55:31 gentoo rtkit-daemon[1836]: Failed to make ourselves RT: Operation not permitted
Dec  7 04:55:41 gentoo rtkit-daemon[1836]: Failed to make ourselves RT: Operation not permitted
Dec  7 04:55:41 gentoo rtkit-daemon[1836]: Failed to make ourselves RT: Operation not permitted
Dec  8 01:07:11 gentoo rtkit-daemon[1836]: Exiting cleanly.
Dec  8 01:07:11 gentoo rtkit-daemon[1836]: Demoting known real-time threads.
Dec  8 01:07:11 gentoo rtkit-daemon[1836]: Demoted 0 threads.
Dec  8 01:07:11 gentoo rtkit-daemon[1836]: Exiting canary thread.
Dec  8 01:07:11 gentoo rtkit-daemon[1836]: Exiting watchdog thread.
Dec  8 09:07:37 gentoo rtkit-daemon[2002]: Successfully called chroot.
Dec  8 09:07:37 gentoo rtkit-daemon[2002]: Successfully dropped privileges.
Dec  8 09:07:37 gentoo rtkit-daemon[2002]: Successfully limited resources.
Dec  8 09:07:37 gentoo rtkit-daemon[2002]: Running.
Dec  8 09:07:37 gentoo rtkit-daemon[2002]: Failed to make ourselves RT: Operation not permitted
Dec  8 09:07:37 gentoo rtkit-daemon[2002]: Watchdog thread running.
Dec  8 09:07:37 gentoo rtkit-daemon[2002]: Canary thread running.
Dec  8 01:24:32 gentoo rtkit-daemon[2002]: Failed to make ourselves RT: Operation not permitted
Dec  8 01:24:32 gentoo rtkit-daemon[2002]: Failed to make ourselves RT: Operation not permitted
Dec  8 01:24:32 gentoo rtkit-daemon[2002]: Failed to make ourselves RT: Operation not permitted
Dec  8 01:24:32 gentoo rtkit-daemon[2002]: Failed to make ourselves RT: Operation not permitted
Dec  8 01:24:41 gentoo rtkit-daemon[2002]: Failed to make ourselves RT: Operation not permitted
Dec  8 01:24:41 gentoo rtkit-daemon[2002]: Failed to make ourselves RT: Operation not permitted
Dec 10 19:01:03 gentoo rtkit-daemon: Demoting known real-time threads.
Dec 10 19:01:03 gentoo rtkit-daemon: Demoted 0 threads.



# grep -v ^# /etc/security/limits.conf


# 
it's blank.
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2010-12-27 08:26:33 UTC
Could you also attach the output of FEATURES=test emerge -1 rtkit ?
Comment 6 Mike Lothian 2011-01-18 03:29:13 UTC
Created attachment 260095 [details]
The output you've asked for

I'm having the same issue


fireburn@tau ~ $ emerge --info
Portage 2.2.0_alpha15 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37+ x86_64)
=================================================================
System uname: Linux-2.6.37+-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 17 Jan 2011 19:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo multimedia bugfixes
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ http://gentoo.osuosl.org/ http://distfiles.gentoo.org"
LANG="en_GB.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"                                                                                                                               
PORTAGE_CONFIGROOT="/"                                                                                                                                       
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                                            
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                    
PORTDIR="/usr/portage"                                                                                                                                       
PORTDIR_OVERLAY="/var/lib/layman/multimedia /usr/local/portage/bugfixes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aio alltargets alsa amd64 amr auto-hinter berkdb bluetooth bluray branding bzip2 cairo cdinstall cdr chm cli connection-sharing consolekit cracklib crypt cups custom-cflags cxx dbus desktopglobe dirac disk-partition djbfft dri dts dvd dvdr ebook embedded emboss encode eselect exif extensions external-ffmpeg extras fam ffmpeg ffmpeg-mt firefox flac fortran fts3 gdbm gdu gif gles glibc-omitfp gnutls gpm graphite gstreamer gtk hdri history iconv icu imagemagick inotify ipod irc ithreads jingle jpeg jpeg2k kde laptop lcdfilter lcms ldap libnotify libsamplerate lilo llvm llvm-gcc lm_sensors lto lzma lzo mad maps matroska mikmod mmx mmxext mng modules mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz ncurses netmeeting network networkmanager nls nptl nptlonly nsplugin ntfs ntp ogg openal openexr opengl openmp optimized-qmake oscar pam pango passwordsave pcre pdf perl phonon pic plasma png policykit postproc ppds pppd pulseaudio python qt qt3support qt4 rar raster rdesktop readline realtime rss rtmp samba schroedinger sdl secure-delete semantic-desktop session shout smbsharemodes sndfile speex spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs syslog system-sqlite tcpd templates theora threads threadsafe thumbnail tiff truetype udev udis86 unicode usb v4l v4l2 vcd vdpau vnc vorbis vpx wav wavpack webdav webpresence wifi wmf x264 xcb xcomposite xine xml xorg xrender xulrunner xv xvid xvmc yahoo zip 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Mike Lothian 2011-01-18 03:45:50 UTC
Apparently the work around is to disable RT_GROUP_SCHED in the kernel
Comment 8 Arun Raghavan (RETIRED) gentoo-dev 2011-01-18 05:53:40 UTC
Ah, good catch, Michael - thanks! Pasting a couple of snippets from the documentation below, but basically if you're going to be using this option, you need to know what you're doing and configure things appropriately.

----

config RT_GROUP_SCHED
        bool "Group scheduling for SCHED_RR/FIFO"
        depends on EXPERIMENTAL
        depends on CGROUP_SCHED
        default n
        help
          This feature lets you explicitly allocate real CPU bandwidth
          to task groups. If enabled, it will also make it impossible to
          schedule realtime tasks for non-root users until you allocate
          realtime bandwidth for them.
          See Documentation/scheduler/sched-rt-group.txt for more information.

----

By default all bandwidth is assigned to the root group and new groups get the
period from /proc/sys/kernel/sched_rt_period_us and a run time of 0. If you
want to assign bandwidth to another group, reduce the root group's bandwidth
and assign some or all of the difference to another group.

Realtime group scheduling means you have to assign a portion of total CPU
bandwidth to the group before it will accept realtime tasks. Therefore you will
not be able to run realtime tasks as any user other than root until you have
done that, even if the user has the rights to run processes with realtime
priority!