Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185505

Summary: app-admin/rmake init script errors
Product: Gentoo Linux Reporter: Juan Pablo Aroztegi <jpabloae>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: chtof62, jakub
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: rewritten rmake initscript
rewritten rmake initscript

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.