Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185505 - app-admin/rmake init script errors
Summary: app-admin/rmake init script errors
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-16 09:05 UTC by Juan Pablo Aroztegi
Modified: 2011-03-05 23:20 UTC (History)
2 users (show)

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


Attachments
rewritten rmake initscript (rmake,1.67 KB, text/plain)
2008-03-20 18:23 UTC, Jakub Moc (RETIRED)
Details
rewritten rmake initscript (rmake,1.14 KB, text/plain)
2008-03-20 18:24 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Pablo Aroztegi 2007-07-16 09:05:55 UTC
Ebuild: app-admin/rmake
Version: 1.0.9

The /etc/init.d/rmake init script has 2 problems:

1) Its header is malformed.
2) The "case" evaluates "$1" instead of "$2".

--- rmake.old   2007-07-16 10:26:50.000000000 +0200
+++ rmake       2007-07-16 10:55:13.000000000 +0200
@@ -1,4 +1,4 @@
-#/sbin/runscript
+#!/sbin/runscript
 #
 # Copyright (c) 2006 rPath, Inc.
 #
@@ -72,7 +72,7 @@
 RETVAL=0
 
 # See how we were called.
-case "$1" in
+case "$2" in
     config)
         config
         ;;


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-20 18:23:34 UTC
Created attachment 146674 [details]
rewritten rmake initscript

Sigh, this heavily borked initscript got merged upstream and appears in 1.0.13 tarball. :/

Someone please test this and forward upstream.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-20 18:24:39 UTC
Created attachment 146678 [details]
rewritten rmake initscript

Ugh, attached wrong file.
Comment 3 Christophe LEFEBVRE 2010-10-28 18:37:21 UTC
app-admin/rmake seems to has been removed from Portage then this bug can be closed.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-03-05 23:20:02 UTC
app-admin/rmake has been deleted.