libera/#devuan/ Wednesday, 2021-10-06

hyrcanusbtrfs is looking more interesting with newer kernel01:04
golinuxhyrcanus: If you like to discuss btrfs, #devuan-offtopic would be the place to do so.  #devuan would be the place to ask questions about installing and configuring it.01:15
golinuxIOW chat vs support.  Thanks01:16
hyrcanusACK01:17
Hydragyrumhyrcanus, also for btrfs-specific stuff, #btrfs is rather active02:22
mdthi, i am again trying to run wayland, especially sway. when i log in and start sway it says XDG_RUNTIME_DIR isnt set. i did so manually and get "User has no sessions". so what is supposed to create all these shiny details normally?12:26
mdti tried https://wiki.gentoo.org/wiki/Sway which gives alot of hints but with no success (i finally want to run sway automatically on boot and tried those scripts)12:28
mdti used `openvt` but that complains "Couldn't get a file descriptor referring to the console." when run as user12:30
xrogaanmdt: XDG is supposed to be set by your desktop environment. I don't run waylands, but I'd look at how your environment is being setup.12:33
xrogaansomewhere in /etc/wayland maybe?12:33
mdtxrogaan: i either login on the console or via ssh12:33
xrogaanI know that the environment for X is handled in /etc/X1112:34
mdtboth dont have any XGD_* env - so i wonder who is responsible for that..12:34
mdtin my X session i dont have any of those (in a shell in a term)12:35
xrogaanis /etc/xdg/user-dirs.conf present and enabled?12:37
xrogaanyou need the package xdg-user-dirs12:38
mdtthat package seems to manage those weird default dirs in home... no XDG_ env12:44
mdtit seems systemd creates those vars on login...12:50
GyrosGeieryes, these belong to FreeDesktop12:51
GyrosGeierbut apps should have reasonable defaults12:51
mdtsway doesnt seem to 😉12:54
ham5urgIs there something behind the group 'staff'? The group of /usr/local/sbin is staff.20:03
user____It's not something, it's someone :)20:07
xrogaanham5urg: it's debian specific20:08
xrogaanham5urg: https://wiki.debian.org/SystemGroups#Other_System_Groups20:09
ham5urgI see. 'staff' seems to be an empty group. To which group should I assign a binary in /usr/local/bin ? root or staff?20:13
user____ham5urg: root20:37
rwpham5urg, Up until the last release group staff was a useful half-way place for someone to be not root but install system tools.20:39
rwpSince then one could ./configure, make, make check, make install, as themselves.20:40
rwpIt would configure and install to /usr/local and being in group staff meant it could be done as non-root.20:40
rwpHowever a release or so ago the new kids in charge got rid of that very useful feature.  Claiming that anyone who wants it is always free to set it up themselves.20:41
rwpSigh.  It's the tyranny of the default though.  I always set it up now.  But it is no longer the default.20:41
rwpOlder systems upgraded maintain the /usr/local group by "staff" but newer pristine installs don't have it.  Unless you care enough to set it up.20:42
rwpInstead of the useful non-root ability to install local compiled software now all of the instructions are to become superuser root and run make install on random software projects.20:43
rwpWhat could possibly go wrong with that? :-(20:43
ham5urgI understand, thanks for the explanation.20:54
user____You're supposed to install non root software in your own bin dirs, not globally.21:00
user____Tbh it was a nasty side channel to mayhem imo, when used for compilation as above.21:00
joergrwp: I thought you'd install such stuff into you rown homedir until the system admin aka root decides to make it available to all users and installs it as root to /usr/[local/]bin21:04
joergoh, user____ already had it covered21:05
jonadabDepends what the purpose of installing it is.21:28
jonadabI can imagine situations in which you'd want to empower someone to install software, without giving them full root.  College IT departments spring immediately to mind:  every time a professor calls and says "we need foo for the students in CSI-389 by Tuesday"...21:30
jonadabBut in this kind of context I don't think it matters what the default setup is, since anyone interacting with this stuff is NOT going to be an end user.21:31
jonadabAnd defaults are really only important when dealing with people who are too green or non-technically-inclined to know how to change settings.21:31
jonadabAnybody who can install an operating system, should be past that.21:32
hyrcanusyeah you'd think people could look up definitionns of things before 2020 also21:33
peterrooneyjonadab: operating systems have become very easy to install.21:33
hyrcanusand realize the definitionnn was changed21:33
jonadabpeterrooney: Yes, but changing settings isn't that hard either.  I mean, editing /etc/sudoers for example, is not exactly rocket surgery.21:34
peterrooneyjonadab: I can't imagine "Devuan: only install this if you know everything already" as a great slogan21:34
jonadabThat's not what I'm saying.21:34
hyrcanusit's not wrong to deliver a product for professionals21:35
peterrooneyjonadab: uh, it kinda is rocket surgery, which is why visudo exists.21:35
jonadabBut if somebody wants adding users to a staff group to empower them to do certain things, hopefully they should know how to make that happen.21:35
jonadabpeterrooney: Ok, yes, but visudo has been around for a couple of decades; we all know about it and it's not new.21:36
jonadabIf you're at a tech-knowledge level where you are empowering other people to install software without giving them full root powers, I hope you know about visudo already.21:36
rwpNot just university departments, though that would be one good use.22:45
rwpFor example before the previous release caught things up I wanted the newer tmux.22:45
rwpTherefore I did ./configure, make, make check, make install, of tmux so as to install it into /usr/local and made it available that way to everyone on the shared server machine.22:46
rwpBut my main point is that running make install as root on random project software is a potentially dangerous situation.  Accidents can happen.22:47
rwpJust yesterday we were talking about accidentally using dd to overwrite the wrong disk.22:47
rwpBut you make your own luck.  Running make install as root makes me nervous.  Much more safe to run it as non-root.22:47
rwpNext topic, /etc/sudoers file.  I never edit that file due to it being a dpkg "conffile".22:48
rwpInstead I always put local modifications into /etc/sudoers.d/sudoers-local so that it won't have any merge conflicts.22:48
rwpThat way the dpkg dialog for modified conffiles is avoided.22:49
rwpNext topic, group "adm".  I always add myself to group adm too.  That way one can "less /var/log/syslog" (and other system log files there) as themselves without needing root for it.22:51

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!