libera/#devuan/ Saturday, 2023-01-14

FatPhil+1 for yt-dlp09:52
martinlegerhello 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 contrib18:32
fluffywolftry util-linux, not linux-util18:34
martinlegeryea that's what I meant sorry18:36
martinlegerI have 2.36.1 installed18:36
martinlegerand I can't find blkdiscard command18:36
fluffywolfare you root and have root's path?18:36
martinlegerman I'm so dumb18:37
martinlegeri was not in root xD18:37
fluffywolfgot it on the second guess.  :P18:37
martinlegerbut why on pclinux I can use this command non root18:37
martinlegeri was $ and I was still able to use that command on pclinuxos18:37
fluffywolfdunno, I've not used it.  devuan, like debian, is fairly traditional on permissions and filesystem locations.18:37
gnarfacedebian took /usr/sbin and /sbin out of root's default path, you can put it back in /etc/login.defs18:37
martinlegeryea i guess it's safer that way18:38
martinlegeri'm switching off from pclinuxos, I'm liking devuan better so far.18:38
fluffywolfbbl, shower time.18:39
martinlegergnarface, alright thanks for the heads up18:39
martinlegerthanks again guys, i g2g18:39
joerg>>debian took /usr/sbin and /sbin out of root's default path<< ummm, what's the rationale behind THAT?21:36
fsmithredI don't know the rationale, but it happened when su got moved into a different package.21:37
fsmithreduse 'su -' to get root's path21:38
joerghow's root's path any special then?21:38
fsmithredalso possible to edit /etc/default/su to restore the old behavior.21:38
fsmithredroot gets sbins in path, user does not21:38
fsmithredenv different too21:39
joergyes, err no? >>debian took /usr/sbin and /sbin out of root's default path<<21:39
gnarfacethe su path inclusion change i think was a separate change21:39
gnarfaceyou do also now have to use "su -" for what it used to do by default21:40
fsmithredexcept that su - takes you to root's home instead of keeping you in the curent dir21:40
fsmithredwhich I find annoying21:40
gnarfacebut afaik they also removed /usr/sbin and /sbin from the default ENV_SUPATH in /etc/login.defs21:40
gnarfacewhich is far more annoying to me21:40
gnarfacebut easy to fix21:41
gnarface(for now)21:41
fsmithredgnarface, is it like that in ceres? My chimaera still has sbins in login.defs21:42
gnarfaceit won't change it retroactively21:42
joergyou're sure you meant root default path, not USER aka default path?21:42
gnarfaceit's just for new installs but it may not be in chimarea21:43
joergwhen I log in as root, how would not having sbin in my $PATH help me ?21:44
gnarfacei suppose if you weren't using anything in there21:45
joergaaaah poetterism21: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
joergyou got old scripts or code that has /sbin/* hardcoded? too bad, you got to patch that to keep it working21:48
joergsorry, forgot the quotes21:49
joerghttps://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) themselves22:08
fluffywolfI 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.  :P22:10
joergX-P22:12
rrqftr, 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
rrqit 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
joergI guess gnarface meant that and didn't notice they wrote "root" instead "user"23:04
rwpI "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
rwpAnd 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/!