Bug 713041

Summary: mkinitrd-2.7.0-26.4@x86_64 -sh: -c: line 0: syntax error near unexpected token `('
Product: [openSUSE] openSUSE 12.1 Reporter: Forgotten User Si7ddX0wxG <forgotten_Si7ddX0wxG>
Component: BasesystemAssignee: Frederic Crozat <fcrozat>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User Si7ddX0wxG 2011-08-19 05:44:02 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110708 Firefox/5.0 SeaMonkey/2.2

Output from mkinitrd-2.7.0-26.4@x86_64:                                        
Updating /etc/sysconfig/kernel...                                              
insserv: Note: sysvinit service boot.loadmodules is shadowed by systemd loadmodules.service,
Forwarding request to '/bin/systemctl --root (null) enable loadmodules.service'.
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/bin/systemctl --root (null) enable loadmodules.service'
insserv: Forward service request to systemctl returned error status : 256


Reproducible: Always

Steps to Reproduce:
- Only tried once as its a install of rpm 
Actual Results:  
Output from mkinitrd-2.7.0-26.4@x86_64:                                 
Updating /etc/sysconfig/kernel...                                              
insserv: Note: sysvinit service boot.loadmodules is shadowed by systemd loadmodules.service,
Forwarding request to '/bin/systemctl --root (null) enable loadmodules.service'.
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/bin/systemctl --root (null) enable loadmodules.service'
insserv: Forward service request to systemctl returned error status : 256


Expected Results:  
no syntax errors

The whole install sequence was as follows: [I used another installer at the time]
 # smart upgrade '*init*'
Loading cache...
Updating cache...                                                        ###################### [100%]

Computing transaction...

Upgrading packages (5):
  initviocons-0.5-90.4@x86_64         mkinitrd-2.7.0-26.4@x86_64          module-init-tools-3.13-2.4@x86_64   sysvinit-2.88+-59.2@x86_64          sysvinit-tools-2.88+-59.2@x86_64    

444.1kB of package files are needed. 153B will be used.

Confirm changes? (Y/n): y

Committing transaction...                                                                                                                                                             
Preparing...                                                             ###################### [  0%]
   1:Installing module-init-tools                                        ###################### [ 10%]
   2:Cleaning module-init-tools                                          ###################### [ 20%]
   3:Installing initviocons                                              ###################### [ 30%]
   4:Cleaning initviocons                                                ###################### [ 40%]
   5:Installing sysvinit                                                 ###################### [ 50%]
   6:Cleaning sysvinit                                                   ###################### [ 60%]
   7:Installing mkinitrd                                                 ###################### [ 70%]
Output from mkinitrd-2.7.0-26.4@x86_64:                                        
Updating /etc/sysconfig/kernel...                                              
insserv: Note: sysvinit service boot.loadmodules is shadowed by systemd loadmodules.service,
Forwarding request to '/bin/systemctl --root (null) enable loadmodules.service'.
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/bin/systemctl --root (null) enable loadmodules.service'
insserv: Forward service request to systemctl returned error status : 256
   8:Cleaning mkinitrd                                                   ###################### [ 80%]
   9:Installing sysvinit-tools                                           ###################### [ 90%]
Output from sysvinit-tools-2.88+-59.2@x86_64:                                  
Scanning scripts ...                                                           
Resolve dependencies ...
Install symlinks in /lib/mkinitrd/setup ...
Install symlinks in /lib/mkinitrd/boot ...
  10:Cleaning sysvinit-tools                                             ###################### [100%]
Scanning scripts ...                                                           
Resolve dependencies ...
Install symlinks in /lib/mkinitrd/setup ...
Install symlinks in /lib/mkinitrd/boot ...
Scanning scripts ...
Resolve dependencies ...
Install symlinks in /lib/mkinitrd/setup ...
Install symlinks in /lib/mkinitrd/boot ...
Comment 1 Michal Marek 2012-02-16 21:44:28 UTC
This is a bug in insserv, not in mkinitrd.
Comment 2 Frederic Crozat 2012-02-17 09:02:09 UTC
--root (null) has been fixed in insserv a lot time ago (before 12.1 release), closing as fixed.