libera/#devuan/ Wednesday, 2021-09-08

fluffywolfwhat is the installability of chimaera?  or should I just install beowulf?  going to need to set up another laptop, and this one seems to be rapidly failing.03:00
fluffywolfs/and this/as this03:01
ksx4systemfluffywolf, if I were you I'd choose beowulf03:02
_ds_Running chimaera on my desktop box…03:02
ksx4system_ds_, how's experience?03:03
_ds_Seems fine03:03
Hydragyrumchimaera is pretty stable, haven't had any issues03:03
ksx4systemnoice03:03
Hydragyrumonly times I've had issues with missing deps is installing out-of-repo packages, which is to be expected when they're made for normal debian03:03
ksx4systemyup, sometimes happened on previous releases too03:04
_ds_The only out-of-repository packages which I currently have installed are from apt.llvm.org. No problems there. (I've been using them for local Mesa builds.)03:12
fluffywolfgrrrr.  I might not be able to install anything for 5 days.03:13
fluffywolfdon't have enough data cap left for an install.03:13
_ds_Metered connections? Yes, well used to that…03:13
* fluffywolf gives _ds_'s irc client a glare03:16
fluffywolfwhat kind of irc client collapses elipses?  :P03:17
_ds_Hexchat can do that (if told), but I have ‘…’ in my keymap.03:18
_ds_You should be able to type that anyway – Compose ‘.’ ‘.’03:19
_ds_Anyway. If you have multiple computers to run apt updates on and you're not using apt-cacher-ng, you should be…03:20
fluffywolfI have not installed or upgraded chimaera on anything before.03:21
* fluffywolf doesn't even know what the compose key would be03:22
_ds_Probably Shift + AltGt03:22
_ds_s/t$/r/03:22
_ds_(not to be confused with AltGr+Shift, which is just two modifier keys)03:23
* fluffywolf thinks _ds_ has a different keyboard layout. :)03:24
_ds_A somewhat customised UK layout, yes03:24
fluffywolfUS keyboards don't have an altgr key...  we just have a second alt key that doesn't do fancy things.03:26
_ds_https://help.ubuntu.com/community/ComposeKey should help03:28
_ds_Not sure how out-of-date it is, though03:28
fluffywolfI guess the first step is to get the laptop out of the car and see what it is.  lol.  I got it for $9 at a yard sale on saturday.  not expecting much.  :P03:40
_ds_Should be a 0.9144m sale these days, surely.03:42
blockheadI think he means as in https://www.merriam-webster.com/dictionary/yard  rather than the unit of measurement03:46
blockheadand congrats at only $9 for a laptop.  it if works you win  :)03:47
fluffywolfgrrrrrr03:48
_ds_blockhead, meaning 2 on that page is specifically American – we call that “garden” over here03:49
_ds_(well, in the first entry on that page)03:50
fluffywolfhttps://www.amazon.com/HP-Stream-Pro-Dual-Core-X1X66U8ABA/dp/B01N0NDFEX  laptop appears to be that03:51
Tenkawathis one?                                                                                                          : the grounds of a building or group of buildings                                                       \03:51
blockheadso "over there" you'd buy used junk at a garden sale?03:51
Tenkawauggh... formatting03:51
_ds_“the grounds immediately surrounding a house that are usually covered with grass”03:51
fluffywolfturns on to a cmos checksum error.  grr.03:51
blockheadbummer03:52
fluffywolflaptop looks _brand new_.  no sign of wear or use on keyboard or any other part of laptop.03:52
Tenkawa_ds_: where are you if I can ask?03:52
_ds_NE England03:52
fluffywolfseems to take ungodly long to boot.03:52
fluffywolf...  might be failing.03:53
Tenkawawe don't even specifically call that a yard here in the states "anymore"03:53
fluffywolfyeah, it's not booting.03:53
Tenkawawe "did" but it even changed03:53
_ds_Not really familiar with “yard sale”. Google says garage sale (but also references car boot sales).03:53
fluffywolfyard sale and garage sale are the terms for generic sales here, with estate sale for when someone dies and their relatives sell their stuff.03:53
blockheadshouldn't we all be in the offtopic area?03:54
_ds_Probably. Can we get back to that laptop?03:54
fluffywolfcan get into a bios of some form, but it won't boot.03:55
_ds_Broken disk?03:55
fluffywolf32GB SSD03:56
blockheadtry botting off a usb stick?03:56
fluffywolfit goes into a reboot loop just showing HP.03:56
fluffywolfrunning the bios'es self-diagnostic test now03:56
fluffywolfI selected "fast test" and it still has 14 minutes remaining.  lol03:56
Le_CoyoteHello, crowd.13:07
Le_CoyoteA long-time debian and gentoo user, I've just started using devuan. I was looking at using OpenRC, but for some reason, it's not fully working: the state of running services is not correctly reported by rc-status13:08
Le_CoyoteI'm not sure where to look for help13:09
Le_CoyoteSo far, search engine results are scarce and not on topic :/13:10
Le_CoyoteDoes this mean that Devuan supports OpenRC but that one should rewrite the init scripts by hand to make them work with it?13:19
jushurLe_Coyote:  what specific service is not shwoing as it should?13:24
Le_Coyotejushur: any service, actually13:26
Le_CoyoteFor example, if I boot the server, then issue "rc-service ssh stop" or just plain "/etc/init.d/ssh stop", the service stops, but rc-status reports it as running13:27
Le_CoyoteI think it comes down to the fact that default devuan init scripts don't source openrc's functions but use the default lsb ones13:27
Le_CoyoteIt's what I think, at least13:27
jushurI have some longtime memmory of this happening in gentoo when i wanted to speed up boot times by running things paralell instead of ordered.13:36
Le_CoyoteI don't think parallel start-up has anything to do with it, since I can reproduce it on a per service basis13:41
gnarfaceLe_Coyote: yea, that's the case but it's inherited from debian, and the thing about status not working is sometimes a separate bug or permissions thing...14:11
gnarfacewith a trivial alteration you can make it work like gentoo's or you can just install theirs14:11
gnarfaceactually the failure to start and stop might also be permissions14:12
gnarfacenot sure about that14:12
gnarfacei don't use it but people do and it has been discussed... perhaps in the forum?14:12
gnarfaceit does use the sysvinit scripts to start/stop but i thought status was supposed to work right14:13
Le_CoyoteWell, it doesn't :) What do you mean by "install theirs"? Copy their unit scripts you mean?14:32
gnarfacereplace the whole package14:32
gnarfacesomeone has an unofficial build around here somewhere already14:33
gnarfacebut i figured if you already run gentoo it might not be hard for you to make a debian package14:33
gnarfacei don't think the binary is different, i think some config scripts and a symlink is different14:33
gnarfacecopying their scripts might work14:33
gnarfacei just can't tell you details14:34
gnarfacebut, like i said, i do recall that's been done too14:34
gnarfacei'm sure it is in the irc logs if they go back far enough but i would think it's on the forum too14:34
gnarfacealternately you could just wait around for someone who has done it but it's not a super common choice14:35
gnarfacethere aren't a lot of openrc users in the first place and a lot of them after figuring out how the existing setup was intended to be used, decided to keep it14:36
gnarfacebut, this is a very common question from them14:37
Le_CoyoteI see. So sysv and runit are more common then?15:04
gnarfacesysv is by far the most common by a very large majority15:04
Le_CoyoteIt makes little difference in the end, but the output of rc-status is much more readable than that of service --status-all15:05
gnarfaceof the secondary ones, openrc is probably the most popular15:05
Le_CoyoteGuess I'll create a wrapper or sth then15:05
gnarfacei think if you wait here for a few hours someone more knowledgeable about it might show up15:05
gnarfaceit's just a slow channel15:05
Le_CoyoteOh no worries, I can sit here indefinitely :)15:06
fluffywolfa coyote!15:06
Le_CoyoteYes!15:07
* fluffywolf tries petting. :P15:10
Le_CoyoteHeh15:16
EmanuelLoos[m]Which source control systems (GitLab, Gitea, Kallithea, etc) are usable on Devuan (usable without systemd). I'd like to setup a self hosted one in a Linux-VServer container on my (private) Devuan server so I have one at hand if I need it. Thanks!17:54
XenguyDevuan's Git Store is currently running on Gitea:  git.devuan.org17:57
EmanuelLoos[m]Do you know about others too?17:57
XenguyNo, but idle awhile if you can, and others may respond eventually17:58
Hydragyrumgitlab should work fine on devuan, best way to run it is with docker, so it kinda Just Works™17:58
Le_CoyoteOoo another linux-vserver user, fun18:04
EmanuelLoos[m]Hydragyrum: I never really used Docker, it seems large and a bit too commercial to me. It seems like a lage essential dependency on a commercial software (a bit like systemd) to me. Just downloading images from Docker Hub seems not too secure and to my knowledge there have been some which included malware.18:04
HydragyrumEmanuelLoos[m], true, and gitlab does run outside of docker too -- it's just that it's easy and quick to run with docker. I run my personal instance through non-dockered LXC myself18:05
EmanuelLoos[m]Le_Coyote: Yeah, I have Nextcloud, Matrix Synapse and Postfix + Dovecot running insode Linux-VServer containers.18:06
Le_CoyoteLooks like my setup :) Except I'm migrating to LXC18:06
EmanuelLoos[m]Hydragyrum: I tried LXC too when I decided what to use for containers but decided to use Linux-VServer back then. There was also something fancier called LXD and everytime I searched for an issue it seemed like everyone was using that instead of plain LXC and I couldn't get it to work.18:11
Hydragyrumhttp://turnkeylinux.org <- has images (incl. iso, qemu, and lxc) for both gitlab and gitea18:11
EmanuelLoos[m]I normally prefer to set it up myself starting with a plan Devuan container. Then I know what's inside.18:13
Hydragyrumfair enough18:13
EmanuelLoos[m]*plain18:13
Hydragyrumhttps://about.gitlab.com/install/#debian <- may also work for devuan, I haven't used it before18:14
Hydragyrumhttps://docs.gitlab.com/ee/install/installation.html <- and for installation from source if that doesn't work (though if it doesn't, gitea would be easier for sure)18:15
EmanuelLoos[m]I tried to setup GitLab a while ago in a Devuan Linux-VServer container but couldn't get it to work (I don't know if that has anything to do with systemd, though). That is why I am asking.18:17
TenkawaEmanuelLoos[m]: if I do a dependency list of the "debian" package.. at face value it doesn't have any systemd dependencies18:24
Tenkawaapt-cache show gitlab | grep -i systemd18:24
Tenkawana@rpi4-1:~$18:24
Tenkawanow plugins/etc are a differet story of course18:24
Tenkawathis is:18:25
TenkawaPackage: gitlab18:25
TenkawaVersion: 13.4.7-218:25
Tenkawafor reference18:26
EmanuelLoos[m]It was the official installation script from the linked guide that failed.18:26
TenkawaEmanuelLoos[m]: would you be using x86 or arm?18:27
Tenkawa(so I can setup the right filesystem(18:27
Hydragyrumdebian also has a supported package that's different from the official recommended one18:27
TenkawaI'll test it out18:27
Tenkawaon one of my devuan boxes18:27
Hydragyrumit's only in sid, experimental, and stretch-backports on upstream18:27
TenkawaHydragyrum: correct18:28
EmanuelLoos[m]Tenkawa: As I said, it was a while ago.18:28
Hydragyrumso it might be on devuan's unstable branch18:28
TenkawaEmanuelLoos[m]: I mean if you were going to use it which arch would you be using it on?18:28
TenkawaHydragyrum: I can check that in about 3 seconds,.. I have one of those too18:29
EmanuelLoos[m]Tenkawa: x8618:29
Tenkawathe one is unstable is 13.4.7-218:37
Tenkawasame deps, etc on x8618:38
Tenkawas/is/in18:38
Tenkawajust checked my x86 vm18:38
EmanuelLoos[m]You mean this one works?18:40
Tenkawalet me try to run the installer18:40
Tenkawathere's the problem:18:45
Tenkawarunit-systemd18:45
Tenkawaline 3 of the Build dependencies18:45
Tenkawasoon as I started reading the instructions I saw that18:46
EmanuelLoos[m]Is it easy or hard to fix?18:46
Hydragyrumwith the source build you could work around that -- probably the only reason it depends on systemd things is because it's packaged for debian18:46
Tenkawait installs but its not going to "function" correctly18:47
Hydragyrumshouldn't be too hard to convert a systemd service to runit or sysv18:47
TenkawaI agree18:47
Tenkawalet me see how the rest looks18:47
Hydragyrumif it refuses to install, you'd probably need to make a dummy package and stuff18:48
Tenkawahaving to tweak here and there for versions..18:48
Tenkawa(gotta go afk for a bit but I'll be back)18:49
Tenkawalooking ok so far18:49
EmanuelLoos[m]Hydragyrum: Can it also be fixed in a way so it installs without problems for anyoune trying to install it or would that be difficult?18:52
HydragyrumEmanuelLoos[m], it shouldn't be too hard, but that'd need to be done in the devuan package repos18:53
EmanuelLoos[m]<Hydragyrum> "shouldn't be too hard to convert..." <- I tried to get Anbox to work with sysvinit once and those init scripts sometimes use systemd-specific features. I tried converting it using a software, though. But I also searched the web for those features after and couldn't find how to use them in sysvint scripts. Though I might have been missing something as I don't had and have much experience with sysvinit scrips.19:03
HydragyrumSomeone with experience in both systemd and sysvinit scripts shouldn't have much trouble -- I know a decent bit about both but wouldn't describe myself as qualified to make something package-quality, most of mine are pretty hacky19:06
EmanuelLoos[m]So, is there someone who does this kind of things for Devuan? Where should I report the issue? It is an issue if it is in the Devuan repos, right?19:12
Hydragyrumif it's in the repos and has dependency issues or fails to work properly in a normal install, it's an issue19:13
EmanuelLoos[m]And do you know where I should open the issue?19:14
Hydragyrumbugs.devuan.org19:17
Tenkawaback19:23
golinuxEmanuelLoos[m]: Debian packages are also served through the the devuan repos.19:23
golinuxMake sure the issue is in a package that has been forked by devuan ortherwise report it to Debian19:24
Hydragyrumgolinux, it's a bug with it requiring systemd, not an upstream bug19:25
golinuxAlso note that init scripts are disappearing at an alarming rate from debian packages19:25
golinuxI just skimmed the discussion19:26
golinuxAlso note to never use debian repos directly.19:26
Tenkawagolinux: init script disappearing vs being able to be used != the same thing19:26
Tenkawadon't confuse the issue19:27
golinuxThis conversation is out of my skillset but there are some general caveats that are often not known19:27
Tenkawaeven systemd has a mechanism to still call init scripts19:27
Tenkawagolinux: yes... but it is in some of ours19:28
golinuxOK I'll butt out19:28
golinuxhere and in a wider sense also . . .19:29
TenkawaEmanuelLoos[m]: do you have a specific version you want tested or is the latest ok?19:30
EmanuelLoos[m]Tenkawa: The latest is ok.19:30
Tenkawaok...19:31
Tenkawagoing to pull 13.4-stable19:31
EmanuelLoos[m]Why is gitlab in contrib and not main?19:38
EmanuelLoos[m]I just read that is because it uses yarn for some front end depandencies but what does that mean?19:40
TenkawaEmanuelLoos[m]: this should apply for Debian/Devuan/Ubuntu:19:41
TenkawaThe official Debian  distribution is what is contained in the main section of the Debian  archive. As a service to our users, we also provide packages in  separate sections that cannot be included in the main distribution due  to either a restrictive license or legal issues. They include: Contrib.19:41
Tenkawathe rest cut-off19:41
Tenkawabut thats what puts stuff in things like contrib, etc19:41
Tenkawanon-free, etc19:42
EmanuelLoos[m]Does gitlab include non-free (DFSG-non-free) software?19:42
EmanuelLoos[m]I thought the community edition was free software?19:42
Tenkawanot sure.. I'd have to poll all the depedencies19:43
TenkawaI think I see what is broke though19:44
Tenkawaat least in the instructions19:44
Tenkawathere's a few pkgs missing that it needs19:44
Tenkawathey don't tell you to install .. finding them all now19:45
Tenkawaneeded libdb5.3-dev libgdbm-compat-dev (on my system)19:48
Tenkawafor the Ruby tep19:48
Tenkawaer step19:48
EmanuelLoos[m]What does this mean?19:48
Tenkawaif you get errors on step 3 Go.. you need to install those packages with apt19:50
EmanuelLoos[m]I don't follow. Did you find non-free dependencies?19:51
Tenkawaoh.. sorry.. I was back building19:51
Tenkawafinding non-free is going to take a while19:52
Tenkawathats a lot of digging19:52
Tenkawanot all of them are straight forward.. some of them cascade19:52
Tenkawaahh I know how how I can check though19:53
Tenkawajust a sec19:53
TenkawaI can list .debs that are non-free19:55
Tenkawathat are installed19:55
Tenkawanow this also installs a lot from source so that is anyone's guess19:55
Tenkawaso far my query on installed packages is coming up clean19:55
EmanuelLoos[m]What are the other reasons the package could be in contrib?20:02
Tenkawano idea.. thats up to the distribution maintainer's discretion20:03
Tenkawabut that was the official one for Debian20:03
Tenkawahaven't seen Devuan give an official addendum20:04
TenkawaI won't be able to finish the whole install today but reading through these docs nothing in here is standing out from a technical standpoint why it "wouldn't" work on Devuan20:08
EmanuelLoos[m]So, should I still report the bug?20:10
Tenkawado you have any output? I never saw it myself20:11
EmanuelLoos[m]Tenkawa: No, I don't.20:13
Tenkawaif you are going to report a bug they are going to want data to work with.20:13
Tenkawaso unless you have output, tests you ran.. its not really going to be useful to report it20:13
Tenkawabecause it will just be closed since you can't reproduce it (unless you currently can)20:14
* EmanuelLoos[m] sent a code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/9fd3bd1f84f9f08fdfb912e684655f8b28553fd420:25
EmanuelLoos[m]Devuan ceres. Will try it with daedalus now.20:27
Tenkawaahh...20:28
Tenkawamissing packages20:28
Tenkawalet me try that section20:29
EmanuelLoos[m]<EmanuelLoos[m]> "Devuan ceres. Will try it with..." <- Doesn't seem to be in daedalus right now.20:36
TenkawaEmanuelLoos[m]: hmm apparently they also removed a bunch of the Ruby/Rails gems from the repo the last few days21:02
Tenkawareading posts on google now about others having problems with things like rugged, mimemagic21:02
Tenkawaetc21:02
Tenkawathe binary versions in that document that gitlab is looking for are no longer in the repo21:03
TenkawaI think I have found a workaround though.. testing21:06
Tenkawayour first error should be able to be fixed by running sudo gem install rugged21:07
Tenkawaworked here anyway21:07
Le_CoyoteHey maybe it's time to ask my question again. Is there a way to make Devuan use openrc's init tools,  so that service status is actually tracked? (ie. rc-status, not starting a service that's already started, etc)21:10
TenkawaLe_Coyote: which version of devuan?21:11
Le_Coyote3.121:12
Tenkawayeah its definitely supported21:12
Le_CoyoteOh I'm not saying it isn't21:13
Le_CoyoteI mean my services start properly21:13
Le_CoyoteBut if I manually stop a service, then rc-status doesn't seem to notice21:13
Le_CoyoteI think when init calls rcS, then openrc does its job21:13
Le_CoyoteBut when you call the init scripts individually, they call lsb-base stuff, and openRC isn't informed of the changes21:14
Tenkawawell from what I'm reading its because openrc is just "augmenting" the init system21:15
TenkawaOpenRC is a dependency based init system that works with the system provided init program, normally located at /sbin/init. It is not a replacement for /sbin/init21:16
Tenkawaso it doesn't really "control" things based on that description (but I haven't used it yet so that's purely speculation)21:17
Le_CoyoteBut the init part works fine21:17
Tenkawayes but the status's are still going to be owned by "init" from the sounds of things21:18
Tenkawaof any handlers21:18
Tenkawaso you would need hooks from those services back to a traditional sysvinit job state21:19
Le_CoyoteHmm not really. The status is simply a symlink that openrc's start-stop-daemon.sh drops in /run/openrc/started or something21:19
Le_CoyoteThe init scripts would need to be tuned to openRC, I guess21:20
TenkawaI need to switch one of my test boxes over and test it out.. like I said.. only sysvinit and systemd here21:20
Le_CoyoteI'll be sitting here for feedback when you have the time :)21:21
Le_CoyoteNo pressure or anything ofc.21:21
Tenkawaheheh I'm always around somewhere... actually is this a x86 box?21:21
Le_Coyotex86_6421:21
TenkawaI dont mind switchig my x86_64 one21:21
Tenkawaer switching21:21
Tenkawai have like 20 virts of those21:22
Le_CoyoteOn a Gentoo box, /sbin/start-stom-daemon belongs to openrc21:23
Le_CoyoteLet's check here21:23
Tenkawaok I just did the big for sweep loop21:24
Tenkawalol21:24
Le_CoyoteOn debian/devuan, /sbin/start-stop-daemon belongs to … dpkg21:25
Le_CoyoteThat's interesting21:25
Tenkawaok so there's still a bunch of /etc/rcS/rcK21:26
Tenkawaok... lets see21:26
Tenkawathe boot screen definitely looked a lot different with the OpenRC banner21:26
Le_CoyoteYep21:27
Tenkawaok.. rc-status matches the # of rcS entries in the initV runlevel21:29
Tenkawafor default the S* matched up exactly in rc2.d21:29
Tenkawalet me try stopping one21:30
Tenkawayeah... its not updating21:31
Tenkawait shows defaults nicely but statuses would be a lot nicer21:33
Le_CoyoteWhat if you replace the init's script's shebang with /sbin/openrc-run ?21:33
Tenkawajust a sec21:33
Le_Coyoteweird idea off the top of my head21:33
Tenkawaservice still starts/stops but no change on statu21:35
Tenkawas21:35
Le_CoyoteHmkay21:35
Tenkawagood idea though21:35
Le_CoyoteThe start-stop-daemon non-replacement then, perhaps21:35
Le_CoyoteMaybe that's a packaging mistake?21:36
Tenkawano I think its valid.. dpkg has to start-stop processes on occasions21:38
Le_CoyoteBut why would it own the binary, if it can depend on the init system?21:38
Tenkawait also does it in chroot situations sometimes21:38
Tenkawafor debootstrap21:38
Le_CoyoteHmkay21:39
Tenkawaafk for a few... need to go check on some stuff.. bbiaf21:40
Le_Coyote'aight, calling it a night. Seey'all22:30
Tenkawacheers22:37

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