libera/#devuan/ Tuesday, 2020-03-03

tom_work_How do I get libp2p on Devuan?01:38
rmzelnickHello all, how do I install docker on Devuan?02:00
gnarfacei think you have to find a build that doesn't require systemd02:05
gnarfacethere's info somewhere about it02:05
gnarfacemaybe people are using the old one still or maybe they're just using a custom build02:05
gnarfacei'm not sure02:05
rmzelnickI found a static build here https://download.docker.com/linux/static/stable/x86_64/02:08
gnarfacei've never used it so i can't speak personally for it02:08
rmzelnickIs is possible for me to add a Debian repository in sources.list?02:08
gnarfaceyes possible but completely advised against02:09
fsmithredrmzelnick, that would not be good02:09
fsmithredif it's not in devuan, it probably requires systemd02:09
gnarfaceas always, using software from outside the distro is not recommended or supported officially.  nonetheless many people get away with it02:09
rmzelnickOk I have added a key to my apt that belongs to Debian, was gonna install docker, but now I need to have it removed.02:09
gnarfacejust don't forget i recommended you make a full backup first02:09
fsmithredthe key won't hurt02:10
rmzelnickhow can I remove it?02:10
fsmithredapt-get remove debian-archive-keyring02:10
fsmithredbut you don't need to do it. I've noticed that I get that key sometimes (maybe always)02:10
fsmithrednot sure if I get it on regular install, live-sdk or debootstrap, but I'm sure I"ve seen it.02:11
rmzelnickOh this is bad..02:11
rmzelnickI installed NordVPN and added Debian packages to my distro02:11
fsmithredyou might even need it. I'm  not sure.02:11
fsmithreddo you know what packages?02:12
rmzelnickHold on I'm pulling up the installation instructions02:12
onefangDebian key ring is used to sign the Debian packages that Devuan uses, and should have been installed when you installed your Devuan system in the first place.02:13
fsmithredok, that's kinda what I thought02:13
fsmithredsince 99% of our packages come from debian unchanged02:13
onefangExactly.02:13
fsmithred'apt-key list' shows me a bunch of them02:14
rmzelnickLooking at my history, I just installed .deb using `dpkg` and use `apt-get install -f`02:15
fsmithredwith debian in sources.list?02:16
rmzelnickNo02:16
fsmithredno problem, then02:16
rmzelnickYea I only have Devuan in sources.list02:17
fsmithredyou installed a .deb file that was for debian, so it's also for devuan (as long as it doesn't need systemd)02:17
fsmithredif you're running ascii, you would use packages for stretch, and if you're running beowulf you would use buster packages.02:18
rmzelnickThis is so strange because I have a bunch of Debian keys in my apt-key02:18
rmzelnickbut it's all security related02:18
fsmithredyes, scroll up a few lines02:18
fsmithredI have nine debian keys02:18
rmzelnickand archive too02:18
fsmithredlike I said, most of our packages come from debian02:19
fsmithredjust a few that we fork to get them to work without systemd02:19
rmzelnickSo why not just install docker-ce? Does docker depend on systemd?02:19
fsmithredI think so02:19
fsmithredsome part of it does02:19
rmzelnickOk I know this sounds dumb, but isn't systemd compatible with init?02:21
gnarfacelol, no02:22
rmzelnickI'm pretty sure I was able to manage my runlevels using a sysv utility tool02:22
rmzelnickhttps://packages.debian.org/jessie/sysv-rc-conf02:22
rmzelnickThis one  ^02:22
gnarfacei highly doubt it, but it's irrelevant anyway02:23
gnarfaceeven if it worked, that's hardly the only thing systemd breaks02:23
onefangI use sysv-rc-conf all the time, it's nothing to do with systemd.02:23
rmzelnickHave you guys had any success compiling a kernel to work with systemd before?02:24
rmzelnickI haven't and yet I remember meeting all dependencies02:24
gnarfacethe devuan kernel is the same as the debian kernel02:24
rmzelnickthe thing just wouldn't boot02:24
rmzelnickWhat's the difference between Vanilla and Debian kernel?02:25
gnarfacedebian adds a bunch of patches02:25
gnarfacelike dozens02:25
gnarfacesome of them eventually make it into the vanilla kernel and some don't02:26
onefangI think all the major distros patch the kernel.02:28
gnarfacei thought gentoo did not02:28
rmzelnickpatch the kernel?02:28
rmzelnickYes they do02:28
gnarfaceyea, but it's been a long time since i looked02:28
onefangYou probably get to choose your patches when you compile your kernel with Gentoo.02:29
rmzelnickI'm tempted to install this docker static but I'm afraid everything will go hay wire02:29
gnarfaceit might just be that they patch it now but they didn't last time i tried it (sometime before 2008)02:29
rmzelnickI actually come from02:30
rmzelnickgentoo02:30
gnarfacermzelnick: you could always try it in a chroot to protect your current install from dependency corruption if that's what you're afraid of02:30
rmzelnickGot tired of compiling, used debian w/o systemd for a long time and now decided to just use devuan02:30
rmzelnickAlso BSD mirrors were always down so I gave up on FreeBSD02:31
rmzelnickgnarface like a chroot jail?02:32
gnarfaceyes, exactly like a chroot jail02:33
gnarfaceyou can just use debootstrap to put a fresh install into the chroot02:33
rmzelnickoh yea02:34
rmzelnickuhm...02:34
gnarfaceyou'll need some disk space02:34
gnarfacea gig or two should be plenty02:34
rmzelnickI have plenty02:34
gnarfaceminimum size is around ~500MB without removing stuff by hand after the fact, but i don't know how much extra space docker dependencies take up02:34
rmzelnickso if I use debootstrap.. then I can install Debian stuff on my Devuan and use it seamlessly right?02:35
gnarfaceyes, and maybe that would dodge this problem entirely, but i didn't recommend this as a permanent solution02:35
rmzelnickwhy not permanent?02:35
gnarfacei meant that you could put devuan in the chroot then iron out the docker issues, so you know it's safe to put docker in your main install again.  then just delete the chroot when you're done with it.  that was what i was gonna suggest.  but it's up to you.02:36
gnarfacei don't think anything will stop you from running debian in a chroot on a devuan host02:36
gnarfacei haven't tried it myself02:36
rmzelnickI think so too, but I will need to use docker for work so err it's a necessity for putting bread on the table02:37
rmzelnickI have 1TB so I'll be fine02:37
rmzelnickI am gonna have to fetch keys from Debian02:41
rmzelnickE: Release signed by unknown key (key id DCC9EFBF77E11517)02:41
rmzelnicknvm02:45
clebighi11:47
gnarfacehi clebig, if you have any questions it is usually best to just ask them11:49
gnarfaceyou won't always get an immediate response11:49
clebigI know :)11:54
clebigI'm also a bit laggy in the way I interract with people/channels...11:54
clebigSo yes, I have a question regarding the "recent" GR about init. <question>I know devuan militated for a proposal where other non-systemd init would have their place, but finally proposal B was adopted. What does that mean for Devuan,then ? How do you see the future ? Do you think the Devuan team has/will have enough workforce to maintain the debian packages that would drop non-systemd init support12:20
clebig?</question>12:20
clebigI sorry, I'm sure this has been widely discussed here and there, but I couldn't follow up on it when that happened.12:21
clebigAnd I don't find anything regarding this topic on Devuan's website...12:21
MinceRit seems they're ignoring the result of their GR anyway and just do whatever's the worst for not using cancerd12:22
MinceRhttps://lists.debian.org/debian-devel/2020/02/msg00186.html12:23
MinceRPeople may or may not take those patches.12:23
MinceRIt's okay even if the reason they don't take those patches is they don't12:23
MinceRwant to support the alternate init system you are working on.12:23
onefangI think that's a subject for #debian-fork.12:24
clebigthanks for the link MinceR, I'm on it :)12:27
MinceRnp12:27
clebigBut that's nothing encouraging. So the question remains for Devuan. Even if only a few maintainers follow the Debian's new direction, it would have an impact on the workload for Devuan. But what if the decision is widely adopted by maintainers ?12:39
clebigFor the moment, Devuan maintainers are working as usual ? Is it like "wait and see" ?12:40
GyrosGeierthe sanest thing is to let the Docker people deal with it14:00
GyrosGeierphp now requires systemd-tmpfiles => php no longer works in Docker containers14:00
GyrosGeiermight make sense to position Devuan as a container OS :)14:01
MinceRmight make sense to abandon php14:01
GyrosGeierthat too14:01
GyrosGeierbut getting the cloud people on board would be a good source of contributors14:02
onefangI'm trying to abandon PHP, but too much stuff is written in it, will take some time to rewrite it all.14:03
* onefang goes to eat.14:03
GyrosGeierhm14:04
GyrosGeierit might make sense to have official Devuan images on Docker Hub14:05
MinceRindeed14:05
GyrosGeierproper multiarch images14:05
zatumilI think a universal operating system should distribute only a small number of binary images instead of images for every use case14:38
djphzatumil: so, LFS then?14:39
GyrosGeierDocker multiarch images are basically meta-images14:40
GyrosGeier"if you have amd64, use this"14:40
GyrosGeiertakes a bit of effort to build them correctly14:41
zatumilthe image must have debian-installer which downloads other packages14:41
GyrosGeierbecause you need infrastructure to debootstrap multiple architectures collect the hashes of the generated images, and combine them14:41
GyrosGeierno14:41
GyrosGeierDocker images are readymade installations14:42
GyrosGeierthey are especially not supposed to download more stuff on start14:42
GyrosGeierbecause start needs to be zero-cost14:42
GyrosGeierbasically, you'd ship the result of debootstrap with /var/lib/apt/lists and /var/cache/apt cleaned14:43
zatumilsoftware distribution requires downloading stuff14:43
GyrosGeierDocker works differently14:43
GyrosGeierit is made so you can cache things locally14:44
GyrosGeierso you don't need to download the same packages over and over again14:44
zatumilthats why local repositories exist14:44
clebigGyrosGeier: Devuan is already a kind of container+qemu-kvm OS for my organisation :)14:45
clebigwhen I say container, I thing LXC14:45
clebigtjink14:45
clebigthink14:45
clebigshit !14:45
MinceRyou could create a container with a general purpose image, install/uninstall packages, then make your own special purpose image15:39
GyrosGeierMinceR, that's what I'm suggesting: an "official" general purpose image17:54
MinceRand i'm agreeing17:54
GyrosGeierlike I can use "FROM debian:buster", and it just works17:55
fsmithredhttps://github.com/dyne/docker-devuan-builds18:41
fsmithredMinceR, GyrosGeier have you seen these? ^^^18:42
MinceRi haven't18:42
fsmithredsearch for 'docker images devuan' brings up a list on github with a few relevant hits, but this is the only one for which I know the dev. (Jaromil)18:43
fsmithredduckduck search, not github search18:43
GyrosGeierah nice19:40
GyrosGeierdidn't find these by searching for "devuan" on docker hub19:40
golinuxGyrosGeier: There is also this post on the Devuan forum: https://dev1galaxy.org/viewtopic.php?id=333119:43
golinuxSomeone is de-fanging php19:43

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