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

Bug 172286

Summary: sys-apps/coreutils-6.7-r1 breakes /bin/nice depending apps
Product: Gentoo Linux Reporter: Karel Hala <stripe>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Karel Hala 2007-03-26 11:34:21 UTC
After an upgrade of this package any other application which uses /bin/nice can crash or can have difficulties. I have noticed that by package sys-cluster/util-vserver-0.30.212-r2 by command:

router ~ # vserver public enter
/usr/lib/util-vserver/vserver.functions: line 122: /bin/nice: No such file or directory
/usr/lib/util-vserver/vserver.functions: line 126: let: nice=0-: syntax error: operand expected (error token is "-")


Reproducible: Always

Steps to Reproduce:
1. for example vserver somevserver enter
2. anything other calling /bin/nice
3.

Actual Results:  
Make a symlink /bin/nice -> /usr/bin/nice results beeing this corrected.

Expected Results:  
In case of moving files in directory tree - preserve backwards files compatibility by symlinks
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-26 11:36:27 UTC
So re-emerge them. ;)

*** This bug has been marked as a duplicate of bug 161552 ***
Comment 2 Karel Hala 2007-03-26 11:55:58 UTC
hmmm, my point is compatibility among system apps. 

Re-emerging packages everytime someone decides to change path of programs in any sys related package, sorry but this I see as madness. 

Fyi as I have mentioned in report, making symlink does the trick. For me solution is making symlinks by package ebuild to programs with their changed path - this is so obvious...