libera/#devuan/ Tuesday, 2023-04-25

eyalrozHello devuaners,09:05
eyalrozI wanted to draw your attention to a kind of error message I am often seeing on my syste,09:06
eyalrozsystem*, namely: dconf-CRITICAL **: 1.2.3.4: unable to create file '/run/user/1000/dconf/user': Permission denied.  dconf will not work properly09:06
eyalroz(actually, not 1.2.3.4, it's a timestamp)09:06
gnarfacewhat log are you seeing that in?09:07
eyalrozgnarface: I'm seeing it on my console, when running all sorts of apps, e.g. GNOME ones.09:07
eyalrozand,09:07
eyalrozI've been told: https://unix.stackexchange.com/questions/685626/09:08
gnarfacehmm, you mix any packages in from other distros? like debian, or a repo for debian packages?09:08
eyalrozthat the directory is something that systemd creates when you login09:08
gnarfaceyea, i'm not seeing /run/user here09:08
eyalrozgnarface: Generally no, but09:08
gnarfacedoes look suspicious09:08
gnarfacebut i'm also not using gnome09:08
gnarfacethough i am using a lot of gtk stuff...09:09
onefangI do recall seeing that issue before, and I do have /run/usr09:09
onefangEr /run/user09:09
eyalrozI have some single-app apt repositories defined which aren't Devuan-specific,09:09
eyalrozand - debian-multimedia09:10
onefangOwned by root, permissions drwxr-xr-x09:10
eyalrozI have /run/user/ just like yours09:11
gnarfacehmm, well i wonder if you've got a default build flag on in one of those packages that shouldn't be on for devuan, but statistically speaking, deb-multimedia (they were sued to have to stop calling it debian-multimedia, did you know?) is a likely culprit too09:11
eyalrozand I even have /run/user/100009:11
gnarfacethough here i'm not even using a graphical login so that may also be related to the difference09:11
gnarfaceand i'm on daedalus09:11
eyalrozowned by myself and with permissions 70009:11
eyalrozme too, daedalus09:12
onefangAnd /run/user/1000/dconf/user is just -rw-------09:12
eyalrozand I also use a graphical login09:12
eyalrozand so is my /run/user/1000/dconf09:13
eyalrozbut09:13
onefangAnd yes I have what used to be called debian-multimedia as well.09:13
eyalroz/run/user/1000/dconf/user is owned by root (with permissions 600)09:13
onefangThat's likely the problem.09:13
onefangThink that's what went wrong with mine to.09:14
gnarfacehmm, a system here with a graphical login does indeed have /run/user/1000, and i'm not seeing that error anywhere but it's also a old beowulf install09:14
eyalrozNow, I realize you might be able to say "If you played nice and only used devuan repos etc. then you wouldn't have this problem". But I believe that Devuan should be a little more "robust" in catering to these situations, because:09:14
eyalroz1. It's inconvenient for me personally so I'm biased :-P09:15
onefangMines chimaera, and I only saw that problem once.  Fixing up ownership and permissions solved it I think09:15
eyalroz2. Without this robustness, people are under stricter limitations when using Devuan compared to Debian,09:15
eyalrozand that hurts people's impression of Devuan.09:16
onefangOn the other hand /run is tmpfs, so gets recreated on boot.09:16
gnarfaceyea, on the beowulf system, /run/user/1000/dconf/user is 0600, owned by that user not root09:16
onefangAh /run/user/1000 is a separate tmpfs mount.09:16
eyalrozI wonder why the root-owned file is created though09:17
eyalrozI thought perhaps going su does this somehow09:17
eyalrozAnyway, I wonder if there couldn't be some mechanism in the devuan-specific packages which, at some point "fixes" this.09:18
onefangAs I said, I only saw the problem once, it's been fixed since.09:19
eyalrozonefang: I had this multiple times in the past, something seems to bring it back...09:35
gnarfaceit couldn't be a udev rule, could it?09:49
eyalrozgnarface: I don't know - could it?10:38
eyalrozI'm not knowledgeable about udev I'm afraid10:39
gnarfacewell, theoretically it definitely could be, but what i'm not clear on is why udev would have anything to do with this, since it's usually just about devices10:56
gnarfacebut... due to the way systemd handles permissions, it is the basic type of error i've had to create extra udev rules for in the past10:57
gnarfacebasic pattern goes like: 1) something updates or is added to debian, works fine 2) same thing fails with permission error in devuan because they just left everything owned by root cause systemd doesn't care about permissions10:58
gnarfacebut if it's not udev maybe it's something that acts as a similar type of manager for this /run/users directory?11:00
gnarfaceer, /run/user/11:00
gnarfacemaybe even on debian, the first login corrects the permission so nobody noticed11:03
tom-1Hello . I would be grateful for advice. Please tell me why in the script i need to specify #! /sbin/openrc-run instead of #! /bin/sh for it to work? I looked at the scripts in the /etc/init.d directory, #! /bin/sh is indicated everywhere11:49
sixwheeledbeastIt's the interpreter for openrc scripts11:59
tom-1sixwheeledbeast: Hello. Thanks a lot for the explanation 🤝12:03
sixwheeledbeasttom-1: https://github.com/OpenRC/openrc/blob/master/service-script-guide.md12:04
gast0nHi, is the 'http://deb.devuan.org/merged ascii-security' repo down or has this repo been migrated to archive.d.o?15:54
gnarfacegood question15:56
gnarfacei think the latter but not sure15:56
Xenguygast0n: The latter I believe16:10
XenguyYou might be well advised to dist-upgrade to Beowulf, I expect16:11
gast0nI just changed the repo to archive.d.o and 'apt update' finished without errors, I guess that's it. Was there a date for this change?16:12
gnarfaceseems like it's been a while16:13
gnarfacelike years16:13
gast0nI maintain that repo for kernel 4.9, which is the last one that supports my marvell ethernet network card, the newest kernels, the ethernet port does not work16:14
gast0n¯\_(ツ)_/¯16:14
gnarfacei see16:15
gnarfacewell it's a noble cause anyway16:15
rustyaxesounds like time to upgrade ethernet16:17
Xenguygnarface: ASCII was archived a day or 2 ago AFAIK.16:17
gnarfaceoh really?16:17
rustyaxegast0n: 100mbit?16:17
gnarfacemaybe i'm thinking of jessie16:17
XenguyProbably16:17
gast0nrustyaxe: no, its gigabit16:17
rustyaxeout of tree driver im assuming?16:18
gast0nI got an intel, but I never found out why that marvell yukon onboard lost support.16:18
rustyaxei mean i'd replace 1gbit card anyways, thats 2001 stuff16:18
rustyaxewe're in 2023 now16:19
gast0nyes, it's a 2003-04 motherboard, still working today :)16:21
rustyaxe"working" yes. cheaper to replace with something 20 years newer than power? Probably.16:22
gast0nyesyes, but I have to adapt with what I have. I live in the third world, a lot of taxes, inflation, new technology is not so accessible.16:25
XenguyGood luck gast0n !16:26
* Xenguy has to hit the road for now ...16:26
Assassink786[m]hi18:50
gnarfacehi Assassink786[m] if you have questions just ask them18:55
gnarfaceit's a slow channel but someone will answer eventually18:56
birds_swimhello?  anybody home?  first time IRC user20:30
n4dirsome are here, if you got a question, you can just ask it20:30
birds_swimI can't create forums account.  I was marked as spam.20:33
birds_swimI do have a few questions.20:34
birds_swimMaybe I don't need a forums account?20:34
birds_swimI'll link to my post on Reddit.20:34
birds_swimhttps://www.reddit.com/r/devuan/comments/12y40hv/noob_here_questions_about_devuan/20:34
gnarfacebirds_swim: possibly not, try asking here20:35
birds_swimHello.20:35
birds_swimI just discovered there are other Linux systems out there that don't use systemd. I discovered Void and Artix and thought that runit was pretty cool, but I really love stable distros like Debian, and that's how I found Devuan.20:35
birds_swimQuestions for the Devuan Community:20:35
birds_swim    Does Devuan support Btrfs and Snapper/Timeshift? I'd say this is my biggest deal maker/breaker.20:35
birds_swim    Can I use the ISO (4GB version) to install a runit-powered Devuan system? Also, I really like LXQt.20:35
birds_swim    Can I still use /etc/hosts to block domains/achieve content filtering? I'm trying to install hblock.20:35
gnarfacegolinux: got someone having trouble making a forum account20:35
birds_swim    I saw that Devuan supports some sort of "remastering" to create your own ISO. In your opinion, how does Devuan's way of creating your own ISO fare against other popular tools/methods in the Linux community (systemd or not)? Specifically, this is an ease-of-use question. I have yet to find a project that makes the process easy to create your own custom distro. If Devuan's way is doable without burying myself in 3 months of20:35
birds_swimdocumentation, then this would also be very appealing to me.20:35
birds_swim    Is the "Banned Packages" a comprehensive list of software that won't run on Devuan, or just a list of incompatible software (for technical or political/philosophical reasons)?20:35
birds_swim    Why does Devuan not use Calamares? Does it depend on systemd?20:35
birds_swimThank you for your time.20:35
n4dirbirds_swim: refractasnapshot20:35
n4dirto create a custom distro.20:36
n4diri would not know if it works for all distros, sure the debian based ones i'd assume.20:36
birds_swim--> Why does Devuan not use Calamares? Does it depend on systemd?20:37
gnarfacebirds_swim: the banned packages list is systemd and anything it depends on that they could manage to fork or rebuild to not depend on it20:37
gnarfaceit is not political20:37
birds_swimIs there a FAQ I can read?20:37
gnarfaceit is also not comprehensive, it's only packages that were in debian20:37
gnarfacewell you can read the banned packages list: http://packages.devuan.org/bannedpackages.txt20:38
gnarfacehmm, there might be a faq on the forum, not sure20:38
gnarfaceor somewhere on here: https://www.devuan.org/20:39
gnarfacei though refracta tools were a pretty decently easy way to create a custom image. it's been a long time since i tried it but fsmithred has taken over maintenance of it now so it has probably improved20:40
gnarfacebtrfs, snapper, and timeshift should all work afaik, but haven't tested myself20:41
gnarfaceyes, you can use /etc/hosts still20:41
gnarfaceand i don't know if runit is in the installer yet but if it's not it is easy to add afterwards20:41
gnarfacedoes that cover it?20:42
n4diri remember i could choose runit with the installer. But you know how it is with "remembering"20:42
n4dirpretty sure20:42
gnarfacei know openrc got added, i thought runit was going to follow but i don't know what the status was20:42
gnarfacebut you can easily install it after first boot20:42
gnarfaceso it's a small matter either way20:43
birds_swimWhy did the Devuan Team feel like they needed to abandon Calamares and choose an alternative/re-use an older installer?  Is there a blog post I can read about that decision process?  To me, that choice fascinates me and I find it to be a bold move.20:43
birds_swimHow hard would it've been to remake Calamares to Devuan's needs?20:44
birds_swimAlso,20:44
gnarfacea bold move to keep what works?20:44
gnarfacei'm not sure about what calamares is, ask fsmithred about that too20:44
n4dircalamares sure is in the repo though20:45
birds_swimI'd like to point out that I think Artix supports different inits in their Calamares installer. So we do have an example of it working. Do the other Alt-Init Linuxes communicate/cooperate together?20:45
gnarfacethere are certainly one or two forks of devuan if that's what you mean20:46
gnarfaceand calamares is not in the banned packages list, it doesn't appear like anything would stop you from using it if you wanted20:46
birds_swimCalamares was created in 2015/2017 as a standardized, distro-agnostic installer for Linux distros. It has become the most popular choice among Linux distros to install their system from bootable media to a PC or VM.20:46
gnarfaceif i had to guess about the older installer, i would just assume it's because it's what we're all used to20:46
birds_swimThe only distros that don't use it I think are Fedora (they use their Anaconda installer), Arch Linux, and Gentoo.20:47
birds_swimOh and Slackware20:47
n4dirwell, that are most of the big distros, no?20:47
birds_swimyeah, but all the rest use Calamares.20:48
gnarfacebirds_swim: there's a lot of linux distros, i think your perception of how many of them are using calamares might be somewhat overstated by whoever stands to make money from calamares20:48
n4diri don't care much for the installer anyway, as long it somehow ends being on the harddrive20:49
rustyaxeyay more "lets make all the linux broken just the same way" crap?20:50
n4dir5 minutes ago i never heard of calamares at all :-)20:50
rustyaxesame20:50
rustyaxemostly because if it werent for devuan. i'd have long ago gone back to freebsd20:50
rustyaxeSadly more freedesktop.org infection is happening and im debating gentooing it up20:51
birds_swimhttps://calamares.io20:51
birds_swimI think all the derivatives are rocking Calamares these days.20:51
rustyaxeyea ill pass.20:52
birds_swimSolus, Void, Artix, Endeavour OS, Manjaro, Linux Mint, KDE Neon, Arco Linux20:52
rustyaxegood for them?20:53
brocashelmsalix/slackel have their own graphical installer called SLI which is simpler and quicker to work with than calamares20:58
n4dirthe web also doesn't know Void would use it20:58
birds_swimWhat are the two forks of Devuan called?21:02
n4dirbirds_swim: https://www.devuan.org/os/devuan-distros21:03
n4diri wouldn't know if that list is up-to-date, all i know is that the website exists. Gotta sleep. bye21:03
gnarfacei think the two i was thinking of were gnuinos and maemo leste21:05
gnarfacethey're both on the list21:05
gnarfaceas is refracta, which i wouldn't have even thought of despite how obvious it is21:05
gnarfaceway more here than i was expecting21:05
birds_swimIs it easier to build your own distro with Devuan or with Refracta?21:15
rustyaxeYou first should ask yourself... do we really need more distros? :P21:16
rustyaxeThen -- "Do i want to maintain that?"21:16
birds_swimOkay, i used the wrong word21:16
birds_swim"Spin" or "remix"21:16
birds_swimmight be more appropriate21:17
rustyaxeIm not trying to discourage you, just to show its a lot of work and not very rewarding21:17
birds_swimTake a look at this distro.  This is my favorite one right now and my daily driver.  I exclusively use this one these days.  The "Builder Edition" is my favorite.21:18
birds_swimhttps://spirallinux.github.io/21:18
birds_swimIf there ever was a Devuan "spin" based on SpiralLinux, then I'd probably switch overnight.21:18
rustyaxeive seen literally thousands of distros come and go21:19
birds_swimYeah, but this one is different.  This one is essentially vanilla Debian, but with Btrfs+Snapper, Zswap, and Debian's "post-install chores" out of the way.21:20
rustyaxeno idea what snapper is and btrfs doesnt really impress me. i dont really like storing my files in beta quality file systems lol21:22
gnarfacethat's kinda what refracta is for, it might have been worth encouraging them to try it21:37
fsmithredsorry I'm late. Simple instructions for refractasnapshot are: Open a root terminal, run 'refractasnapshot' take the first option from the menu, and do one or two other things that the screen tells you to do - (i.e. press q, press ENTER)21:58
fsmithredPhilosphical point: everyone runs his or her own respin unless you never change anything from the initial install.22:03
rustyaxe25 minutes into building firefox, we see it's build system is stupid and only runs 2 rust compilers at once when i have 40 vcpu's available to it.. Smh.22:04
brocashelmi like refracta's defaults better22:25
brocashelmwhile not being too overly "customized"22:25
brocashelmjust a few things like no avahi, alsa instead of pulseaudio, tor launcher, firejail, magic sysrq keys, and xfce without metapackages22:26
rustyaxepipewire can almost do a pretty good job replacing poopaudio. Only issue i run into is NoMachine server is too stupid to work with it22:27
buZzrustyaxe: even with alsa or oss emulation enabled in pipewire?22:28
brocashelmi have no need for anything beyond alsa, generally. i just can't get simplescreenrecorder or obs to work without pulseaudio/pipewire, that's all22:28
brocashelmhow is sndio in linux?22:28
buZza openbsd library?22:29
brocashelmi'm slowly gravitating towards bsd-based/bsd-like software as their philosophy is making more sense to me nowadays22:29
brocashelmyes22:29
rustyaxebuZz: No its too stupid about when it decides to scan for devices to do its pass through stuff (you cna send audio both ways mic/spkr from the other machine to the client)22:29
buZzi guess barely used22:29
brocashelmapt shwo sndiod22:29
brocashelmif that could be used in areas where alsa would fail, that would be much better imo than pulseaudio/pipewire/jack22:29
buZzi dont understand what you're asking22:30
buZzthere's no lower level access than also22:30
buZzalsa*22:30
buZzunless you're asking if you can write device drivers22:30
buZzthen , sure22:30
brocashelmi meant for issues like using simplescreenrecorder where alsa sound doesn't work22:30
brocashelmi haven't found a suitable workaround for that22:30
buZzi have no clue what your issue is with that program22:30
buZzdoes your alsa card support multiple streams? have you tried closing webbrowser before starting?22:31
brocashelmthat i don't get sound on an alsa-only system (after recording)?22:31
buZzhave you tried enabling dmix?22:31
brocashelmor that the sound is there, but very noisy22:31
rustyaxeMax Cpu Load: 87.35% Max Ram Usage: 64.8 Gb22:32
brocashelmclosing other programs hasn't helped. if there is a way, probably some modprobe or config thing i'm overlooking...22:32
rustyaxeHmm22:32
buZzbrocashelm: i bet you're just using the alsa device while you're trying to use it in another program22:33
buZzwhich many soundcards dont support natively22:33
buZzhence, dmix (the alsa plugin) exists to mix multiple streams to one for such cards22:33
brocashelmdon't think i've used dmix in the past. going to test that out22:34
brocashelmadded it to my asound conf, but can't get sound now22:43
brocashelmhttps://alsa-project.org/wiki/Asoundrc#dmix22:43
debdogdmix is enabled by default since at least 15 years now. no need to explicetly configure it22:44
buZzah :)22:46
brocashelmthen, i'm stumped there22:51
brocashelmnot an issue for me, because i don't really record stuff22:52
brocashelmeverything else just works22:52
brocashelmthat'd be one thing where i would have to use freedesktop/poettering "tools" to get clear sound out of22:52
buZzwhy not use OBS to record btw?23:11
brocashelmnewer versions are kinda buggy23:15
brocashelmi also can't get sound out of obs on an alsa setup iirc23:15
rustyaxesounds like a program i'd just not bother with lol23:40
rustyaxeid rather not ever deal with poopaudio again23:40

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