Comments (9)
Sounds like a bug in Fedora to me. lsof
is not a sysadmin-only program and hence should not reside in sbin
IMHO. (And sbin
is usually not in a normal user's path.)
I'll think how I can solve that issue in unburden-home-dir
.
from unburden-home-dir.
Can you test if that commit fixes it for you?
from unburden-home-dir.
I wholeheartedly agree that lsof should not be in sbin and I intend to file a bug on redhat's bugzila.
But even if they make the change, I doubt that it will be backported. So fix will land in Fedora 23 eventually, most probably in 24 :(
And I guess your fix is OK as I did the same locally, just in more crude way (I just set $which_lsof=/usr/sbin/lsof without any checks)
from unburden-home-dir.
Actually I pushed a second patch which makes sure that the path in $which_lsof
is used instead of just calling lsof
.
from unburden-home-dir.
And yes, I know that such changes won't be backported. That's why I implemented a workaround.
from unburden-home-dir.
so that means I just "fixed" the warning locally, not the issue ... very smart move on my side :/
from unburden-home-dir.
Well, I did the same in my first commit. Which is why there had to be a follow-up commit. :-)
from unburden-home-dir.
Menawhile on #fedora-devel..
[08:39:39] anyone know why lsof is installed to /usr/sbin by default and not /usr/bin?
[08:41:05] csmart: because lsof is marked as one of the "system manager binaries", which all (should) go into sbin
[08:41:57] puiterwijk: ok, but it's also useful for regular users, it's not a priviledged program
[08:42:06] just put sbin in your path
[08:42:27] but I don't think that's the right thing to do for a non-priv user
[08:42:41] that's why it's not in the path by default
[08:42:44] it could be moved, but each time this kind of stuff get discussed, it get bikeshed quite fast
[08:43:01] misc: ahh right, I wondered if there was something historic
[08:43:06] to me lsof is a useful non-admin tool
[08:43:12] just like "less"
[08:43:18] :-)
[08:43:23] (and it seems I do have sbin in my path, not sure if that was me who changed that, or the os)
[08:44:18] sbin is in the default path anymore I thought...
[08:44:38] misc: yeah maybe it is there by default now for users, but not for xinit
[08:44:40] sbin is i nthe default path
[08:45:07] anyway, I just wondered why lsof was in sbin, thanks
from unburden-home-dir.
Well I filled a bug in redhat's bugzilla. Not that I have any hopes ...
from unburden-home-dir.
Related Issues (10)
- gnome-keyring 3.4 no more works as ssh-agent replacement when .cache is moved away HOT 1
- Problem with file links HOT 2
- major browsers cache location is wrong HOT 2
- unburden-home-dir can't move .cache folder because find command already use it HOT 2
- Do not override XDG_CACHE_HOME HOT 2
- How to deal with spaces in path?
- Question: Use in NFS-based multiple seat environments? HOT 2
- zram: using a compressed in-memory fs?
- Add mask for move all Electron apps caches
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unburden-home-dir.