libera/#devuan/ Friday, 2020-11-06

suavedandyOh, wow. Tor actually did optimize it's interface for one-handed use.00:02
suavedandyThat's actually very sweet.00:02
suavedandyOh, wait. It was Mozilla's tweak. I'm impressed, Mozilla. Impressed.00:04
suavedandyI have no idea what's the use of bloated Samsung Internet by this point.00:06
fsmithreddude, you're rambling00:08
fsmithredbiab, need food00:08
clortrambling in offtopic pls00:09
suavedandyI was just testing Tor Browser on my phone along with Firefox.00:13
suavedandyThe interface has become much more comfy. I vm pleased.00:13
suavedandyHow is Tor so snappy?00:15
suavedandyWeird.00:15
golinuxMore fodder for offtopic, suavedandy00:18
golinuxPlease don't clog this channel.00:18
suavedandyOkay, okay.00:18
suavedandyI've messed up with the username.00:34
suavedandyIs there a way to change it?00:35
clortyes00:37
suavedandyThank you, kind sir.00:40
fsmithredafter the install you want to change your username?00:40
suavedandyI figured it myself anyway. Turns out that it's indeed usermod. I just needed to login as root.00:41
suavedandyI wrote my real name.00:41
fsmithredyeah00:41
suavedandyUser name.00:41
fsmithredthere's also a script called change-username00:41
suavedandyI got confoozed,00:41
suavedandyAnd then it asks for my real name.00:41
suavedandyAnd I'm like.00:41
fsmithredthat will change the name, home dir, and some other stuff00:41
suavedandy"I've already wrote it!"00:41
fsmithredI usually leave the real name blank00:41
clortwhere is this script00:41
fsmithredif you just want to get rid of that, you can edit /etc/passwd00:42
fsmithredclort, it comes with refractainstaller00:42
clortah00:42
fsmithredthe change-username part of the installer used to be a separate script. I kept it in the package.00:42
clortis there anything in refracta that shouldn't be in devuan installer?00:44
suavedandyNo.00:46
suavedandyDevuan's installer is dated and cumbersome.00:46
clortthe refracta.org doesn't help me understand 'why did i do this'00:46
fsmithredwhy did you do what?00:47
clortwhy did refracta author make it00:47
suavedandyAnd by Devuan's installer I mean the partitioning.00:47
fsmithredI made it as a way to install from live-CD00:48
suavedandyclort: *fsmithred00:48
fsmithredwithout having to build the iso with debian-installer, which is not so easy to do00:48
clortput that right on homepage then.00:48
fsmithredput what?00:48
clortotherwise its existence is obfusticated00:48
clort <@fsmithred> I made it as a way to install from live-CD00:48
fsmithredit's there on the refracta.org home page00:49
suavedandyclort: Refracta is MX Linux of Devuan.00:49
clortRefracta is an operating system designed for home computer users. It provides a simple and familiar layout that most users will find very comfortable.00:49
clortso is devuan00:49
clortactually the homepage does a pretty good job00:50
suavedandyDevuan is not MX Linux of Debian.00:50
suavedandyMX Linux as in Ubuntu.00:50
suavedandyBut Debian.00:50
suavedandyUbuntu Debian GNU/Linux operating system.00:51
suavedandyRegistered trademark.00:51
suavedandyDebian Foundation inc.00:51
suavedandyAll rights reserved.00:52
suavedandyclort: Heh, you like nitpicking, it seems.00:53
suavedandyOh, wait, it's #devuan00:53
suavedandyfsmithred: The installation went great.02:08
suavedandyThe only caveat is that your live image has OpenRC.02:09
suavedandyAnd for some reason OpenRC always complains that it can't stop anacron.02:09
suavedandyDon't know why.02:10
fsmithredwhat???02:14
fsmithredsuavedandy, you would only get openrc if you installed it or if you used the one openrc iso in my experimental folder02:16
fsmithredand you can't miss it - it has 'openrc' in the file name.02:16
specingIt's unstoppable mwahahaha!02:19
clortdevuan?02:21
clortopenrc?02:21
suavedandyYes.02:22
suavedandyDevuan OpenRC.02:22
clorti wonder what specing is referring to?02:22
suavedandyAh, never mind.02:22
suavedandyPerhaps the live image was with OpenRC.02:23
suavedandyI see good ol' SysVinit.02:23
suavedandyNo more problems, I guess. The Internet is once again back to normal after some toggling of the airplane mode and restarting of wpa_supplicant.02:24
suavedandyWeird machinations, I know.02:25
suavedandyBut hey, it worked.02:25
suavedandyAh, the only issue I haven't looked into is Cyrillic font.02:26
suavedandyI'll look into it after I get some sleep.02:26
suavedandyI got surprisingly far this time around.02:26
systemdleteI'm trying to forward packets on refracta.  I'm guessing it is the same as on devuan.  I have set up 3 machines for this purpose.  I have A (source) machine, B (where firewall runs and where I want to set up forwarding), and C which is a target system.04:34
systemdleteOn A, I run ping C.  Using wireshark on C, I can see C is receiving pings and responding.  But neither A nor B see the ping responses.04:34
systemdleteI'm using gufw/ufw and I've set up forwarding per their instructions.  B is dual-homed of course, with an interface facing A, and an interface facing C.04:35
systemdleteDo I need NAT to do this?   I was hoping to use gufw (and ufw) to accomplish this.  Seems like this should be simple.04:36
clortcould you document how you do that if you get it working04:37
clortcause i fail at that now too04:37
systemdleteBtw, A is a devuan Ascii system, B is a refracta system, and C is a different Ascii system.04:38
Hurgotronsystemdlete: One would need IP addresses, networks and routing to analyze04:45
systemdleteHurgotron:  Here is what I have configured:  A is 192.168.57.1, B is 192.168.57.2 (both on same leg) and B has 192.168.56.2, C has 192.168.56.18 (both on same leg)04:49
systemdleteI'll call them A-B network and B-C network, respectively.04:50
systemdleteA has default route to 192.168.56.204:50
systemdleteB has default route to 192.168.56.104:50
systemdleteC has default route to 192.168.56.1 also04:50
systemdleteHurgotron, for the moment, assume I am entering IP addresses only, no DNS etc04:51
Hurgotronboth /24 networks? A has default route to 192.168.57.2 and C to 192.168.56.2 ?04:53
systemdlete^^04:53
systemdlete(and yes /24)04:54
Hurgotronah sorry too slow today04:54
systemdletenw04:54
systemdletethanks for helping04:54
systemdleteI guess you can say that network A-B is 192.168.57.0/24 and B-C is 192.168.56.0/2404:55
Hurgotronright04:55
HurgotronBut where is 192.168.56.1?04:55
HurgotronYou just mention that as a route target and not as a host address.04:55
systemdleteThat's another router that takes packets to the Internet, but no need to worry about that now.  I'd be happy to hit 192.168.56.18 at this point!04:55
systemdleteHurgotron, I skpped some info04:56
systemdleteAll 3 systems hvae router entries for their own interfaces.  I thought that was obvious, sorry.04:56
systemdleteAlso, C does not need to hit A.  Just A getting out to C (and the Internet, later on, once this is figured out)04:58
systemdleteA and C are single-homed systems, just for clarity.04:59
HurgotronHmm, not sure what you mean, anyway. C needs to have a route to 192.168.57.0/24 with gateway 192.168.56.1 if you want to ping between a and C04:59
systemdleteThat's what I was afraid of.   Would NAT or masquerading solve this for me?05:00
systemdleteI think ufw can do NAT, but gufw does not have a way to do this directly.05:00
HurgotronYes, should work05:00
systemdleteWhat does this exact same scenario look like in IPv6?  Does IPv6 have NAT, or does its design obviate the need for NAT?05:01
systemdleteI vaguely recall reading about this years ago, but I forgot what it said now.05:01
systemdlete(I'm not serious about v6 atm, just curious)05:02
HurgotronShould not need nat, but needs more subnetting. Nice is the autoconfiguration with router advertisements.05:03
systemdleteHurgotron:  Thank you for confirming my suspicions.  I have something to work with now.   Greatly appreciated.05:03
Hurgotronanytime.05:04
clort'lets improve iptables, they said'05:37
r3bootyep, and instead of importing pf, they wrote nftables .. such a missed chance10:05
r3bootsystemdlete: not only does ipv6 do nat, it is being used to implement CGN, which means the end of e2e connectivity on the internet10:06
DPAI'm no expert in IPv6, I still haven't even gotten around to setting it up at home. But as far as I know, IPv6 doesn't require that ISPs use NAT.10:39
DPAWasn't it was even intended that every internet user would get a prefix with an entire block of addresses originally, to make it possible for10:39
DPAevery device in a local network to be globally addressable and reachable?10:39
sixwheeledbeastit wouldn't be required but they do, I assume was the point?10:42
r3bootit's not required, but it is possible10:42
r3bootAlso, re: ipv6, the article 'network service models' in this edition of IPJ explains the financial dynamics nicely: https://ipj.dreamhosters.com/wp-content/uploads/issues/2013/ipj16-2.pdf10:43
systemdletesadly, I am getting this error when I add the lines for NAT:  problem running ufw-init bad argument *nat11:55
systemdleteI ran the requirements script for ufw and it passed, no errors.  So it seems like I should have everything I need to do NAT11:56
systemdleteSeems like I need to add NAT table, but instructions did not indicate that specifically;  https://gist.github.com/kimus/931514011:58
systemdleteMaybe these instructions are out of date for newer releases of ufw11:58
systemdletenvm.  I think I missed a step...12:01
systemdleteyep.  Forgot to set the default policy instruction...12:01
RyushinI think I remember reading there was a systemd unit to sysvinit script convertor somewhere.  The only one I found online is 8 years old and is not working properly.  Anyone know of a new one?16:58
fsmithredRyushin, check upstream sysvinit packages. I think it's in there.17:03
RyushinAfter a few hours I couldn't find it, now I just did searching through the mailing archives: http://www.trek.eu.org/devel/sysd2v/17:03
Ryushinfsmithred: You're right.  It's in the new sysvinit source I guess.17:04
fsmithredMaybe this? sysvinit-utils: /lib/init/init-d-script17:05
RyushinFrom the email: Trek sent over a Bash shell script which accepts a systemd unit file as its sole parameter. It then digests the unit file and prints out an equivalent shell script and some debugging information. The shell script is called sysd2v.sh and is now included in the SysV init source code, under the "contrib" directory.17:06
RyushinGoing to try it out now.17:06
fsmithredapt-file can't find it in ceres17:08
fsmithredgotta go. bbl.17:08
Ryushinfsmithred:  Thanks have a great day.17:12
RyushinHere we go: http://git.savannah.nongnu.org/cgit/sysvinit.git/tree/contrib/sysd2v.sh17:14
Ryushinfsmithred:  I'm impressed!!  Script worked wonderfully converting the three Greenbone Security Scanner systemd unit files.17:25
RyushinThat is several hours worth of work saved.17:26
Wonkadoes anyone have any idea why g++-10, gcc-10, cpp-10 grow several hundred megabytes each from 10.2.0-15 to 10.2.0-16?18:53
crashoverrideram is cheap.18:54
Wonkanot for a 2011 macbook pro18:55
crashoverrideyeah well, that's what happens when you value form over function :)18:57
Wonkaback then, I valued it functioning longer than plastic cased devices. And I was right, it still runs.18:58
Wonkaall previous notebooks only survived about three years18:59
xinomilothinkpad from 2011, still runs fine19:01
Wonkathe ThinkPad R60 back then only did 3 years... but I was constantly lugging them devices around.19:02
coniferhi, iirc in the past when i connected a luks+lvm encrypted drive by usb i could mount the partitions when i entered the password, but now in beowulf this does not happen22:15
coniferi can see the unlocked luks volume in gnome disks with the lvm inside22:17
coniferbut it does not recognize the partitions in the lvm22:17
fsmithreddo you see any of it in /dev/mapper?22:18
coniferhow can i access these partitions?22:18
fsmithredcryptsetup luksOpen /dev/<encrypted partition> <some name>22:19
fsmithredvgchange -ay <volume-group>22:20
coniferthe luks is in /dev/mapper22:20
fsmithredmount /dev/mapper/<vg-lv>22:20
fsmithredso start with vgchange22:20
fsmithredyou can use vgdisplay to see what's going on22:21
coniferwhen i point cryptsetup luksOpen to the luks-[id] i see in /dev/mapper it says it doesn't exist or access denied22:24
fsmithredit's already open22:26
fsmithredstart with vgchange22:26
fsmithreddid you already give the passphrase for it?22:26
fsmithredor is there a keyfile?22:27
coniferi entered my password and it looks open in gnome disks22:27
fsmithredok, so it is open22:27
fsmithredyou need to activate the lvm22:27
fsmithredvgdisplay to find the names22:28
fsmithredvgchange -ay <volume-group>22:28
coniferwhat do i need for vgdisplay to work? is liblinux-lvm-perl enough?22:29
fsmithredI don't know. I assume that you get whatever you need with lvm222:29
fsmithredyou need to be root22:29
coniferoops, tried to run it from non-root term22:30
conifervgchange worked and now i can access it through gui22:33
coniferthanks a lot! :)22:33
suavedandyfsmithred: So I was using these instructions on how to prevent entering an encryption key twice.22:39
suavedandyhttps://is.gd/HkC7jH22:39
suavedandyThe problem arises with the second step.22:39
suavedandyThere is no /etc/mkinitcpio.conf22:40
suavedandyAnd so I don't really know what to do.22:41
clortwe have no package providing mkinitcpio.conf22:44
suavedandyAlright, I'll try another method.22:47
suavedandyfsmithred: I like how you made fstab clean.22:51
suavedandyLooks very compact.22:51
suavedandy( umask 0077 && dd if=/dev/urandom bs=1 count=64 of=/etc/keys/root.key conv=excl,fsync )22:53
suavedandyDo brackets actually do anything here?22:53
fsmithredsuavedandy, where are you looking?23:10
suavedandyhttps://cryptsetup-team.pages.debian.net/cryptsetup/encrypted-boot.html23:11
fsmithredok, I took a quick look, and it makes no sense to me23:14
fsmithredlooks like the keyfile goes into the initramfs, which I assume is in /boot which is encrypted. How do you get in?23:15
fsmithredor does it just boot automatically with the key for anyone who powers it up?23:15
suavedandyFollowing the instructions.23:19
suavedandyEverything seems to be working well so far.23:19
suavedandyUnlike my previous try with these instructions.23:20
suavedandyBetter not screw up again.23:20
fsmithredmaybe grub takes the password and then the initramfs uses the keyfile23:20
suavedandyI just realized that when I tested micro I pressed Alt+Right.23:27
suavedandyAnd that opens the next TTY.23:27
suavedandyIt's not micro being glitchy. It's me being an imbecile.23:27
suavedandyfsmithred: Yay! It worked!23:45
suavedandyMinus one problem.23:46
fsmithredwhat's that?23:46
suavedandyfsmithred: With the guide I followed there is no more asking for the encryption password twice.23:53
suavedandyI only need to enter the password once.23:53
fsmithredyeah, makes sense.23:53
suavedandyYou set up the encrypted boot installation right but the password still needs to be entered at the initramfs stage.23:54
suavedandyI think adding the fourth script from the guide to the installer would be a good idea.23:55
fsmithred my problem with fde is that grub takes too long to respond to the pass23:55
suavedandyThere's also a section on booting optimization.23:55
suavedandyThe last part of the third section, to be precise.23:57

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