Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512520 - sys-fs/udisks should create user directories in /run/media
Summary: sys-fs/udisks should create user directories in /run/media
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
Depends on:
Reported: 2014-06-05 15:26 UTC by Johannes Hirte
Modified: 2015-07-04 17:04 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2014-06-05 15:26:12 UTC
I've encountered the problem, that removable medias could not be mounted anymore. When trying to access them in Dolphin, I get the error message:

An error occurred while accessing 'DELUG_05_2014', the system responded: An unspecified error has occurred: Adding read ACL for uid 1002 to `/run/media/jhirte' failed: Invalid argument

It turned out to be that '/run/media/$USER' is no more created automatically. If I create the directory for the user manually, mounting works. But as /run is a tmpfs, this isn't a solution.

It seems, other users encountered this problem already:

I can't say since when this problem exists. But I'm sure, automatically mounting on /run/media/$USER worked some time ago.

Reproducible: Always

Portage 2.2.10 (default/linux/amd64, gcc-4.8.2, glibc-2.19, 3.15.0-rc7-00118-ga4bf79e x86_64)
System uname: Linux-3.15.0-rc7-00118-ga4bf79e-x86_64-Intel-R-_Core-TM-_i5_CPU_M_540_@_2.53GHz-with-gentoo-2.2
KiB Mem:     3839948 total,    659700 free
KiB Swap:    3975164 total,   3176264 free
Timestamp of tree: Wed, 04 Jun 2014 18:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.3.5, 3.4.0
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.2, 4.9.0_alpha20140521::toolchain
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo x11 mysql toolchain qt local kde
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x TeamViewer googleearth google-chrome PUEL"
CFLAGS="-O3 -march=corei7 -flto -fuse-linker-plugin -fweb -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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="-O3 -march=corei7 -flto -fuse-linker-plugin -fweb -pipe"
EMERGE_DEFAULT_OPTS="--quiet-build=n --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc -O3 -march=corei7 -flto -fuse-linker-plugin -fweb -pipe"
MAKEOPTS="-j2 -l5"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/mysql /var/lib/layman/toolchain /var/lib/layman/qt /usr/local/portage /var/lib/layman/kde"
USE="X a52 aac acl acpi addressbook aio alsa amd64 amr amrenc apache2 apm apng attica audiofile berkdb bzip2 cairo calendar caps caps-ng cdda cddb cdio cdparanoia celt chm clang cli consolekit corefonts cracklib crypt cups cxx dbus demosaic desktopglobe device-mapper dii dirac djvu dot dpi dri dts dv dvd ebook eigen epub exif expoblending faac faad fam ffmpeg fftw flac fontconfig fortran frei0r gdbm gif git gmp gold gphoto2 gpm graphviz h224 h281 h323 hunspell iconv icu id3tag ilbc ipv6 jabber jemalloc jpeg jpeg2k json kde kipi latex lcms ldap lensfun libass libffi libkms libmpeg2 libnotify lm_sensors lto lzma lzo mad matroska minizip mjpeg mmap mmx mng mobi modules mongodb mount mp3 mp4 mpeg mpfr mpi mtp multilib musicbrainz mysql mysqli ncurses networkmanager new-login nls nptl ntfs ntfsprogs ofx ogg okteta opencv openexr opengl openipmi openldap openmp opus otr pam pango panorama pcre pdf perl plasma png pnm policykit postscript python python3 qt3support qt4 qthelp quotes rar raw readline reviewboard romio rpc samba scanner schroedinger sdl secure-delete session shapefile sip sipe sipim smb smime smp sndfile snmp speex spell sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg system-cairo system-icu system-jpeg system-sqlite szip t1lib taglib tcpd theora threads thumbnail tiff tremor truetype twolame udev umfpack unicode unlock-notify unwind usb v4l v8 vaapi vhosts vlc vorbis vpx wav wavpack webkit webp wifi wmf x264 xattr xcb xcomposite xinirama xml xmp xpm xscreensaver xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 proxy proxy_http" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon" 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 ublox ubx" GRUB_PLATFORMS="efi-32 efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="i965 intel" 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"
USE_PYTHON="2.7 3.3"
Comment 1 Pacho Ramos gentoo-dev 2015-07-04 17:04:51 UTC
2.1.6 properly creates /run files... please retest with that version