Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216090 - app-misc/g15daemon does not include default configuration file
Summary: app-misc/g15daemon does not include default configuration file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: LCD Herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-03 20:39 UTC by virdiq
Modified: 2009-02-01 16:24 UTC (History)
1 user (show)

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


Attachments
Sample/proposed default configuration file (g15daemon.conf,445 bytes, text/plain)
2008-04-03 20:40 UTC, virdiq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description virdiq 2008-04-03 20:39:24 UTC
app-misc/g15daemon doesn't install by default with a sample /etc/g15daemon.conf configuration file. There isn't any documentation for this configuration file as far as I know (and have searched). However g15daemon will write a sample configuration file if you make a blank g15daemon.conf and start the program. Therefore it'd be a good idea IMO to include a basic 'starter' config file to help users understand how to load plugins into g15daemon.

g15daemon comes installed with 3 plugins: a clock applet, some sort of uinput plugin and a TCP server (listening on localhost). These are all loaded by default (when no configuration file exists). Especially for the clock applet, some display/visual settings are only available through the config file (/etc/conf.d/g15daemon is no help here).

I feel the TCP server plugin should not be loaded by default (to maintain a "no ports open by default" policy), regardless of what interface it is listening on. This is likely not a primary feature/use of g15daemon anyway.

There could also possibly be an issue with the default device name for uinput being /dev/input/uinput. At least on my system, this is setup as /dev/uinput and /dev/input/uinput does not exist at all. This plugin may also not need to be loaded by default.

A sample/proposed default configuration file is attached.

Reproducible: Always

Steps to Reproduce:
Comment 1 virdiq 2008-04-03 20:40:03 UTC
Created attachment 148508 [details]
Sample/proposed default configuration file
Comment 2 Anthony Mirabella 2008-04-04 06:42:36 UTC
Please check with mlampard before disabling any plugins.  It has been a while since I have looked at libg15daemon_client, but I believe it uses TCP/IP connections to allow clients to communicate with the daemon process.
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2009-02-01 16:24:28 UTC
Added a sample configuration file to cvs, though all plugins should stay enabled by default to avoid breaking user setups for no good reason