tuxd3v | hello all, | 01:03 |
---|---|---|
tuxd3v | in beowulf, does any one is experiencing problems in gparted not being able to read 'ext4' filesystems? | 01:04 |
MentalPatient | Anyone know if Pi-Hole works on Devuan? | 02:14 |
gnarface | i don't know, but i strongly suspect you could manually make the same changes | 02:16 |
gnarface | isn't it just a bunch of iptables and dns settings basically? | 02:16 |
gnarface | a raspbian deb might install and work or might install and break, or might need to be recompiled without patching or might need patches even just to change "raspbian" to "devuan" ... there's no way to know without trying but it will definitely void your warranty | 02:18 |
MentalPatient | No idea, I know their install fails with 'os not supported' on alpine. :-) | 02:18 |
MinceR | there's warranty? | 02:18 |
gnarface | MinceR: technically yes but it just explicitly states that there is no warranty | 02:19 |
gnarface | in #debian they would also say "if you break it you get to keep all the pieces" | 02:19 |
MinceR | :> | 02:26 |
jsxof | Hi. Are utils such as lsblk, fdisk, poweroff etc. missing for you after doing a dist-upgrade from ASCII to Beowulf? | 16:04 |
fsmithred | jsxof, no, I didn't lose those things. | 16:04 |
fsmithred | but root's path changed in beowulf | 16:05 |
fsmithred | use 'su -' instead of 'su' to get root's real path (inclucing sbins) | 16:05 |
fsmithred | or... | 16:05 |
fsmithred | use the full path to the command | 16:05 |
jsxof | fsmithred: Oh, everything works now. Thanks. | 16:06 |
fsmithred | hang on and I'll get the fix for you | 16:06 |
jsxof | Oh, BTW, there might be something wrong with initramfs-tools or dropbear-initramfs. Somehow the initramfs doesn't have lsblk required for cryptroot-unlock script to work. | 16:09 |
fsmithred | did you encrypt your root partition? | 16:09 |
fsmithred | and if so, did you use '--type luks1' format? | 16:10 |
jsxof | Yep. I mean, it worked back on ASCII, but after upgrading to Beowulf something went wrong. Give me a moment and I'll show you what cryptroot-unlock prints out. | 16:11 |
jsxof | It says: "Try again later" no matter how much time I wait. | 16:13 |
fsmithred | ok, but grub can't handle luks2 format, and that's the default now. | 16:13 |
fsmithred | weird | 16:13 |
fsmithred | to change root's path, you're supposed to add some words to /etc/login.defs | 16:13 |
fsmithred | but I can't find the words now | 16:13 |
jsxof | I mean, the root partition is luks1 encrypted anyway. | 16:14 |
fsmithred | oh, ok | 16:14 |
fsmithred | then it should work | 16:15 |
fsmithred | is /boot in the encrypted partition, or is it separate? | 16:15 |
jsxof | It's separate. | 16:15 |
fsmithred | dpm | 16:16 |
fsmithred | don't paste output here - too many lines will get you bounced | 16:16 |
fsmithred | spamfilter | 16:16 |
jsxof | dpm? | 16:18 |
fsmithred | misplaced fingers | 16:18 |
fsmithred | this is pissing me off big time. I found the information in buster relase notes easily a couple weeks ago. Now it's gone. | 16:19 |
fsmithred | ALWAYS_KEEP something or other | 16:19 |
fsmithred | motherfuckers could have put it in the config file commented out, but they didn't. | 16:19 |
chillfan | I found lvm completely broke on me lately in ascii after an upgrade | 16:19 |
fsmithred | I don't know if I've tried upgrading an encrypted ascii to beowulf. | 16:20 |
chillfan | no it was just regular upgrade, I think grub update killed it | 16:20 |
chillfan | anyway right now using beowulf LUKS2 lvm | 16:21 |
fsmithred | luks2 on root partition? | 16:21 |
jsxof | Oh, that's very weird. Somehow dropbear and cryptroot were launched twice at init | 16:21 |
chillfan | yeah, used debian installer then migrated it | 16:21 |
chillfan | so presumably grub will do luks2 as of beowulf | 16:21 |
fsmithred | grub is not supposed to work with luks2 root partition | 16:21 |
fsmithred | didn't work for me | 16:22 |
fsmithred | I changed the live installer to get around that issue | 16:22 |
chillfan | well, cryptsetup status gives me type: LUKS2 | 16:22 |
chillfan | unless it's just saying that | 16:22 |
chillfan | really, so I wonder what's going on there. Seems like a lot of issues in grub now anyway | 16:23 |
chillfan | I saw others had issues with lvm not opening crypt partitions, maintainer said it was a missing module, but the provided solution was a no fix for me | 16:23 |
chillfan | maybe they've tinkered with it too much | 16:24 |
fsmithred | keysize: 512 bits | 16:24 |
jsxof | I've found a way to proceed through the initramfs stage. I just had to kill all cryptroot processes and run cryptroot-unlock without a daemon running. | 16:24 |
fsmithred | would be luks2 | 16:24 |
chillfan | yeah, 512 | 16:24 |
chillfan | grub-pc 2.02+dfsg1-20, grub2-common same version | 16:25 |
chillfan | kernel is 4.19.0-8-amd64 | 16:25 |
chillfan | but i'm sure -06-amd64 was working too | 16:26 |
fsmithred | ALWAYS_SET_PATH | 16:26 |
fsmithred | ^^^ in /etc/login.defs should fix the root path issue. (I think) | 16:27 |
fsmithred | =yes | 16:27 |
fsmithred | no, not =yes | 16:27 |
jsxof | fsmithred: Yep, that works. Thanks. | 16:30 |
fsmithred | which works? | 16:30 |
fsmithred | I found what I was looking for... | 16:31 |
fsmithred | Put ALWAYS_SET_PATH yes in /etc/login.defs to get an approximation of the old behavior. This is documented in su(1) but not in login.defs(5). It may also cause a harmless error message to appear in some situations (see 905564). | 16:31 |
fsmithred | https://wiki.debian.org/NewInBuster | 16:31 |
chillfan | ah, why no deprecation warning.. that might be why I screwed my system | 16:32 |
fsmithred | If I answer that, it'll be a rant. | 16:33 |
chillfan | I'm only just containing one myself | 16:34 |
chillfan | also.. it occurs to me this change might need to be documented by us, to stop hosing of their systems | 16:34 |
fsmithred | the luks change or the su change? | 16:35 |
chillfan | luks | 16:35 |
chillfan | since upgrade from ascii or migrate from earlier release to beowulf will hose their system | 16:36 |
chillfan | or make them go and fix it at least | 16:36 |
fsmithred | your root partition got converted to luks2 on upgrade? | 16:36 |
chillfan | i migrated from buster to beowulf on this system | 16:36 |
chillfan | before that I had ascii, upgraded to beowulf | 16:36 |
chillfan | so if it's definitely what caused the problem, our migrations could break things for stretch/jessie users | 16:38 |
hemimaniac | if I may, I have seen back over the years (I used to be a Mint faithful) depending on the implementation, encryption can wreak havac on a user upgrading from let's say 17-18 , and have seen it with other distros, I was wondering if it a case of the implement and not the OS? | 16:52 |
chillfan | maybe, usually you can do it in debian/devuan though | 16:59 |
chillfan | anyway, it's not sure. I'm going to test it tomorrow, see what I find | 16:59 |
djph | hemimaniac: yes | 17:09 |
jsxof | BTW, how well does Devuan support runit? | 17:09 |
chillfan | Not very well that I know, but you should check the DNG mailing list, Steve Litt I think has some scripts somewhere | 17:10 |
hemimaniac | hi djph | 17:11 |
hemimaniac | lol | 17:11 |
jsxof | fsmithred: that ALWAYS_SET_PATH setting breaks runit | 17:11 |
jsxof | >configuration error - unknown item 'ALWAYS_SET_PATH' (notify administrator) | 17:11 |
djph | 'lo hemimaniac | 17:12 |
fsmithred | in /etc/login.defs? | 17:12 |
fsmithred | should say | 17:12 |
fsmithred | ALWAYS_SET_PATH yes | 17:12 |
jsxof | Yep. When I do that, runit can't install properly. I think it might be something about usermod. | 17:13 |
fsmithred | ok, other way to make the change is in /root/.bashrc | 17:15 |
fsmithred | export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | 17:15 |
jsxof | I've just switched my system to runit, but it seems like it's still executing sysv runlevels. Is it an intended thing? Is there a way to make runit-init run only /etc/sv scripts? | 18:33 |
golinux | jsxof: ping stevelitt on #debianfork | 18:33 |
divansantana | does devuan ascii use grub1 or 2? I've got a home system unable to boot. Not getting to grub. | 19:58 |
chillfan | here you go https://pkginfo.devuan.org/ | 20:00 |
chillfan | you can find it all there, but for that package looks to be 2.02~beta3-5 | 20:02 |
divansantana | hmm, i weirdly have grub1 and grub2 installed. Trying to run grub-install /dev/sde results in /boot/grub/stage1 not read correctly | 20:34 |
chillfan | you can explicitly try grub2, apt install grub2 and then remove grub1 | 20:35 |
chillfan | i'm not as familiar with it though, I use grub-pc | 20:35 |
fsmithred | you guys are confusing me with your talk of grub1 and grub2 | 20:36 |
fsmithred | I know grub-legacy and grub-pc/grub-efi-blah | 20:36 |
chillfan | i think it's just grub-pc vs grub2.. | 20:36 |
fsmithred | for package names | 20:36 |
fsmithred | grub-pc is grub2 | 20:36 |
chillfan | i don't rightly know the difference | 20:36 |
fsmithred | grub1 is grub-legacy | 20:36 |
chillfan | ah | 20:37 |
fsmithred | it has /boot/grub/menu.list | 20:37 |
fsmithred | or .lst | 20:37 |
fsmithred | I forget which | 20:37 |
chillfan | think it's just been a while and I was confusing grub-legacy with grub-pc.. which might have been grub1 before | 20:37 |
fsmithred | btw, I'm in the middle of stretch encrypted migration to beowulf | 20:38 |
tuxd3v | hello all, | 20:38 |
fsmithred | hi tux | 20:38 |
chillfan | my energy for testing has petered out for today, or I'd be doing the same | 20:38 |
tuxd3v | fsmithred, grub-common, is installed on my i386 install | 20:39 |
fsmithred | lol, I know the feeling | 20:39 |
fsmithred | tuxd3v, grub-common is installed with all versions of grub, I think | 20:39 |
divansantana | ok while I think I mixed installed two of them . | 20:39 |
tuxd3v | fsmithred, I also have installed grub2-common | 20:39 |
chillfan | yeah probably | 20:39 |
divansantana | grub-install (version 1/boot/grub/stage1 not read correctly / legacy) was reporting /boot/grub/stage1 not read correctly | 20:39 |
divansantana | grub2 grub-install seems to work | 20:40 |
divansantana | hopefully it boots | 20:40 |
fsmithred | remember to update-grub | 20:40 |
fsmithred | so you have a boot menu | 20:40 |
tuxd3v | yeah, update grub.. | 20:40 |
divansantana | with grub2 that is grub-mkconfig -o /boot/grub/grub.cfg i think | 20:40 |
divansantana | or just update-grub ? | 20:41 |
chillfan | What I noticed, dpkg-reconfigure grub-pc had some issues. So sometimes you now need first grub-update, grub-install /dev/sdX before it will do anything | 20:41 |
fsmithred | yeah, update-grub is easier to remember | 20:41 |
divansantana | k | 20:41 |
fsmithred | it runs grub-mkconfig for you | 20:41 |
chillfan | ah sorry s/grub-update/update-grub/ | 20:41 |
divansantana | grub-probe: error: cannot find a GRUB drive for /dev/sdg1. Check your device.map. | 20:43 |
fsmithred | are you booted into that system now, or are you doing this some other way? | 20:46 |
fsmithred | and are you trying to install grub to /dev/sdg1 instead of /dev/sdg ?? | 20:47 |
divansantana | sdg is my iso arch rescue stick | 20:48 |
divansantana | i booted into arch iso and chroot'ed into devuan to try rescue it | 20:48 |
fsmithred | ok | 20:49 |
divansantana | mv /boot/grub/device.map{,.old} didn't help | 20:49 |
fsmithred | you bind-mount dev proc sys to /target? | 20:49 |
fsmithred | or whatever is your mountpoint | 20:49 |
divansantana | yes i chrooted like so for i in proc sys dev ; do mount /$i /mnt/$i ; done | 20:50 |
divansantana | and mount --bind /dev/pts /mnt/dev/pts | 20:50 |
fsmithred | the others work without the --bind option? | 20:50 |
divansantana | export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin and mount /dev/md126 /mnt/boot | 20:50 |
divansantana | chroot /mnt/ /bin/bash | 20:51 |
fsmithred | is there 1MB free space before the beginning of the first partition? | 20:53 |
fsmithred | oh... | 20:54 |
fsmithred | is the disk gpt or msdos partition table? | 20:54 |
divansantana | msdos | 20:54 |
divansantana | bios in legacy mode | 20:55 |
fsmithred | ok | 20:55 |
fsmithred | I can't think of anything else now | 20:55 |
divansantana | it might still boot | 20:58 |
divansantana | because grub-install (with v2 of grub) worked. So hopefully it gets to grub menu now. | 20:58 |
GyrosGeier | 20:43 < divansantana> grub-probe: error: cannot find a GRUB drive for /dev/sdg1. Check your device.map. | 21:16 |
GyrosGeier | grub needs to go to the MBR | 21:16 |
vmontressor | Silly question: where do I find raspistill? (For a Pi3, if it matters.) It doesn't show up in apt-cache search, and while I think it used to be in raspi3-firmware, it isn't any more. Any pointers? | 21:20 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!