Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450248 - app-laptop/laptop-mode-tools-1.62: /usr/sbin/laptop_mode: line 239: .: /etc/laptop-mode/conf.d/board-specific: is a directory
Summary: app-laptop/laptop-mode-tools-1.62: /usr/sbin/laptop_mode: line 239: .: /etc/l...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alon Bar-Lev (RETIRED)
Depends on:
Reported: 2013-01-04 14:51 UTC by Alexandre
Modified: 2013-03-16 22:53 UTC (History)
2 users (show)

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 Alexandre 2013-01-04 14:51:23 UTC
Error message during start/stop daemon: /usr/sbin/laptop_mode: line 239: .: /etc/laptop-mode/conf.d/board-specific: is a directory


Reproducible: Always

Portage (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.7.1-gentoo x86_64)
                        System Settings
System uname: Linux-3.7.1-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T3400_@_2.16GHz-with-gentoo-2.2
Timestamp of tree: Fri, 04 Jan 2013 14:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.8
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo privacychain
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -g0"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=native -pipe -fomit-frame-pointer -g0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups custom-cflags cxx dbus declarative dga dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gif gnutls gpm gstreamer gtk iconv infinality jpeg kde kipi lame lcms libnotify lzma lzo mad minimal mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nvidia offensive ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 quicktime readline samba sdl session spell sse sse2 ssl ssse3 startup-notification svg syslog tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vpx wavpack wxwidgets x264 xcb xcomposite xml xmp xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel loopback" 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="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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby18 ruby19" 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"

                        Package Settings

app-laptop/laptop-mode-tools-1.62 was built with the following:
USE="acpi -apm -bluetooth -scsi"
Comment 1 Pacho Ramos gentoo-dev 2013-01-07 08:59:11 UTC
Could you report this to upstream please?
Comment 2 Alexandre 2013-01-21 23:59:00 UTC
(In reply to comment #1)
> Could you report this to upstream please?

Done. But I did by mail, I have not noticed the mailinglist. :-/

Comment 3 Alexandre 2013-01-24 03:25:16 UTC
Upstream: "This is an unwanted warning message and has been fixed for the next release."
Comment 4 Ondrej Grover 2013-02-09 13:14:05 UTC
I'm seeing similar error message with laptop-mode-tools-1.62-r1:

Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not readable, skipping.

Most likely there should be some dummy file in that dir so * gives back at least something.

Should I open a new bug, as this is a slightly different error?
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2013-02-10 19:55:43 UTC
(In reply to comment #4)
> I'm seeing similar error message with laptop-mode-tools-1.62-r1:
> Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/* is not
> readable, skipping.
> Most likely there should be some dummy file in that dir so * gives back at
> least something.
> Should I open a new bug, as this is a slightly different error?

Best if you discuss this with upstream... or provide some patch.
As far as I understand it is harmless.
Comment 6 Manuel Rüger (RETIRED) gentoo-dev 2013-02-24 00:11:33 UTC

i think deleting that directory should fix it, doesn't it?
Comment 7 Ondrej Grover 2013-02-24 07:12:30 UTC
This should end up in the next release.
As this is not a crucial bug, I think it's ok to simply wait for the next release.

If the devs are up for it, they can simply apply the patch for this commit referenced by mrueg and release it as _p1.
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2013-03-16 22:53:40 UTC
Fixed in laptop-mode-tools-1.62-r2