Executable name conflict in Ubuntu 14.04
See original GitHub issueI had recently faced this issue after installing the reload
package through npm
using the -g
flag.
The executable name, reload
, is in conflict with the actually existing reload
executable located at /sbin/reload
, which belongs to the initctl
program suite in Ubuntu 14.04. This causes the system to attempt to run reload
at boot with root permissions and consume CPU usage and HDD activity.
Steps to replicate this issue:
sudo npm install -g reload
- Reboot system
I don’t know yet what other consequences this might have at system level, as I don’t know which routines are affected by running reload
at system boot.
This issue might also affect other versions of Ubuntu, or even other Linux distros.
Issue Analytics
- State:
- Created 9 years ago
- Comments:32 (14 by maintainers)
Top Results From Across the Web
CONFLICT – List filename-conflicts
Conflict is a tool which examines your shell environment variables such as PATH and reports names which are repeated/conflicting.
Read more >Having trouble to find the node in ubuntu 14.04 after installing
Because of a conflict with another package, the executable from the Ubuntu repositories is called nodejs instead of node. Keep this in mind...
Read more >Avoiding name clashes for utilities in PATH
1 Answer 1 · Always call your custom scripts with an absolute path, as you yourself suggest, without modifying $PATH . · Make...
Read more >Choosing between multiple executables with same name in ...
Executables are found in PATH order. You need to prepend ${HOME}/usr/bin to your path, like so: export PATH="${HOME}/usr/bin:$PATH".
Read more >Conflicts between /usr/bin and /usr/local/bin - linux - Super User
Using this solution is asking for trouble 'cuz /usr/local is designed to override /usr by the FHS. You will lose access to any...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes. It is a system command installed by default on Ubuntu installations:
Maybe as well as having a note in the readme you should also mention it when the user runs
npm install reload -g
.