antranigv | aitor thanks! | 00:10 |
---|---|---|
antranigv | gnarface yup! | 00:10 |
antranigv | all booting fine! | 00:10 |
antranigv | so I installed Devuan using debootstrap, then I installed OpenRC because it's the easiest to manage | 00:10 |
antranigv | at boot it runs the following command: /sbin/openrc default | 00:11 |
antranigv | at shutdown the following: /sbin/openrc shutdown | 00:11 |
antranigv | obviously some services complain that they cannot run such as dmesg | 00:11 |
antranigv | but it's all working perfectly | 00:11 |
antranigv | time to document | 00:12 |
antranigv | thank you devuan. you are the best linux indeed | 00:14 |
ted-ious | That's impressive coming from a freebsd fan. :) | 00:15 |
antranigv | what's the flood policy here? can I paste `ps auxf` ? :D | 00:16 |
ted-ious | Better be safe and use a pastebin so you don't get disconnected. | 00:17 |
antranigv | here's everything from the FreeBSD perspective | 00:18 |
antranigv | https://bsd.to/iZ5w/raw | 00:18 |
antranigv | I needed to do SOME modifications in devuan, but overall it was easy. like 3-4 commands. I'll write a blog post about that before sleep, and integrate this in my jail manager Jailer tomorrow. | 00:19 |
antranigv | special thanks to norayr for helping out today with his Pinephone running Alpine/PostmarketOS :D | 00:20 |
ted-ious | Hmm bsd.to is not friendly to anonymous browsers. | 00:26 |
ted-ious | Is that official for freebsd? | 00:27 |
antranigv | ted-ious why is that? | 00:27 |
antranigv | ted-ious no no, just a community domain | 00:27 |
ted-ious | It's probably behind cloudflare. | 00:27 |
antranigv | ted-ious ohhh. lemme try something else | 00:28 |
ted-ious | paste.debian.net is nice. | 00:29 |
ted-ious | I don't know if there's an official one for devuan. | 00:29 |
ted-ious | I don't know why people who use cloudflare don't bother to click a few buttons and make it friendly for everyone. | 00:29 |
antranigv | ted-ious how about this? https://gist.github.com/antranigv/5acb4fffb1c8d52c8b8d8013ddecd4f7 | 00:31 |
ted-ious | I'm not a big fan of github but at least we can read their pastes. :) | 00:35 |
ted-ious | That's very interesting! | 00:35 |
ted-ious | So you didn't actually need an init? | 00:35 |
ted-ious | Or is it invisible because of the jail? | 00:36 |
gnarface | there's no official paste bin for devuan, i've just been telling people to use paste.debian.net too | 00:46 |
gnarface | i think termbin is also popular around here | 00:46 |
gnarface | i think it's called that anyway | 00:47 |
gnarface | termbin.com? i think that's the one | 00:47 |
antranigv | ted-ious well I didn't use /sbin/init, which runs /etc/inittab, which would run `/sbin/openrc boot`, but that would run things like ttys, which we don't need | 00:49 |
antranigv | instead I boot using the default runlevel, and stop with the shutdown runlevel | 00:50 |
ted-ious | Oh neat. | 00:50 |
fsmithred | nc termbin.com 9999 < myfile | 00:52 |
fsmithred | and then you get a short link to post | 00:53 |
antranigv | fsmithred nice! | 00:54 |
ted-ious | antranigv: So there's nothing unnecessary like tty's because there's no init but how do you spawn the other processes and keep them happy? | 00:55 |
ted-ious | And if there's no linux kernel either this must be incredibly efficient for using ram. | 00:56 |
antranigv | so openrc spawns the services and manages them, but if I want to attach I use the `jexec` command. the `jexec` command executes the jail_attach syscall which inserts itself into the jail | 00:56 |
antranigv | yeah, also I get all the beauty of ZFS, DTrace, and rctl/resource_control | 00:56 |
gnarface | and PF? | 00:57 |
antranigv | lemme check | 00:57 |
antranigv | believe it or not, if you put the right files at the right place, you can run pf on Linux now :) http://paste.debian.net/plain/1286840 | 01:04 |
antranigv | congrats, you now have clean waters | 01:04 |
gnarface | sweet! | 01:04 |
gnarface | PF is awesome | 01:05 |
ted-ious | antranigv: How secure are freebsd jails and how do they compare to linux containers? | 01:22 |
antranigv | ted-ious I mean the codebase is tiny, so you can audit it very well. we're talking about 3-4000 lines of code in the kernel, and about that for the userland utility | 01:22 |
antranigv | the FreeBSD jail security issues usually come from other subsystems, say the virtual networking subsystem, or the mounting subsystem, etc. | 01:23 |
antranigv | but those things could attack anything, a process that's not jailed as well. you know | 01:23 |
ted-ious | Right. | 01:29 |
golinux | Isn't this getting a bit OT from Devuan support? | 01:59 |
brocashelm | #devuan-offtopic is -> that way | 02:00 |
antranigv | golinux apologies. But for context, we were actually talking about OpenRC support on Devuan :D | 02:11 |
al1r4d | I have a problem: keyboard and mouse don't work when I run dwm (xorg). | 02:13 |
al1r4d | If in a TTY environment, there is no keyboard and mouse issue. | 02:13 |
al1r4d | Previously I did an update and it left me with a problem: I can't open Thunar (I forgot the version, just the latest according to the repository). | 02:13 |
al1r4d | Does thunar's problem have anything to do with this new problem? | 02:13 |
Xenguy | al1r4d, Are there any cases where they *do* work? | 02:23 |
al1r4d | Wha | 02:23 |
Xenguy | TTY, and ...? | 02:23 |
al1r4d | Wha | 02:25 |
al1r4d | What? | 02:25 |
Xenguy | al1r4d, Are there any cases where the keyboard and mouse *do* work? | 02:26 |
Xenguy | When do they work, and when don't they? | 02:26 |
al1r4d | Work on tty, not work on xorg | 02:26 |
Xenguy | So an xorg-wide problem, gotcha | 02:26 |
al1r4d | Xenguy: maybe | 02:27 |
Xenguy | Always maybe until the solution appears, heh | 02:27 |
gnarface | al1r4d: which release are you using? i haven't seen that happen since before devuan. i think it turned out to be a kernel issue | 02:28 |
al1r4d | gnarface: excalibur | 02:28 |
gnarface | al1r4d: alright, so the risk is high. did the update in question include a kernel update? | 02:28 |
al1r4d | Xenguy: i found this: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1916366.html | 02:29 |
al1r4d | Maybe my problem is what written on there | 02:29 |
al1r4d | They said "This update renders X unusable as no input devices are left." | 02:30 |
gnarface | timeline proximity makes that seem quite likely | 02:30 |
al1r4d | gnarface: i believe this is not kernel issue since i still able to use on tty | 02:30 |
gnarface | al1r4d: try the downgrade | 02:30 |
al1r4d | After xorg, i cant use all my keyboard and device, even the thinkpad trackball | 02:30 |
al1r4d | gnarface: i will try later | 02:31 |
Xenguy | Sounds like you guys found the culprit | 02:31 |
debdog | https://github.com/eudev-project/eudev/issues/249 has been linked on devuan-dev ml, devuan bug #769 | 02:33 |
debdog | also, al1r4d prolly should have mentioned which devuan version! | 02:34 |
Xenguy | Indeed | 02:35 |
Xenguy | Ah, he did, Excalibur | 02:36 |
al1r4d | debdog: i already said my version lol, i use devuan excalibur | 02:36 |
debdog | ahh, now I see it, too. | 02:36 |
debdog | after it was pulled off his nose, hehe | 02:37 |
debdog | nix für ungut! | 02:38 |
al1r4d | Thank you everybody.. i will downgrade | 02:40 |
Xenguy | o/ | 02:46 |
splinterbyte | I installed a system with devuan_chimaera_4.0.0_amd64_netinstall.iso with LUKS on a 150GB disk and it seems to be PBKDF: argon2i and not argon2id ... Is there a reason for that? | 11:55 |
Necrodiver | im having some issues installing refracta on a dell latitude 5490 (UEFI garbage) | 13:42 |
Necrodiver | it doesnt recognize the nvme ssd thats installed | 13:42 |
Necrodiver | so it wont boot | 13:42 |
Necrodiver | the bios says the drive is there so thats not the issue | 13:43 |
Necrodiver | secure boot is disabled as well | 13:45 |
Necrodiver | i installed refracta 11 (chimaera) | 13:49 |
rrq | try adding nvme, ext4, and crc32c to /etc/initramfs-tools/modules (one line each), then update-initramfs | 13:56 |
Necrodiver | in a liver boot? | 13:59 |
Necrodiver | lvie boot^ | 13:59 |
Necrodiver | live^ | 13:59 |
rrq | yes | 13:59 |
Necrodiver | okay hold on, let me get this back out | 13:59 |
rrq | yes, boot up the live and use chroot to modify the target | 13:59 |
Necrodiver | okay im into the liveboot | 14:01 |
Necrodiver | so first i need to mount the drive, then go into in | 14:01 |
rrq | right | 14:02 |
rrq | in chroot, edit /etc/initramfs-tools/modules to name the three modules | 14:03 |
Necrodiver | okay opened terminal there and going to go into movdules in vim | 14:03 |
Necrodiver | theres no area in the file called chroot | 14:04 |
rrq | no, chroot is the program you run to change the filesystem root for a shell | 14:04 |
rrq | thus, exit vim, and run: chroot /target | 14:06 |
rrq | (or wherever the target is mounted) | 14:06 |
rrq | then use e.g. vim to edit /etc/initramfs-tools/modules within that filesystem | 14:06 |
Necrodiver | i did sudo chroot /etc/initramfs-tools/modules | 14:08 |
Necrodiver | didnt work | 14:08 |
Necrodiver | says its not a directory | 14:08 |
rrq | try: chroot /target | 14:09 |
rrq | or /mnt | 14:09 |
rrq | where you mounted the target filesystem | 14:09 |
rrq | then do: vim /etc/initramfs-tools/modules | 14:09 |
rrq | (in that chroot shell) | 14:10 |
rrq | then do: update-initramfs -u -k all | 14:10 |
rrq | still in that shell | 14:10 |
Necrodiver | hmm | 14:14 |
Necrodiver | chroot isnt workiong for some reason | 14:15 |
Necrodiver | i can open the drive and stuff | 14:16 |
rrq | what's the error? | 14:16 |
Necrodiver | says cant change root directory to modules | 14:17 |
rrq | no the firdt argument to chroot should be the mount point for the target filesystem | 14:17 |
rrq | first | 14:17 |
rrq | so if you mounted it at "/target", then you'd do "chroot /target" | 14:18 |
Necrodiver | oikay so i did that | 14:19 |
Necrodiver | says i dont have permission | 14:19 |
rrq | doing so enters a shell with its "/" being that mounted filesystem | 14:19 |
rrq | need to be root for thses things | 14:19 |
Necrodiver | i did sudo | 14:19 |
Necrodiver | or should i have done su? | 14:20 |
Necrodiver | hmmm | 14:20 |
rrq | not sure; perhaps "su -" is best, with roots passwrd | 14:20 |
Necrodiver | i dont have the root password for default refracta | 14:20 |
rrq | is it "toor" ? | 14:21 |
Necrodiver | in live boot | 14:21 |
Necrodiver | toor? nope | 14:21 |
rrq | did you try? | 14:23 |
Necrodiver | toor? yes, didnt work | 14:23 |
rrq | you can do "sudo su -" and us the user password? | 14:24 |
Hurgotron | does it even need a password? sudo -s | 14:24 |
Necrodiver | okay now im root | 14:24 |
Necrodiver | root@refracta /home/user | 14:25 |
rrq | right; where did you mount the target filesystem? | 14:25 |
Necrodiver | dev/nvme0n1p2 | 14:25 |
rrq | ok; that's the device node... which dir did you mount it on? | 14:26 |
rrq | like: "mkdir /target ; mount /dev/nvme0n1p2 /target" | 14:26 |
Necrodiver | ah media/user/long mess of letters and numbersd | 14:27 |
rrq | your choice...:) now do: chroot/media/user/long_mess_of_letters_and_numbersd | 14:28 |
rrq | with space: chroot /media/user/long_mess_of_letters_and_numbersd | 14:29 |
Necrodiver | says permission denied | 14:29 |
rrq | mmmm gvfs probably... so unmount it from there and use my /taget advice instead | 14:30 |
Necrodiver | okay unmiounted | 14:31 |
Necrodiver | so sudo -s | 14:31 |
Necrodiver | now /media/user/mess of numbers? | 14:33 |
Necrodiver | even though it inst mounted? | 14:33 |
rrq | well, mount it somewhere easier, eg /target | 14:33 |
rrq | forget media/user/mess... | 14:33 |
rrq | as root, do: mkdir /target ; mount /dev/nvme0n1p2 /target | 14:34 |
Necrodiver | okay | 14:35 |
Necrodiver | so far so good | 14:35 |
rrq | then: chroot /target | 14:35 |
Necrodiver | okay worked | 14:35 |
Necrodiver | no error | 14:35 |
rrq | then: vim /etc/initramfs-tools/modules | 14:35 |
Necrodiver | okay im in | 14:36 |
rrq | add the three lines with module names | 14:36 |
Necrodiver | now what and where do i add the lines | 14:36 |
rrq | at the end | 14:36 |
rrq | first says: nvme | 14:37 |
Necrodiver | no hashtags on them, right? | 14:37 |
rrq | second says: ext4 | 14:37 |
rrq | right, just the module names | 14:37 |
rrq | third says: crc32c | 14:37 |
rrq | then save file and exit vim | 14:38 |
rrq | then do: update-initramfs -u -k all | 14:38 |
Necrodiver | okay done | 14:39 |
rrq | then exit, then reboot ... | 14:39 |
Necrodiver | nope | 14:40 |
Necrodiver | no bootable devices fouind | 14:40 |
Necrodiver | maybe its a bios setting? | 14:40 |
Necrodiver | because i dont have any boot optionsset | 14:40 |
rrq | hmm obviously not the problem I thought it was | 14:42 |
rrq | UEFI boot? | 14:42 |
Necrodiver | yeash | 14:42 |
rrq | and you installed grub-efi-amd64 ? | 14:42 |
Necrodiver | i dont know, as i just used refracta installer | 14:43 |
rrq | ... do the mount dance again, then check with: dpkg -l | grep grub | 14:43 |
Necrodiver | should i have before installing the distro? | 14:43 |
rrq | (check within the chroot) | 14:44 |
rrq | ... I think you might need to get fsmithred on the line | 14:46 |
rrq | fsmithred ^^^ | 14:47 |
Necrodiver | yeah it seems the efi pakcage was installed | 14:51 |
Necrodiver | package | 14:51 |
rrq | right. so, the edit you did before doesn't do harm, but was probably not necessary. other then that the problem seems outside of my area | 14:53 |
Necrodiver | i know brocashelm had a bitch of a time trying to install salix on his 5490 | 14:54 |
Necrodiver | because of efi | 14:54 |
fsmithred | here. Can I get a synopsis? | 15:01 |
Necrodiver | so i installed refracta 11 on a dell latitude 5490 | 15:02 |
Necrodiver | i created a separate boot parition, 512mb | 15:02 |
Necrodiver | made it fat 32 | 15:02 |
Necrodiver | the /home is ext4 | 15:03 |
Necrodiver | when i restarted after the install | 15:03 |
Necrodiver | it says no bootable device found | 15:03 |
Necrodiver | its uefi | 15:03 |
Necrodiver | i have secure boot turned off | 15:04 |
Necrodiver | but nothing seems to get it to boot | 15:04 |
fsmithred | boot parition as in /boot? | 15:04 |
Necrodiver | the only thing i can think of to try now | 15:04 |
Necrodiver | yeah | 15:04 |
fsmithred | that's wrong | 15:05 |
fsmithred | the efi partition should be fat32 | 15:05 |
fsmithred | if you selected to use a separate /boot partition, that should be a linux partition for /boot | 15:05 |
fsmithred | the efi partition gets mounted at /boot/efi | 15:05 |
Necrodiver | okay so let me go back into the liveboot | 15:05 |
fsmithred | are you using encryption? | 15:05 |
Necrodiver | then you can guide me through the install | 15:06 |
Necrodiver | no | 15:06 |
fsmithred | ok | 15:06 |
fsmithred | if you're not using encryption or lvm then you don't need a separate partition for /boot but you will still need a separate partition for efi | 15:06 |
Necrodiver | okay loading now | 15:07 |
fsmithred | the efi partition can be anywhere from around 50-500mb | 15:08 |
fsmithred | 100-200 should be more than enough | 15:08 |
Necrodiver | okay so im gonna run refracta installer now | 15:09 |
fsmithred | that's fat32 and gets esp and boot flags | 15:09 |
fsmithred | the rest of the drive can be for / or for / and a swap partition. | 15:09 |
fsmithred | if no swap partition, then the installer will make a swapfile | 15:10 |
Necrodiver | okay so im going to reset the partitions now | 15:11 |
Necrodiver | okay what flags do i need for the fat32 parition? | 15:13 |
Necrodiver | esp, boot? | 15:13 |
fsmithred | yes | 15:13 |
Necrodiver | okay i set it to esp boot, 200mb | 15:14 |
fsmithred | cool. | 15:14 |
fsmithred | the rest can be ext4 for the OS | 15:14 |
fsmithred | do you want a separate partition for /home? | 15:15 |
Necrodiver | i used gparted | 15:15 |
fsmithred | yeah, that's what I usually do | 15:15 |
Necrodiver | and the installer says i should use gdisk since no uefi boot partition is there | 15:15 |
Necrodiver | i mean efi boot partition | 15:16 |
fsmithred | um... I don't recall writing that message | 15:16 |
fsmithred | I'm pretty sure you can use gparted for it | 15:16 |
Necrodiver | there is no efi partition. you will need to create one | 15:16 |
Necrodiver | thats what it says | 15:16 |
fsmithred | didn't you just make one? | 15:16 |
Necrodiver | i just made an esp. boot partitionb | 15:17 |
Necrodiver | it doesnt recognize it? | 15:17 |
fsmithred | does it give you a way to go back on that screen? | 15:17 |
fsmithred | and is the nvme the only disk? | 15:17 |
Necrodiver | says help, continue or abort insallation | 15:17 |
Necrodiver | yeah the nvme is the only one | 15:17 |
fsmithred | in another terminal, run fdisk -l | 15:18 |
fsmithred | see if it sees the efi partition | 15:18 |
fsmithred | sudo fdisk -l | 15:18 |
Necrodiver | yeah it says its an efi fat 16 -32 partinio | 15:19 |
Necrodiver | partition | 15:19 |
fsmithred | ok, I think you need to abort and restart the installer | 15:20 |
Necrodiver | fat 12 16 32 | 15:20 |
Necrodiver | okay thats weird | 15:20 |
Necrodiver | i did the gui installer this time and same message | 15:21 |
fsmithred | ok, run 'sudo partprobe' | 15:21 |
Necrodiver | it says ventoy device busy | 15:21 |
Necrodiver | sicne i use ventoy on my usb drive | 15:22 |
Necrodiver | hmmm | 15:24 |
Necrodiver | any ideas? gparted seemed to create the efi partition | 15:24 |
fsmithred | the script uses fdisk -l to count the efi partitions. | 15:26 |
fsmithred | I don't know why it's not seeing it | 15:26 |
fsmithred | can you send me the error log from the gui installer run? | 15:27 |
fsmithred | it's /var/log/refractainstaller.log | 15:27 |
fsmithred | paste.debian.net or email me at gmail | 15:27 |
fsmithred | did you get this message? "There is no disk with a gpt partition table. | 15:29 |
fsmithred | You should exit this script and run gdisk to create one for uefi boot." | 15:29 |
Necro-diver | yes | 15:29 |
fsmithred | ok, then you should do that | 15:29 |
fsmithred | or maybe switch to legacy bios boot if you want to use msdos partition table | 15:29 |
fsmithred | btw, you can use gparted to change it to gpt partition table | 15:29 |
Necro-diver | should i delete the partitions i have now? | 15:30 |
fsmithred | no | 15:30 |
Necro-diver | how do i change it to gpt? | 15:30 |
fsmithred | go to Device, Create partition table | 15:30 |
fsmithred | and select gpt from the list | 15:31 |
fsmithred | then you will need to create new partitions | 15:31 |
fsmithred | note: everything on the disk will be gone when you make gpt | 15:31 |
Necro-diver | okay i did the new partitions | 15:32 |
Necro-diver | in gpt | 15:32 |
fsmithred | cool | 15:32 |
Necro-diver | the first partition is flagged msftdata | 15:32 |
Necro-diver | so what should i add to it? | 15:33 |
fsmithred | change it | 15:33 |
fsmithred | that' the fat32? | 15:33 |
Necro-diver | yeah | 15:33 |
fsmithred | change the flags to esp boot | 15:33 |
Necro-diver | okay done | 15:33 |
fsmithred | if you want separate swap partition, make one now | 15:34 |
fsmithred | do you plan to hibernate? | 15:34 |
Necro-diver | nah i dont usually do hiberante | 15:34 |
Necro-diver | hibernate | 15:34 |
fsmithred | ok, then don't bother. You'll get a 256mb swapfile | 15:35 |
Necro-diver | yeah this pc has 16gb of ram so | 15:35 |
fsmithred | nice | 15:35 |
Necro-diver | i dont really need swap or anything | 15:35 |
Necro-diver | okay im gonna run the refracta installer now | 15:35 |
fsmithred | rumor has it that some programs like swap. I sometimes see around 40-60mb swap in use when I have 8G ram | 15:36 |
Necrodiver | okay installimng | 15:39 |
fsmithred | next thing should be install bootloader | 15:43 |
Necrodiver | i got it all set up, im in the fully installed system | 15:45 |
Necrodiver | setting up all the excess garbage like japanese input and updating packages | 15:47 |
fsmithred | cool! | 15:47 |
fsmithred | I'll be afk for a few minutes | 15:48 |
fsmithred | good luck with it. Yell if you need me. | 15:48 |
Necrodiver | i need to go to bed soon, i got work tomorrow and this week is hectic as hell | 15:48 |
Necrodiver | thasnk for the help fsmithred and rrq | 15:49 |
fsmithred | yw | 15:54 |
Necrodiver | tomorrow after work, time to fight with the keyboard layout and getting it to work with the native japanese keyboard | 15:58 |
schillingklaus | is daedalus still far from a stable release? | 16:46 |
debdog | schillingklaus: short answer is: "no" | 16:54 |
debdog | packages themselfs are up-to-date, so upgrading should™ be stable. from what I've heard the installer needs some more work but that just affects fresh installs. | 16:56 |
smolcat | in the meantime there don't seem to be many security updates, which is the most worrying aspect of it. | 17:13 |
fsmithred | smolcat, I have 69 upgrades waiting on my daedalus, and last upgrade was June 13. | 17:28 |
smolcat | usually the debian secuity updates correspond to devuan security updates. but much of the updating slowed down considerably over the past couple of weeks or so. | 17:39 |
debdog | that most likely is a subjective observation. because 99.99 % of devuan's packages rely _directly_ on debian sources. | 17:48 |
smolcat | could be. | 17:49 |
debdog | except you're able to prove that wrong, of course | 17:49 |
smolcat | ? | 17:50 |
debdog | have you evidence for your statement? devuan devs want to know, otherwise there's no improvement. | 17:51 |
smolcat | as you said and i agreed, it could be a subjective observation. | 17:54 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!