| FatPhil | +1 for yt-dlp | 09:52 |
|---|---|---|
| martinleger | hello I can't find the command blkdiscard on my chimaera. On pclinuxos I've got it and it says I need linux-util package which I also have but I can't find it. Do you guys have this command on chimaera ? Maybe I need to enable backports or contrib | 18:32 |
| fluffywolf | try util-linux, not linux-util | 18:34 |
| martinleger | yea that's what I meant sorry | 18:36 |
| martinleger | I have 2.36.1 installed | 18:36 |
| martinleger | and I can't find blkdiscard command | 18:36 |
| fluffywolf | are you root and have root's path? | 18:36 |
| martinleger | man I'm so dumb | 18:37 |
| martinleger | i was not in root xD | 18:37 |
| fluffywolf | got it on the second guess. :P | 18:37 |
| martinleger | but why on pclinux I can use this command non root | 18:37 |
| martinleger | i was $ and I was still able to use that command on pclinuxos | 18:37 |
| fluffywolf | dunno, I've not used it. devuan, like debian, is fairly traditional on permissions and filesystem locations. | 18:37 |
| gnarface | debian took /usr/sbin and /sbin out of root's default path, you can put it back in /etc/login.defs | 18:37 |
| martinleger | yea i guess it's safer that way | 18:38 |
| martinleger | i'm switching off from pclinuxos, I'm liking devuan better so far. | 18:38 |
| fluffywolf | bbl, shower time. | 18:39 |
| martinleger | gnarface, alright thanks for the heads up | 18:39 |
| martinleger | thanks again guys, i g2g | 18:39 |
| joerg | >>debian took /usr/sbin and /sbin out of root's default path<< ummm, what's the rationale behind THAT? | 21:36 |
| fsmithred | I don't know the rationale, but it happened when su got moved into a different package. | 21:37 |
| fsmithred | use 'su -' to get root's path | 21:38 |
| joerg | how's root's path any special then? | 21:38 |
| fsmithred | also possible to edit /etc/default/su to restore the old behavior. | 21:38 |
| fsmithred | root gets sbins in path, user does not | 21:38 |
| fsmithred | env different too | 21:39 |
| joerg | yes, err no? >>debian took /usr/sbin and /sbin out of root's default path<< | 21:39 |
| gnarface | the su path inclusion change i think was a separate change | 21:39 |
| gnarface | you do also now have to use "su -" for what it used to do by default | 21:40 |
| fsmithred | except that su - takes you to root's home instead of keeping you in the curent dir | 21:40 |
| fsmithred | which I find annoying | 21:40 |
| gnarface | but afaik they also removed /usr/sbin and /sbin from the default ENV_SUPATH in /etc/login.defs | 21:40 |
| gnarface | which is far more annoying to me | 21:40 |
| gnarface | but easy to fix | 21:41 |
| gnarface | (for now) | 21:41 |
| fsmithred | gnarface, is it like that in ceres? My chimaera still has sbins in login.defs | 21:42 |
| gnarface | it won't change it retroactively | 21:42 |
| joerg | you're sure you meant root default path, not USER aka default path? | 21:42 |
| gnarface | it's just for new installs but it may not be in chimarea | 21:43 |
| joerg | when I log in as root, how would not having sbin in my $PATH help me ? | 21:44 |
| gnarface | i suppose if you weren't using anything in there | 21:45 |
| joerg | aaaah poetterism | 21:45 |
| joerg | >>we removed /sbin/ since we unified /usr/ and / anyway, and now we don't need sbin in root's $PATH either << | 21:47 |
| joerg | you got old scripts or code that has /sbin/* hardcoded? too bad, you got to patch that to keep it working | 21:48 |
| joerg | sorry, forgot the quotes | 21:49 |
| joerg | https://i.imgur.com/lxck3le.jpg is what it looks on a RPM system though, makes sense to me. I don't see how getting rid of /sbin/ in root's $PATH would help with whatever, neither merging the dirs (/bin and /sbin) themselves | 22:08 |
| fluffywolf | I think we should put all the files from a package in one directory and only symlink to them from anywhere else, but no one listens to me. :P | 22:10 |
| joerg | X-P | 22:12 |
| rrq | ftr, the change of "su" was to a variant implementation that does not change PATH when used without the "login" option (aka "-"). Therefore the user uusing su (without "-") will have the PATH they have. | 22:40 |
| rrq | it was an earlier change to take out /usr/sbin and /sbin from the defauult user path. That one was far more annoying to me too. | 22:42 |
| joerg | >>take out /usr/sbin and /sbin from the defauult user path<< now that makes more sense to me. | 23:03 |
| joerg | I guess gnarface meant that and didn't notice they wrote "root" instead "user" | 23:04 |
| rwp | I "grew up" on HP-UX and the user path never included /sbin:/usr/sbin so Debian without that just seems normal to me. | 23:55 |
| rwp | And also "su" now is the same as it was before so again this current behavior just feels like home to me. | 23:56 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!