libera/#devuan/ Monday, 2019-08-19

Kizanook... I'm confused...00:42
KizanoE: Couldn't find these debs: lvm2 xfsprogs tree libssl-dev nano software-properties-common command-not-found python-dev sudo debconf-utils syslog-ng-core unzip curl python-setuptools zip wget linux-headers-amd64 locales realpath e2fsprogs00:42
Kizano^ when attempting to debootstrap devuan ...00:42
gnarfaceKizano: most common causes are you are using the wrong mirror url or you're using an unpatched debian version of debootstrap00:42
Kizanoroot@localhost:/devuan $ debootstrap --version00:43
Kizanodebootstrap 1.0.87+devuan100:43
Kizano:o00:43
gnarfaceKizano: there's a slight chance you just got unlucky and hit a mirror that was currently in an update cycle though, so always try a second time00:43
gnarface(i'm assuming you remembered to run "apt-get update" first)00:44
Kizanook, now that is weird... LoL - I get a different package list on each run xD00:44
Kizanodoing `debootstrap` instead of an in-place upgrade with `apt-get update && apt-get dist-upgrade`00:45
gnarfaceyea... probably just the mirror having temporary fits.  try deb.devuan.org, the mirror fan-out DNS entry00:45
Kizanookies00:46
Kizanoisn't lvm2 part of ascii-main ?00:46
gnarfacei'm not sure off the top of my head.  you can check at pkginfo.devuan.org though00:47
Kizanosays it came from Debian-main, so I assumed it would be the same.00:47
gnarfaceit should be, i just don't know for sure00:47
gnarfacemost the packages are the same00:47
gnarfacei just don't keep an inventory in my head, and i also don't use lvm00:48
Kizanohttps://pkginfo.devuan.org/stage/ascii/ascii/lvm2_2.02.168-2.html00:48
fsmithredyes, lvm2 is in main00:48
Kizanousing http://deb.devuan.org/ yeilds same result :/00:48
fsmithreduse pkgmaster.devuan.org and see if that works better00:50
Kizanoaaah00:50
fsmithredfor debootstrap and consequently live-sdk, deb.devuan wasn't working earlier this year00:50
Kizanoit was `/devuan` as opposed to `/merged`00:50
fsmithredthat'll help00:51
Kizano=)00:51
nexgenhello, does debian add more init systems?05:21
nexgenI see openrc and runit in Debian repo, not in Devuan05:21
nexgenis Devuan different anymore?05:22
saptechnexgen, I've read that it takes more work to setup openrc or runit with debian. From my understanding, debian doesn't install by default05:31
nexgenearlier Debian was bound to systemD very tightly05:31
saptechyes05:32
nexgenit was not possible to avoid it for many packages, did it change since that?05:32
nexgenwas not possible to avoid systemD in Debian05:32
nexgenthat is why I migrated to Devuan a year ago05:32
saptechI'm not sure. I've read one can use openrc but it takes work05:32
nexgenjust apt-get work? a few of commands or recoding source of 300 packages ? :)05:33
saptechthis may be good question to ask in #debian05:34
nexgenand why there is no Beowulf release files?05:34
nexgenISO05:34
gnarfacenexgen: beowulf isn't released yet, and the only people who have problems with openrc are the people trying to get it to run stand-alone.05:34
gnarfacenexgen: (it runs along side sysvinit in debian and devuan)05:34
gnarface(note that's different from how gentoo's package is set up for it)05:35
gnarfacenexgen: oh, scratch that.  i just remembered people were having trouble running in lxc too05:37
nexgenI cannot understand, is Devuan any different from Debian anymore?05:38
nexgen#debian told me they are going to make systemD optional in sid05:39
nexgenif I understood correctly05:39
Unit193That's not exactly what I said.05:39
nexgenthen Devuan is still very useful05:40
nexgenI hate systemD05:40
gnarfacenexgen: devuan is still different from debian, but it's probably worth noting that the intent was always to make as few changes as possible05:40
Unit193I'm able to have a full Xfce desktop (policykit, etc) without systemd (presuming we can pretend udev isn't systemd)05:41
gnarfacenexgen: and i did hear that some openrc work was making it back upstream.  i wouldn't consider that a reason to panic.05:41
nexgenif I download all files and directories under https://pkgmaster.devuan.org/merged/pool/DEVUAN/05:41
nexgenis these all file to secure me from Devuan mirrors be banned of offline sometimes?05:42
nexgenat least for ascii05:42
nexgen*are these05:42
gnarfacei am not sure05:43
gnarfacebut most the packages actually come from devuan05:44
gnarfacesorry, i mistyped; that should be most the packages actually come from debian05:44
gnarfaceso there's only two cases.  either you get only the packages devuan changes, or you get literally all the packges.  neither of these choices are probably what you want.05:46
gnarface(since there are terabytes of packges)05:46
nexgenI see how this merge works, just wonder if there is something else except https://pkgmaster.devuan.org/merged/pool/DEVUAN/05:46
gnarfacei'm not sure if that one contains security and volatile updates05:46
gnarfacei think merged implies it does contain the debian packages, but even that i'm not 100% sure of, since they'd be served by redirect05:47
nexgendoes apt-mirror work for Devuan?05:47
gnarfacedunno that for sure either, but stuff like that, if it doesn't work, usually only takes a trivial change05:47
nexgenit downloaded about 150Gb05:48
nexgenI am not sure for which distro (deb or dev) and for which release05:48
gnarfacesomeone was saying there's about 300 patched devuan packges05:48
gnarfaceso that sounds about right05:48
gnarfacefor just the devuan ones05:48
nexgenhttps://pkgmaster.devuan.org/merged/pool/DEVUAN/05:48
nexgenis only about 2.5 GB05:49
gnarfaceoh hmmm05:49
gnarfaceseems like that's not a way to get a full mirror then05:49
gnarfacedid you use wget -r?05:49
nexgenhttrack05:49
gnarfacemaybe it just has a recursion limiter?05:49
nexgenit is a tested script to download whole website mirrors many times05:49
gnarfacewell05:50
gnarfaceif you want a mirror, there are instructions on how to make one05:50
nexgenOptions1=" --depth=100 --tolerant --urlhack -u2 -%v2  --advanced-maxlinks=999999999 ";05:50
nexgenUserAgent1="Mozilla 1.0, Sparc, Solaris 23.54.34";05:50
nexgenUserAgent2="Mozilla/5.0 (X11;U; Linux i686; en-GB; rv:1.9.1) Gecko/20090624 Ubuntu/9.04 (jaunty) Firefox/3.5";05:50
nexgenOptions2=" --connection-per-second=50 --sockets=80 -s0 --keep-alive --display --verbose --advanced-progressinfo --disable-security-limits --near --clean ";05:50
gnarfacebut it is big, to have a full mirror05:50
nexgenhttrack "$URL" -O "$Dir" -F "$UserAgent2" $Options1 $Options2; # -F "'$UserAgent'"05:50
gnarfaceany way to tell if it is hitting the limit on --depth?05:51
gnarfacealso, will it obey http redirects?05:51
nexgenI am not sure05:51
gnarfacelike, redirects that go to a different host05:51
nexgencounted only per file05:51
nexgenis there more depth than 100 per each file?05:52
gnarfaceseems unlikely but i try not to make assumptions05:52
nexgenwill learn apt-mirror syntax, will play with it more, compare files with httracked from devuan05:53
nexgenand then we will have more details for a discussion05:53
gnarfaceoh, another thing is that might only be binary packages.  there are source packages in the repo you need too if you're talking about a full mirror05:53
gnarfacemost people don't actually need a full mirror, most people get fine with a caching proxy05:54
gnarface*get by fine05:54
nexgenwas looking for only binary packages yet05:56
gnarfaceyou need to also consider which architectures you wannt05:57
gnarfacewant*05:57
nexgenyes05:57
gnarfacethere are packages for several cpu architectures as well as some generic ones that go with everything05:57
nexgenbtw, are there any scripts like ARM SDK to rebuild whole Devuan from sources?05:58
nexgenmay be in Gentoo05:58
gnarfaceyes, there's scripts05:58
nexgenare they available to public?05:58
gnarfaceof course.  git.devuan.org05:58
nexgenexcellent05:58
gnarfaceremember for beowulf while it's not stable yet, you just need "beowulf" but for ascii you need "ascii" "ascii-updates" and "ascii-security"05:59
gnarfacewell, technically you don't *need* "ascii-updates" and "ascii-security" but they come highly recommended06:00
golinuxnexgen: This might clear some of the fog.  https://pkgmaster.devuan.org/devuan_mirror_walkthrough.txt06:00
gnarfacethanks golinux06:00
golinuxAnd this too: https://pkgmaster.devuan.org/bannedpackages.txt06:00
Unit193HUh, arctica-greeter and ayatana-indicator-session.06:02
nexgenvery helpful, thanks06:03
nexgencan you please point me to the script to do the whole complete rebuild of the Devuan part of merged distro?06:03
gnarfaceit is in there somewhere, i don't know where it is myself06:04
nexgenwhich rebuilds everything Devuan related by running a single script06:04
golinuxThere are other ways to do it.  That just explains how the Devuan repos are set up.06:04
nexgenis it done the same way as for Debian?06:04
golinuxhttps://www.youtube.com/watch?v=I7qE43KK5bY&feature=youtu.be&t=497606:04
golinuxfrom the April conference.06:05
golinuxAnd this is the merging magic: https://git.devuan.org/devuan-infrastructure/amprolla306:06
nexgenand a funny question is it possible to have systemD in Devuan if I need it sometimes for a software like MSSQL? :)06:06
nexgenmost likely then I have to use Debian06:06
golinuxIf you want systemd, just use Debian.06:06
nexgenI prefer systemD free on all my hosts, but sometimes need some proprietary soft in a single vm06:07
golinux"need" is a very relative concept.06:07
nexgenI am used to MSSQL and DB206:07
nexgenand do not want to learn again  to PostgreSQL06:08
nexgenthough I even wrote some programs using PostgreSQL06:08
gnarfaceyou can't run systemd in devuan without changing it back into debian06:08
nexgenI find these two proprietary DBMSes hardly to replace for myself06:08
gnarfaceand at that point you have a frankenstein system, which even debian would advise against06:09
nexgen:)06:09
gnarfacebeing part debian and part devuan, this system will exist in two worlds, yet belong in neither06:09
nexgenbtw, IBM DB2 v10.5 seems to not depend on systemD yet, it runs on Devuan fine06:09
gnarfaceand the next time you try a major upgrade, it will probably trash the install06:09
nexgenthough not sure about recent versions of DB206:09
golinuxCheck  the blacklist link above06:10
nexgensure I will not try to use systemD in Devuan06:10
golinuxAnd also here: https://pkginfo.devuan.org/06:10
nexgenit would be silly06:10
golinuxIndeed it would06:11
nexgenbtw, how much Devuan is used in production?07:20
nexgendo you have some counter at repos about how much installations are done?09:11
drawkulahttps://popcon.devuan.org/09:12
drawkulaprobably only a fraction of users installed the popularity contest program and activated it09:13
drawkulaso probably there is no reliable estimation of installs09:13
Centurion_Dannexgen: I have used Devuan in production across a number of internet facing servers and services for about 4 years.09:35
nexgenis it hard to find an admin job related to Devuan?09:38
nexgenmay with development too (automation in mono, bash, etc.)09:39
nexgenI guess it may be possible to find admin jobs for Debian at first and then convert them to Devuan after permission received :))09:40
nexgenso we will revert thing back as they were expected to be going before systemD attacl09:40
nexgen*attack09:41
ErRandircd10:05
xkr47drawkula, how is the "number of votes (recent usage)" counted?10:20
drawkulaapt show popularity-contest10:21
drawkulathat sends a list of installed packages/versions to the server10:21
drawkulaI think it was invented by debian to select which packages should be on which install-CDs10:22
drawkulato increase the chance that a typical install would use only the 1st CD10:22
xkr47nice10:22
Centurion_Dannexgen: I think Devuan is very niche still, although the skills are transferrable.  I've migrated some client systems from Debian, and built others from scratch.  Some of them are former clients, and I don't know how much has changed since that contract finished.10:25
fr33domlovero/15:06
fr33domloverI tried installing Devuan ascii with encryption+LVM, the resulting system fails to boot (it cant find root partition and never asks for dm-crypt password, just throws me into initramfs shell after a minute)15:07
fr33domloverThen I tried graphical install with plain default no-encryption partitioning, it works15:07
* fr33domlover is unsure what to do; tried to inspect harddrive using Trisquel live system, but it didn't even recognize the harddrive15:09
fsmithredfr33domlover, do you have a separate, unencrypted /boot partition, and is this bios or uefi?15:17
fr33domloverfsmithred, what I did is (1) choose guided partitioning with encrypted LVM (2) remove the home and root volumes and create new ones, because I want to have different sizes than the default (3) apply. So yeah there's 1M free space, then ESP partition, then /boot, then encrypted space with LVM home/root/swap inside it15:19
fr33domloverfsmithred, UEFI15:19
fr33domloverIf it fails again I'll try the same except without changing sizes, just use default as is :p15:20
fsmithredI always use manual partitioning15:21
fsmithredencrypted with or without lvm can be tricky. I usually get it wrong a couple of times before I do it right.15:21
fr33domloverfsmithred, same for me, every time, but I'm never sure why it doesn't work15:22
fsmithredif it fails to boot after reinstall, don't wipe it. We can rescue it.15:22
fsmithredmy theory on why it doesn't work is 'shitty ui'15:25
fr33domloverfsmithred, yay it worked!! The only different thing I did was to use graphical install (which means I didn't get to choose some stuff, e.g. LVM group name was chosen for me, and locale too)15:25
fsmithredok15:25
fsmithredif it's lvm, you can change partition sizes pretty easily15:25
fr33domloverfsmithred, the UI is a bit weird but it looks like the weirdness is in how it works behind the scenes15:25
fr33domloverfsmithred, I did change them to my preferred size, graphical install let me do that ^_^15:26
fsmithredyeah, it's a strange path you have to take15:26
fsmithredcool15:26
fsmithredchanging partition sizes in a running system is an exercise in sweating bullets15:26
fr33domloverI'm glad it finally worked ^_^ without post installation hacks15:29
fr33domloverBut also sad that it was so difficult15:29
fr33domloverI wish people could just install in <30 minutes15:29
fsmithredlive-iso is about 10 minute install15:29
fsmithredbut you don't get to choose packages15:29
fr33domloverfsmithred, yeah I mean a 10-minute install where you get to encrypt your stuff ^_^15:30
fr33domloverNot sure why it's not the default yet in 2019!15:30
fsmithredlive installer does encryption, but not lvm15:30
fsmithredcan encrypt / and /home15:30
fsmithredwith swap file on root partition15:31
fsmithreddon't need encryption on your home computer unless you think someone will steal your hard drive15:31
fsmithred(or you think you might send it back to the factory)15:32
fr33domloverfsmithred, well you can never be sure, right? I carry my laptop with me to places, it has very personal stuff, I wouldn't want anyone having access to it15:32
fsmithredlaptop should be encrypted15:33
fsmithredmaybe booby-trapped, too15:33
fr33domloverfsmithred, there's also a weird issue where during shutdown it wais for encrypted volumes being busy, eventually giving up but it makes shutdown much slower15:53
fr33domloverNot urgent, I hope I can figure out this one too ^_^15:53
fsmithredthere are fixes for that15:53
fsmithredhave to edit /lib/cryptsetup/cryptdisks-functions15:54
fsmithredhttps://dev1galaxy.org/viewtopic.php?pid=11522#p1152215:56
fsmithredmight be cryptdisks.functions (they changed the name one way or the other)15:56
fr33domloverfsmithred, cool, I'll try. On there's something more annoying: When doing default UEFI boot, the thing I mentioned with root partition not found happens. The only way I get the system to boot is to keep the default boot mode as BIOS, press F12 on power-on, manually select devuan UEFI15:56
fr33domlover(I'm still testing to verify that this is what makes the difference)15:57
fsmithredwhich grub is installed? grub-efi or grub-pc?15:57
fsmithredand what kind of computer is it? (make/model)15:59
fr33domloverfsmithred, I think grub-efi but 1 sec will verify. Ah cool I don't have to switch to BIOS, I just need to press F12 and manually choose devuan (I also have usb stick inserted, maybe that confuses the laptop? I'll try without it)15:59
fr33domloverfsmithred, dell xps15:59
fsmithredok, there might be some special instructions for that15:59
fr33domloverHmmm nvm looks like I have to make BIOS mode the default15:59
fr33domlover(but use UEFI, chosen manually)16:00
fr33domloverfsmithred, debian wiki doesnt say anything about that16:00
fsmithredhttps://dev1galaxy.org/viewtopic.php?id=233016:00
fr33domloverThanks fsmithred, I'll try whatit says there16:04
fr33domloverHm yes, super weird. (1) Set the default boot mode to BIOS (2) Restart, press F12, manually choose devuan UEFI boot. *Now*, when devuan boots, it does find the encrypted volume and ask me for its password16:05
fr33domloverAt least I can consistently boot now haha16:06
fr33domloverI'll look into making this work without the weirdness16:06
fr33domlovero/22:54
fr33domloverRight after installation I run wicd-curses and it fails with "unknown locale en_IL"22:55
fr33domloverHow do I fix that22:55
fr33domloverI tried dpkg-reconfigure locales but didn't help22:55
drawkulain a new shell?22:56
fr33domloverdrawkula, yup22:56
fr33domloverdrawkula, I mean tried to log out, log in again, still got the error22:57
fr33domloverIt did say "generating locale en_IL.UTF-8" but wicd-curses can't find it, it seems22:58
Akulimaybe try to run wicd-curseswith some other locale?22:58
Akuli$ LANG=C.UTF-8 wicd-curses22:58
FatPhilany ideas how to diagnose why my (MSI Cubie) case fan refuses to spin down to its lowest setting (which might well be off, it's practicall silent when behaving)22:59
FatPhiltop says nothing's above a fraction of a %, powertop says the cores/CPUs are 99% idle.23:00
fr33domloverAkuli, that works but I do want programs to work with the actual locale I chose :)23:01
Akulifr33domlover, what is the output of 'locale' on your system?23:01
specingFatPhil: probably a hardware failsafe23:02
fr33domloverAkuli, LANG=en_IL LANGUAGE=en_IL:en and then lots of other stuff set to "en_IL"23:03
Akulihmm why does that not end with .UTF-823:03
Akulimy system gives LANG=fi_FI.UTF-8 etc23:03
fr33domloverAkuli, idk that's what the devuan installer did, I wondered too why it's like that23:03
fr33domloverMaybe that's the problem?23:04
Akuliwhat does this do?  python3 -c 'import locale; locale.setlocale(locale.LC_ALL, "en_IL.UTF-8")'23:04
FatPhilspecing: yeah, I'm just trying to sniff around the kernel's vfs's looking for something that looks like it might reflect component temperatures23:04
fr33domloverYup, LANG=en_IL.UTF-8 wicd-curses works23:04
drawkula\o/23:05
Akulihmm23:05
specingFatPhil: install lm-sensors, then do $ sensors in terminal23:05
Akulifr33domlover,  add 'export LANG=en_IL.UTF-8' to your .profile :D23:05
specingshould print all them temperatures23:05
fr33domloverAkuli, where do I add it to make it safely work across the whole system, all users?23:06
Akulihmm i found /etc/default/locale23:06
Akuliand a command named update-locale23:07
fr33domloverI found a file /etc/default/locale but it seems auto generated23:07
Akulii wonder if the dpkg command calls update-locale23:07
drawkulain /etc/locale.gen some entries end in .UTF-8 and some don't and I dont see why23:08
drawkulae.g. en_IL vs en_NZ23:08
Akuli/etc/locale.gen seems like the right place23:08
drawkulathe uncommented ones are the ones to generate23:09
Akulihmm this is weird23:09
Akuliwhy does the name not end in .UTF-8 lol23:09
Akulii wonder what would break if you added .UTF-8 at the end23:09
FatPhilspecing: coretemp-isa-0000 is hottest at a modest 54C ("high"=105C)23:11
Akulithere is fi_FI.UTF-8 in /etc/locale.gen but there is no /usr/share/i18n/locales/fi_FI.UTF-823:11
Akulithere is however /usr/share/i18n/locales/fi_FI23:11
Akuliso it might actually work if you just add .UTF-823:11
fr33domloverI added it in /etc/locale.gen23:12
fr33domloverBut LANG=en_IL.UTF-8 <program> was already working23:12
James1138What about manually upgrading wicd-curses?  https://packages.debian.org/search?keywords=wicd-curses23:12
fr33domloverI just need to set en_IL.UTF-8 to be the system locale instead of en_IL23:13
fr33domloverWhere do I change that? ^_^23:13
James1138ok23:13
golinuxfr33domlover: Just curious and possibly irrelevant but do you have any ".gmo" files on your system?23:13
Akuliwhat are .gmo files?23:13
moritonI'm upgrading to Beowulf. The GRUB installer complains that /usr/share/locale/bg.gmo can't be copied to /boot/grub/locale/bg.mo since it's a catalog, and that GRUB therefore can't be installed. Since I already have a version of GRUB installed, should I continue anyway?23:13
golinuxAkuli: https://dev1galaxy.org/znclog/?tz=-900&all=y&T=[23:31:25]&I2RldnVhbi1pbmZyYS8yMDE5LTA4LTA5LmxvZwo=#T23:14
golinuxmoriton: ^^^23:15
golinuxThere is discussion of that elsewhere also.23:15
drawkulaI emptied /boot/grub/locale/ and then reinstalled grub23:15
drawkulamaybe make a complete backup of /boot before this23:16
moritonI'll try that.23:16
fr33domloverYay problem solved, dpkg-reconfigure let me set system locale to en_IL.UTF-8 and now wicd-curses works23:19
moritondrawkula: What command do I use to reinstall grub?23:24
drawkulasudo grub-install /dev/yourHD23:24
drawkulabut look at the manpage 1st23:25
drawkulaI never needed more than the arg for the disk. but I dont have ÜFI or other magic here23:26
drawkulaor reinstall all grub related packages23:26
drawkulathen the installer questions should reappear23:27
moritonSo if I just remove all the .gmo dirs from /usr/share/locale it should work?23:31
drawkulajust try... you have a backup23:33
drawkulaI think I emptied /boot/grub/locale23:34
drawkulathen grub-install, reboot23:34
drawkulaand then reinstalled all grub packages23:35
drawkulato have exactly beowulf's stuff in there23:35
golinuxAnother testimonial: grub threw errors while trying to run grub-install. It complained about [locale].gmo directories in '/usr/share/locale'. I looked up those directories using apt-file, but no packages were responsible for them. I deleted all the [locale].gmo directories in /usr/share/locale and grub was happy and worked fine. I still don't know what created those directories. This warrants further investigation23:35
moritonAll right. I'll try a reboot now.23:36
drawkulagolinux: I threw away stuff that grub-install wanted to overwrite, not files registered with the packaging system23:37
rrqgolinux: that "gmo" thing is fixed (it was down to ConsoleKit2), and the patch is now in unstable.23:37
drawkulao.O23:40
moritonAyup, that worked fine.23:40
drawkularrq: has the long explanations23:40
golinuxHe always does.  :D23:42
golinuxmoriton: While you were away:23:43
golinux<rrq> golinux: that "gmo" thing is fixed (it was down to ConsoleKit2), and the patch is now in unstable.23:43
golinuxI'm just the librarian . . .23:43
moritonGuess I just had poor timing, then23:43
golinuxirc can move fast23:44
golinuxAnyway, you should probably upgrade the patch23:45

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