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

Bug 95519

Summary: Gentoo partimaged init.d script is broken
Product: Gentoo Linux Reporter: Brett I. Holcomb <brettholcomb>
Component: Current packagesAssignee: Christian Zoffoli (RETIRED) <xmerlin>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Brett I. Holcomb 2005-06-08 17:59:35 UTC
If I add -L and any other options to my /etc/conf.d/partimaged file they are ignored if I start partimaged with /etc/init.d/partimaged start. 

Assume partimaged merged with -nologin and ssl use flags.

If I run /etc/init.d/partimaged start then partimaged -i shows users must login - my options are ignored.

However, if I run /usr/sbin/partimaged -L --daemon everything works fine and partimaged starts up and users don't need to login (a partimage -i confirms this)

When I add set -x to the /etc/init.d/partimaged script I can see that that any arguments are ignored.
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2005-06-19 17:41:06 UTC
If you add PARTIMAGED_OPTS="-L" in /etc/conf.d/partimaged the daemon is started
with the right parameter. 
You can simply test it with 
ps aux | grep "partimaged" 

-->
partimag   486  0.0  0.1   5048  2028 ?        Ss   02:37   0:00
/usr/sbin/partimaged -L --daemon