Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409181 - app-misc/g15stats - script does not parse extra options
Summary: app-misc/g15stats - script does not parse extra options
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-10-09
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 14:45 UTC by pereira.alex
Modified: 2021-04-25 12:22 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 pereira.alex 2012-03-21 14:45:45 UTC
Hi,

Using the g15stats script to display stats on a logitech g15 keyboard doesnt work properly.

Currently the init.d script doesnt parse the options correctly. The following is the start-stop-daemon line on the script : 

start() {
        ebegin "Starting ${SVCNAME}"
        start-stop-daemon --start --background --make-pidfile --pidfile ${PIDFILE} --exec \
                /usr/bin/g15stats -- "${EXTRA_OPTS}"
        eend $?
}

Removing the "" in "${EXTRA_OPTS}" fixed the problem :)

Could someone with authority apply the fix to the init.d script on Gentoo ?

Thanks

Reproducible: Always
Comment 1 Todd Walter 2013-01-31 01:22:32 UTC
Proposed fix works on my system with version 1.9.7.  

emerge --info
Portage 2.1.11.48 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.7.2-pf x86_64)
=================================================================
System uname: Linux-3.7.2-pf-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:     8182704 total,   4912656 free
KiB Swap:    8393956 total,   8393956 free
Timestamp of tree: Tue, 29 Jan 2013 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
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, 3.3.0-r1
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          9999
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.21.1-r1, 2.22-r1, 2.23.1
sys-devel/gcc:            4.4.5, 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
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10 -mtune=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=amdfam10 -mtune=amdfam10"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="256-color 32bit 3dnow 3dnowext 3ds 64bit S3TC X X509 a52 aac aacs ace acl acpi aften alac alsa alstream amd64 amr analogtv aplaymidi apm apng archive asf ass assistant atsc audio audiofile auto-dn-suffix avcodec avformat bash-completion berkdb binary-drivers bittorrent blender blender-game bluetooth bogofilter boost branding bzip2 cairo ccache cdb cdda cddb cdio cdparanoia cdr cdrdao cdrom cdsound cg cisco cli client collada consolekit contrib cpio cracklib crypt css cuda cue cups curl cxx cycles dbus dcc dcc_video designer devfs-compat dhclient dhcp dlna dnotify dolbyinrec dri dts dvd dvdarchive dvdchapjump dvdnav dvdr dxva2 eap eap-sim eap-tls emboss emerald emf enca encode excel exif extensions extra-algorithms extras faac faad fam farp fbcon fbcondecor fbsplash ffmpeg fftw firefox flac flash flickr fluidsynth fontconfig foomaticdb fortran fortune fping freetds fuse g15 garmin gdal gdbm ggi gif glew glsl gnuplot gpg gphoto2 gpm gps gpsd_user gpu graph graphics graphicsmagick graphite gstreamer gtk gui gvfs h224 h281 h323 hddtemp health hou hwdb iconv id3 id3tag ikev1 ikev2 image imagemagick ipv6 irc java java6 javascript joystick jpeg jpeg2k kdrive keymap ladspa lame largeterminal lcms ldap ldap-sasl ldapi libnotify libsamplerate libsexy libssh2 libv4l libv4l2 lightning lm_sensors lzma lzo mad magic magnetgenerator matroska mbox midi minizip mixer mjpeg mmx mmxext mng modules mp3 mp3rtp mp3tunes mp4 mpd mpeg mpg123 mpi mpi-threads mpi_njtree mplayer mpu401 ms-bad-proposal msn mudflap multilib multislot multitarget musepack music musicbrainz nat nat-pmp nat-transport ncurses net netpbm network networking nforce2 nfs nfsv3 nfsv4 nls nntp nocd nptl nsplugin nspluginwrapper ntfs ntlm ntp nuv nvcontrol nvidia odbc ode offensive ofx ogg ogg123 ogm ogre ole openal opencl opencv openexr opengl openinventor openmedia openmp openssl opensslcrypt openstreetmap openxml osdmenu osmesa otp otr pam pam_krb5 pam_ssh pango parted pcap pcm pcre pda pdf pidgin pixbuf pixmaps pkcs11 pl2303 player playtools plotutils plugins pm-utils pmu pnat png pnm policykit pop portaudio postproc povray ppds ppm private-headers ps pstoedit pstricks pyside python python-bindings python3 qml qt3support qt4 quicktime radio rar raw rawio rc5 rdesktop rdesktop-vrdp rdp rdpusb readline redcode rle rtc rtf rtmp rtsp rule_generator samba scanfolder scanner schematics schroedinger screenshot scripts sdl sdl-image sdl-sound sdlaudio search sensord server session sftp sharedmem shm shmvideo shout sip skype slit smbclient smbsharemodes smbtav2 smime sndfile sou sound speech spell sqlite sse sse2 sse3 sse4 sse4_1 sse4a ssh ssl ssse3 startup-notification stream svg taglib tbb tcl tcpd tga tgif theora threads thumbnail thumbnails thunar tidy tiff timidity tls tor tordns transcode truetype udev udisks unicode unzip upnp upower usb utils uudeview uuencode v4l v4l2 vaapi vcd vcdx vdpau video videos vnc vorbis win32 wireshark wma wma-fixed wmf wordperfect wpd wpg wps wv2 wxwidgets x11vnc x264 xanim xbase xcb xcf xchatdccserver xcomposite xface xft xine xinerama xml xpm xrandr xrender xscreensaver xterm xterm-color xv xvid xvmc youtube yv12 zlib" ALSA_CARDS="hda-intel usb-audio" 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" 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"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Sergey Popov gentoo-dev 2013-01-31 04:23:24 UTC
Todd, do NOT add arch teams yourself, thank you
Comment 3 Todd Walter 2013-01-31 19:03:48 UTC
Sorry about that.
Comment 4 Conrad Kostecki gentoo-dev 2021-04-25 12:22:04 UTC
Seems not to PMASKED any more?