Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481454 - app-misc/g15daemon-1.9.5.3-r7 fail to start with default vaules in /etc/conf.d/g15daemon
Summary: app-misc/g15daemon-1.9.5.3-r7 fail to start with default vaules in /etc/conf....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Deadline: 2020-10-09
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2013-08-17 10:53 UTC by Marco Di Fresco
Modified: 2020-09-09 12:29 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 Marco Di Fresco 2013-08-17 10:53:41 UTC
With default vaules in /etc/conf.d/g15daemon from install, runnng g15daemon with "/etc/init.d/g15daemon start" give a generic "ERROR: g15daemon failed to start".

By changing CLIENT_SWITCH_L1 from "no" to "yes" in /etc/conf.d/g15daemon, g15daemon starts correctly

Reproducible: Always

Steps to Reproduce:
1.emerge g15daemon
2.rc-update add g15daemon default
3./etc/init.d/g15daemon start
Actual Results:  
"/etc/init.d/g15daemon start" lead to "ERROR: g15daemon failed to start"

Expected Results:  
Changing values in /etc/conf.d/g15daemon should be for user who want custom behavior from g15daemon, but a common user should be able to run it with the default values.
Comment 1 JTRiley 2013-08-20 00:14:44 UTC
I can confirm that changing CLIENT_SWITCH_L1 from "no" to "yes" fixes the issue for me as well. According to the man page for g15daemon the default has now changed to the L1 key so the option in /etc/conf.d/g15dameon should now be CLIENT_SWITCH_MR and the default option, docs, etc. set accordingly. I've made these changes as well an improvement to the stop() code in the init.d script in my overlay:

http://git.overlays.gentoo.org/gitweb/?p=user/jtriley.git;a=commit;h=d9a9501479efbbc2de82501b7e54fc148b6b55dd
Comment 2 Larry the Git Cow gentoo-dev 2020-09-09 12:29:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f13dc9e4d6a8643ef98cc5f4fb6b45532dd7fd

commit 32f13dc9e4d6a8643ef98cc5f4fb6b45532dd7fd
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-09-09 11:12:50 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-09-09 12:29:21 +0000

    app-misc/g15daemon: Revbumps / ebuild overhauls
    
    - EAPI-7 bump
    - Added workaround for successful build with gcc-10 (#706712)
    - Fixed default config (#481454)
    - Fixed docdir
    - Attempt to fix direct call of CC (#729294)
    - Removed bashisms from configure
    
    Bug: https://bugs.gentoo.org/729294
    Bug: https://bugs.gentoo.org/741382
    Closes: https://bugs.gentoo.org/481454
    Closes: https://bugs.gentoo.org/706712
    Package-Manager: Portage-3.0.6, Repoman-3.0.1
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 app-misc/g15daemon/files/g15daemon-1.2.7.confd     |  2 +-
 .../files/g15daemon-1.9.5.3-avoid_bashisms.patch   | 20 ++++++++
 .../g15daemon/files/g15daemon-1.9.5.3-docdir.patch | 11 +++++
 .../g15daemon-1.9.5.3-forgotten-open-mode.patch    |  4 +-
 .../files/g15daemon-1.9.5.3-g510-keys.patch        |  5 +-
 .../files/g15daemon-1.9.5.3-overflow-fix.patch     |  4 +-
 ...5.3-r13.ebuild => g15daemon-1.9.5.3-r14.ebuild} | 48 ++++++++++---------
 app-misc/g15daemon/g15daemon-1.9.5.3-r21.ebuild    | 47 ++++++++++---------
 app-misc/g15daemon/g15daemon-9999.ebuild           | 54 +++++++++++-----------
 9 files changed, 119 insertions(+), 76 deletions(-)