libera/#devuan/ Thursday, 2021-11-25

av6hey, i've noticed that "publicly archived" link on https://www.devuan.org/os/community still points to http://reisenweber.net/irclogs/freenode/_devuan/ (i.e. freenode, not libera)05:01
av6apparently the content is the same regardless the network name, so it's just the link that looks out-of-date05:02
adhocav6: might pay to poke #devuan-www for the Devuan Web presence05:02
av6(although it would be nice to get https there)05:03
av6adhoc: okay, i'll try there05:03
av6actually came here to say thanks for bringing /etc/init.d script back to rsyslog package, but immediately noticed that the archive link should indeed refer to libera05:06
bb|hcbav6: the freenode redirects to libera; that is kept for not breaking bookmarks. If you check the channel topic, there is the new link05:13
av6i don't mind keeping the old link working05:22
av6but if you say the channel is on libera and link to libera, then archive link should also link to libera05:24
bb|hcbav6: https://git.devuan.org/devuan/www.devuan.org that is kept here, why not propose a pull?05:27
rwpThat link is one of those known misleadingly labeled things.  It says Freenode.  But it's really Libera.05:33
golinuxav6: IIRC there were technical reasons why it was done that way.  joerg can explain when he pops in.05:34
rwpOn the server side I can imagine there is a symlink making the two things actually point to the same thing.05:35
golinuxAll the old freenode logs are there too05:37
bb|hcbav6 means to change the link on the web pages to the libera one (as in topic). In the logs both links work as expected both ways05:41
av6yes, on www.devuan.org: https://git.devuan.org/devuan/www.devuan.org/src/branch/new-beta/source/os/community.html#L6105:57
av6i might do a request there when i have time, but i assume just a quick fix from a maintainer would be a lot faster05:57
bb|hcbSure, but unless that is done now, it may easily be forgotten. That is why I proposed to make a PR - it act as a reminder too06:05
golinuxGood idea.06:08
golinuxBut before it's changed, joerg has to sign off on it.06:08
golinuxXenguy: ^^^06:09
XenguyNo idea what or where this error is.  Please add some details06:21
bb|hcbXenguy: there is no error. Logs were kept in /freenode/ which is also avail as /libera/. The link on www points to the freenode and its better to point to the libera one (both have same content).06:22
XenguyYes.  Is there a change request?06:23
XenguyYou're saying a search/replace would work, for example?06:23
bb|hcbAs joerg put that link in topic (the libera one), I'd assume it is safe to change. I do not see a PR as of now06:24
XenguyIf the change request is clear, then it's probably easy to do06:25
Xenguyaha, /topic06:25
XenguyNo worries, we'll get things patched up, and hopefully ditch that 'freenode' confusion06:26
jason1234hello07:54
jason1234i am late concerning jitsi meet installation ion devuan07:55
jason1234https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart07:55
UsLFatPhil: I had the exact same issue, and downgrading the kernel helped. I had the two latest installed and 4.15.X worked while 4.16.X did not.08:19
joerg:-/08:44
joergsigned off, fix that stuff please08:52
joergXenguy: search/replace should work08:55
joergsed oneliner08:56
joerg/freenode/ is a link to /libera/09:02
FatPhilrwp: alas this lenovo has no sysrq, and subbing in a prtsc key in its place doesn't seem to work either. In other news, the lububtu live-USB locked up hard overnight too, so maybe it's the h/w or maybe it's modern kernels.... Investigating mroe...13:24
FatPhilUsL: I'm on 4.9.0-16, but I'll try a Beowulf upgrade today, which will put me on the same release as the g/f, whose using similar h/w (she's x250, I'm x240) and having no problems. Hopefully, that will solve more than just the one issue I'm having. I'm not ruling out thence going to Chimaera of course.13:30
FatPhilI'm booting from a fully encrypted drive that was set up back in the old days of debian - there's no way something in that early pre-boot could be interfering with the devuan I now have, is there?13:34
FatPhilwowsers, the ascii->beowulf upgrade is a big one. converting from debian was tiny in comparison. faster internet needed...13:40
critri skipped the headache and did a clean install of chimaera13:45
critrbut i keep notes of most of my little tweaks and mods, so that helps.13:46
FatPhilI have a unified partition scheme, and don't want to lose any user data (from other ex-users) that might be hiding in forgotten corners of the filesystem13:47
FatPhilI'm a bit surprised that I chose such a partitioning scheme, but what's done is done. I'm normally very anal about keeping different things apart.13:48
critryou can still switch to /home on a separate partition on an installed and used system.13:49
critrjust rsync it over and fix fstab.13:50
FatPhilthat would be a good first step. I like a separate /usr/local too. However, neither solves the problem of some things in /var being the system's, and some of it being the users'.13:52
FatPhiluser stuff I've tried to keep on /usr/local/var, and then use symlinks to make it visible to things that expect stuff in /var.13:54
GyrosGeieronly /var/spool/*/* should belong to users13:54
FatPhilWhat's the system doing in /var/www/html ?13:55
GyrosGeierlike /var/spool/cron/* for crontabs13:55
FatPhilI'd forgotten about crontabs - yup, I'd have forgotten to have backed those up.14:07
FatPhilbut the fault I think was httpd's, chosing /var/www was wrongthink decades ago, and noone's corrected it.14:08
FatPhilI can take /usr/local vs. /opt to #devuan-offtopic :D14:10
FatPhilThe influences of the dinosaurs still lives on.14:11
GyrosGeier/var/www is system-wide14:27
GyrosGeieruser homepages live in ~user/public_html14:27
FatPhildevuan has no business sniffing in /var/www. You're conflating the system, devuan, with the sysop, which is not devuan, and who will rightly be dabbling in /var/www14:28
GyrosGeierindeed14:30
GyrosGeierIIRC that's why the default page got moved out14:30
GyrosGeierand people are now expected to change the server config if they want to serve files from /var/www14:31
djphfor ... apache?14:33
GyrosGeierIIRC all webservers were told to stop putting the default page in /var/www14:35
GyrosGeierbecause while they can technically be conffiles, that needs trickery14:35
GyrosGeierand if they aren't conffiles, upgrades will overwrite them14:35
FatPhilOne of the problems is that even if the packages have started to not do dinosaur stuff, the old tutorials still refer to it, so people are recommended to use /var/www/ or something under that. Bad behaviour takes a long time to fix.14:45
FatPhilAt least the '.d/' one conf per site promotes a clean start with each new thing you want to host.14:46
djphI mean, I could see the webserver hosting out of /srv more than /var ... but honestly, a default "index.html" under /var/www isn't much of a config14:47
djph"hey it works, now go create a proper site config"14:47
FatPhilwhich they copy off stack-exchange, and which refers to /var/www14:48
djphI mean, I just stuck stuff in /var/www/mystuff/ since userdir doesn't play nice with scripts without more work (and static html under ~djph is FINE)14:50
djphoops, where'd that capslock come from :|14:51
FatPhiloooh, looks like some deps have been changed in beowulf, and I can finally ditch a whole bunch of stuff I don't want on my system. This is good.14:58
FatPhilAha! I've found a rat king! ruby was in a loop of interdependencies15:02
djphew15:11
FatPhilUsL: beowulf has taken me all the way to 4.19.0-18. We'll see how it behaves...15:16
FatPhilWell, it may have taken a long time, and a couple of apt-get -f install loops, but the upgrade seems to have worked smoothly, and every niggle was covered by the devuan.org documentation, so props for that!15:21
FatPhila bit worried by some kernel BUGs and WARNINGs tho'15:24
FatPhilBut alas, qemu's -host cpu still fails with the "requires KVM" error message, and again strace gives me no indication of what it was checking that failed.15:37
FatPhilkvm and vm_intel modules both loaded, and /dev/kvm exists rw to me.15:38
FatPhilWhich means my g/f's won. She got the id-card reader that's "only supported on ubuntu" working on devuan by just bashing the ubuntu packages until they fit into her machine, and tweakign configs. I was hoping for a VM solution.15:39
GyrosGeierCPU model passthrough might imply that nested virtualization is needed15:43
GyrosGeierbecause otherwise we'd be passing through a CPU without virtualization support15:43
FatPhilthe lubuntu doesn't need virtualisation, I don't care much what it sees. I just want it to boot of my live-usb, and run X and a browser15:45
GyrosGeierindeed15:49
GyrosGeierbut the question is whether you are asking kvm to create a CPU that is virtualization capable15:49
FatPhilwhat would that "asking kvm" look like in an strace. The only instance of the string 'kvm' is at the final write to stdout before the exit.15:57
FatPhilHaving said that, I can't even get qemu running without the -cpu switch now, as I don't want VNC.15:58
FatPhilNot sure what it was using in the past, I didn't provide a -display switch, but it "just worked" by popping up an X window. Now it doesn't do that.15:59
FatPhil-display sdl and -display gtk fail presently, I might need to install something extra for those. The error message gives no clues.16:00
buZzwhat is -display a option for?16:01
buZzoh kvm?, no clue then :)16:01
fsmithredFatPhil, what qemu option is supposed to let you boot a live-usb? I would love to be able to do that.16:05
FatPhilfsmithred: just provide the whole device as the image to run, and it runs the whole grub and live boot happily16:09
FatPhilE.g. I (used to) do qemu-system-x86_64 -m 4G /dev/sdb16:09
fsmithredlike /dev/sdX ?16:09
fsmithredok16:09
fsmithredI will try16:09
FatPhilYup, my usb is a 'persistent live-USB' , latest lubuntu. There was a tutorial on how to prepare the key, something like 'mkusb'16:11
fsmithredok, so it's not just isohybrid-imaged usb?16:11
fsmithredis it a real fat32 partition?16:11
FatPhilIT's a complex partitioning scheme, because the 'persistent' aspect means that there are overlaid filesystems.16:13
fsmithredhow does it boot? grub or syslinux?16:13
FatPhil-display gtk works now qemu-system-gui is installed, sdl still fails.16:14
FatPhillubuntu live-usbs contain their own grub16:14
FatPhilprobably this was what I used: https://www.howtogeek.com/howto/14912/create-a-persistent-bootable-ubuntu-usb-flash-drive/16:15
FatPhilfinal state of key: https://www.howtogeek.com/wp-content/uploads/2019/05/mkusb_24.png?trim=1,1&bg-color=000&pad=1,116:15
FatPhilthe ntfs partition is not needed, it just puts that there so that you can share files between the onboard ubuntu and a windows machine16:17
FatPhilI'm pretty sure the complexity is because of the "persistent" aspect, which was a must-have. It might be possible to just dd and run16:18
fsmithred...checking qemu options, about to try it.16:24
fsmithredqemu-system-x86_64: /dev/sdb: Could not open '/dev/sdb': Permission denied16:25
FatPhilyou're not in the right group. sudo chown it to something you're in16:27
fsmithredworks fine if I'm root. I probably should add myself to the kvm group. I'm not in it, and I'm not sure how I've been using qemu all this time without that.16:28
FatPhilmore permanently, add yourself to the disk group, or better, create a udev rule to recognise it.16:28
FatPhilconservation of workingness is in force. qemu seems to have changed how I pass through usb devices to the guest, and the manpage gives no clues...16:29
fsmithredbrb16:33
FatPhilthe psychopathy of the qemu developers is astounding17:03
used____On Beowulf, I would like to add wakeup hooks to the suspend to ram wakeup script, but I can't. I tried to listen to acpid S3 wakeup events but they are not generated. Is there some magic one can use to make acpid react to events generated by entering and exiting sleep?17:05
used____Kernel ACPI layer reports S3 entry before and then exit at wakeup, but no event is generated for acpid?17:07
used____I am currently running acpid with OPTIONS="-d -l" so it all goes to syslog.17:10
FatPhilah, qemu no longer has the option -cpu host, and its response to you passing that option is to tell you something useless rather than "-cpu host not understood" or better "-cpu host is deprecated, use --enable-kvm [or whatever is compiled in for h/w virtualisation] instead". Or, even better, just converting that old switch into the new one.17:14
FatPhilAnyway - now running native with kvm. Finally.17:14
used____With all the paravirtualization jungle it is getting hard to do a true cpuid?17:15
FatPhilthe -device usb-host is a bit of a head-scratcher - I can't get the device through using the vendor/product identifiers, which are the only things that will be constant. Using bus/addr is wrongthink.17:16
used____Followed a guide much? The Arch one for example? Should be good?17:16
FatPhilthere's no "true" cpu any more, you may have been migrated off to a different processor between your CPUID and relying on h/w features.17:17
used____https://bbs.archlinux.org/viewtopic.php?id=26356817:17
used____FatPhil: "cloudy" times we are living17:17
FatPhilI'm using https://qemu-project.gitlab.io/qemu/system/devices/usb.html , and it contains no examples, so I'm trying random shit now. I'll see what arch have to say..17:18
used____https://wiki.archlinux.org/title/QEMU#Pass-through_host_USB_device17:18
FatPhilthis is another example of qemu psychopathy. In the old days (yesterday, before upgrading) I'd type "-usbdevice host,769b:1021", and that was fine. Now I do "-device usb-host,vendorid=769b,productid=1021" and ... it doesn't even parse those numbers (typos are possible, that wasn't copy paste)17:20
FatPhilBosh! well done arch - it seems the 0x is compulsory on the numbers17:21
FatPhilthanks used____!17:21
used____Strictly, all numbers should be prefixed with the base prefix on any command line...17:22
FatPhilI, idiotically, converted the hex numbers it refused to parse into the decimal 30363 4129 - and that still failed.17:22
FatPhilNot strictly at all. That's what protocols are for. %04x is good enough for the linux kernel and for lsusb, it should be good enough for qemu.17:22
used____Heh nice try with decimals. Tried octal too? :p17:23
FatPhilNope, but I was also just about to suggest that chmod 420 ... is a very bad way to try and achieve 064417:24
FatPhilEveryone just does 644, that's the protocol for file modes (see the LKML discussions on the wrapping of numbers with macros a decade ago if you want Linus' take on this)17:26
rwpFatPhil, The PrtScn should work for SysRQ.  To verify easiest is on text console first then get help for it.20:49
rwpFatPhil, Control-Alt-F1 to get to the linux vt text console.  Then Alt-PrtScn-h will dump some help out.  If it is active.  Works here.20:49
bb|hcbOn some laptops it is Alt-Fn-PrtScn-xxx...20:57
rwpI am using a Lenovo new island style keyboard here and though it doesn't say SysRq anywhere it does have PrtScn on the lower right.21:16
* enyc meows23:38

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