Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930946 - sys-devel/icecream: Typo in OpenRC script preventing startup
Summary: sys-devel/icecream: Typo in OpenRC script preventing startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-29 22:09 UTC by spamsfd
Modified: 2024-04-30 03:47 UTC (History)
1 user (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 spamsfd 2024-04-29 22:09:49 UTC
I have found a small/trivial error in the code used by gentoo to administer the sys-devel/icecream package using the openRC init system.

The Problem:

  A stock/"fresh install" of icecream will result in this, after "rc-service icecream start" is performed...

livecd /home/steve # ps ax | grep icecc
32311 ?        Ss     0:00 /usr/sbin/iceccd -d -l /var/log/icecream/iceccd --nice 5 -u icecream -b /var/cache/icecream '-v'

  The '-v' at the end of the process is the problem. The single quotes are there in error, preventing the icecc daemon from giving the desired verbosity level.

The Solution:

  Line #11 of /etc/init.d/icecream is... verbosity="${ICECREAM_VERBOSITY:-'-v'}"

  I've found that the problem is solved if you change the single quotes to double quotes. 

The line should read...

verbosity="${ICECREAM_VERBOSITY:-"-v"}"
Comment 1 Larry the Git Cow gentoo-dev 2024-04-30 03:47:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2fa17adda32c2ae41c41a36d59390ba786485d

commit 4e2fa17adda32c2ae41c41a36d59390ba786485d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-30 03:46:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-30 03:46:10 +0000

    sys-devel/icecream: fix verbose option in OpenRC init script
    
    While at it, change the others to double quotes too.
    
    Closes: https://bugs.gentoo.org/930946
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/icecream/files/icecream.openrc                       | 10 +++++-----
 .../icecream/{icecream-1.4.ebuild => icecream-1.4-r1.ebuild}   |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)