Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401023 - net-fs/autofs-5.0.6-r3 should not create unused /var/run/autofs
Summary: net-fs/autofs-5.0.6-r3 should not create unused /var/run/autofs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: keepdir-var-run_lock
  Show dependency tree
 
Reported: 2012-01-27 13:31 UTC by Maxim Kammerer
Modified: 2013-07-22 13:49 UTC (History)
3 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 Maxim Kammerer 2012-01-27 13:31:11 UTC
autofs doesn't need or use /var/run/autofs (after looking at the sources).

Apparently, the directory is created by upstream's makefile:

autofs-5.0.6/samples/Makefile:	install -d -m 755 $(INSTALLROOT)/var/run/autofs
Comment 1 Dustin Polke 2012-01-30 08:57:08 UTC
(In reply to comment #0)
> autofs doesn't need or use /var/run/autofs (after looking at the sources).
> 
> Apparently, the directory is created by upstream's makefile:
> 
> autofs-5.0.6/samples/Makefile:    install -d -m 755
> $(INSTALLROOT)/var/run/autofs

Please post your emerge --info autofs.

I have no /var/run/autofs:


 # qlist autofs
/etc/init.d/autofs
/etc/conf.d/autofs
/etc/autofs/auto.master
/etc/autofs/auto.smb
/etc/autofs/auto.net
/etc/autofs/auto.misc
/etc/autofs/autofs_ldap_auth.conf
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.22.17-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.24.4-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.29-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.28-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.27-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.26-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.25-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.24-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.23-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.22-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.21-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.20-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.19-v5-update-20100114.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.19-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.18-v5-update-20100114.patch
/usr/share/doc/autofs-5.0.6-r5/patches/autofs4-2.6.18-v5-update-20090903.patch
/usr/share/doc/autofs-5.0.6-r5/INSTALL
/usr/share/doc/autofs-5.0.6-r5/COPYRIGHT
/usr/share/doc/autofs-5.0.6-r5/CREDITS
/usr/share/doc/autofs-5.0.6-r5/CHANGELOG
/usr/share/doc/autofs-5.0.6-r5/README.v5.release
/usr/share/doc/autofs-5.0.6-r5/README.smbfs
/usr/share/doc/autofs-5.0.6-r5/README.replicated-server
/usr/share/doc/autofs-5.0.6-r5/README.ncpfs
/usr/share/doc/autofs-5.0.6-r5/README.changer
/usr/share/doc/autofs-5.0.6-r5/README.active-restart
/usr/share/doc/autofs-5.0.6-r5/README
/usr/share/man/man8/automount.8
/usr/share/man/man8/autofs.8
/usr/share/man/man5/auto.master.5
/usr/share/man/man5/autofs_ldap_auth.conf.5
/usr/share/man/man5/autofs.5
/usr/lib64/autofs/lookup_yp.so
/usr/lib64/autofs/lookup_file.so
/usr/lib64/autofs/lookup_program.so
/usr/lib64/autofs/lookup_userhome.so
/usr/lib64/autofs/lookup_multi.so
/usr/lib64/autofs/lookup_hosts.so
/usr/lib64/autofs/lookup_dir.so
/usr/lib64/autofs/parse_sun.so
/usr/lib64/autofs/mount_generic.so
/usr/lib64/autofs/mount_nfs.so
/usr/lib64/autofs/mount_afs.so
/usr/lib64/autofs/mount_autofs.so
/usr/lib64/autofs/mount_changer.so
/usr/lib64/autofs/mount_bind.so
/usr/lib64/autofs/mount_ext2.so
/usr/lib64/autofs/lookup_nisplus.so
/usr/lib64/autofs/mount_ext4.so
/usr/lib64/autofs/mount_ext3.so
/usr/lib64/autofs/mount_nfs4.so
/usr/lib64/autofs/lookup_nis.so
/usr/lib64/autofs/lookup_files.so
/usr/sbin/automount
Comment 2 Maxim Kammerer 2012-02-05 19:11:58 UTC
# grep run /var/db/pkg/net-fs/autofs-5.0.6-r3/CONTENTS 
dir /var/run
dir /var/run/autofs
Comment 3 Dustin Polke 2012-02-05 19:55:22 UTC
(In reply to comment #1)
> Please post your emerge --info autofs.

^^ Please do so. Thanks.
Comment 4 Maxim Kammerer 2012-02-05 20:09:15 UTC
# emerge --info autofs
Portage 2.1.10.41 (hardened/linux/x86, gcc-4.4.5, glibc-2.13-r4, 2.6.32-gentoo-r7 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.4-hardened-r5-i686-with-gentoo-2.0.3
Timestamp of tree: Sat, 28 Jan 2012 00:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo liberte
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@FREE freedist unRAR lha @BINARY-REDISTRIBUTABLE ipw3945 Atmel radeon-ucode SIL-freeware amd-ucode"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc/locale.gen"
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/splash /etc/terminfo"
CXXFLAGS="-Os -march=pentium3 -mtune=core2 -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-unmerge-warn --autounmask=n"
FEATURES="assume-digests binpkg-logs collision-protect compress-build-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org                 http://mirrors.kernel.org/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O,1,-z,combreloc"
LINGUAS="*"
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="/usr/local/portage"
SYNC="rsync://disabled"
USE="X X509 aac acl acpi alsa archive aspell bluetooth bs2b bzip2 cairo caps cdda cjk cli consolekit crypt cue dbus dhcp djvu dri dynamic eap-tls exif expat fbcondecor flac gconf gmp gpm grammar groupwise gtk hardened hires-icons hybrid-auth iconv id3tag idn iproute2 irda jbig jpeg jpeg2k lcms libkms libnotify lzma mad madwifi mktemp mmx modules mp3 multicall ncurses networkmanager nls nptl nptlonly ogg opengl openmp ots pam pax_kernel pcmcia pcre pcsc-lite pic pkcs11 png policykit pppd pth readline scsi silc smartcard smime sna sndfile speex spell sse startup-notification staticsocket svg symlink sysfs thesaurus threads tiff tordns truetype unicode urandom usb v4l vorbis wavpack webgl wimax wmf x86 x86emu xattr xinerama xmp xorg xv zlib" ALSA_CARDS="sb16" 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 stage tables krita karbon braindump" CAMERAS="ptp2" 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 vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="*" NGINX_MODULES_HTTP="access fastcgi gzip limit_req limit_zone map rewrite stub_status" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware virtualbox qxl" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-fs/autofs-5.0.6-r3 was built with the following:
USE="-hesiod -ldap -sasl"
Comment 5 Dustin Polke 2012-03-01 14:53:26 UTC
This is fixed already in =autofs-5.0.6-r5.
Please test this version and report back if this is still an issue for you.
Thanks for your patience.
Comment 6 Maxim Kammerer 2012-03-01 15:55:19 UTC
Indeed, /var/run/autofs is gone in 5.0.6-r5 (and there is a new /usr/lib/autofs/lookup_dir.so file - guess it's ok).
Comment 7 Maxim Kammerer 2012-07-08 20:56:18 UTC
Bug can be closed? Or only when -r5 is stable?
Comment 8 Dustin Polke 2012-07-08 22:16:50 UTC
(In reply to comment #7)
> Bug can be closed? Or only when -r5 is stable?
It will be closed if -r5 or later goes stable.