libera/#devuan/ Thursday, 2022-02-10

rwpA while back Debian added security for Testing.  Because sometimes packages get stuck in Unstable if someone has uploaded a radically newer version.00:54
rwpmicdud, C programs use libc and libc's stdio routines look at the output pipe to see if it is a tty or not.  If tty then things are line buffered.  If not then block buffered into larger file sized blocks.00:55
rwptail knows tail -f is used for this so it explicitly puts output into a line buffer mode.00:55
rwpBut cut does not.  So the cut N-1 in the pipeline is buffering data into larger blocks.00:55
micdudyup, figured it out , stdbuf seems to work for programs that cannot read by line , and awk has (-W interactive) for that00:57
micdudnow trying  find a program that is sending single packet udp dns requests .   ss,lsof,netstat  have trouble since it is a single packet and nothing stays open . trying to catch a program flooding the dns server narrowed it down to (nfs-client or gssd)00:58
sycomaybe https://wiki.packet-o-matic.org/01:03
gnarfacemicdud: i vaguely recall something about recursive queries starting with a single lone udp packet in some case that caused troubles for my firewall configs a while ago - in my case it wasn't an attack though, i think it was normal operations for things trying to find my mail server03:20
gnarfacemicdud: that's where i'd start looking first - stuff related to mail.  at the time it looked like something paradoxically simple but it was actually something trying to start a more complex query and failing to continue because i was erroneously only allowing TCP traffic to my DNS server03:23
gnarface... but i could easily imagine it being a core component of a DOS attack too03:24
gnarfacesince if that one packet reaches your DNS server it could theoretically cause very high load if misconfigured03:25
micdudits  kerberos related . starts when a client  ticket expieres   and still has active nfs mounts , it starts hammering the dns server with forward,reverse,srv  queries for the nfs/kerberos server03:25
micdudrenewing the ticket stops it , so not sure if it is gssd or nfs-client03:26
gnarfacehmmm03:26
gnarfaceno kerberos experience, sorry03:26
gnarfacei guess one might still presume the dns setup is misconfigured if it's hammering the server and not finding what it needs03:41
gnarfacei can't guess what it would need though other than valid forward and reverse lookups for everything03:42
gnarfacecould it be lacking permission to actually carry out the other query types?  they can be refused independently of network protocol03:43
micdudit is getting  the responses it needs, just does this when ticket is expired . so it could be the nfs itself sending a bunch of requests and failing for say open files , and each request with a kerberos setup wants forwards and reverse for security reasons03:52
micdudonly noticed because i was logging dnsmasq requests to a /tmp on ramdisk  , filled 500 megs in a day , and then funny things happened , like apt update could not finish with gpg  errors etc....03:56
DRWhitehi folks04:50
DRWhitether eis a package called shim_systemd , Is that a drop in to replace script systemctl commands?04:51
DRWhiteAnd it does not actually use systemd, correct?04:53
onefangWhere do you see that?  I'm not seeing it in Beowulf.04:53
DRWhitesystemd-shim/oldoldstable 10-3 amd6404:54
DRWhite  shim for systemd04:54
DRWhiteIf there is one for beowulf let me know04:55
DRWhiteI'm looking for a systemctl replacement04:55
DRWhiteSo it would be from ASCII04:56
DRWhitebecause things I need have been removed rfom BeoWulf04:56
onefangThat's also not in Beowulf, neither of those names are.04:56
DRWhiteASCII04:56
onefangBeowulf has a systemctl package.04:56
DRWhiteAs you see "old stable"04:56
onefang'daemonless "systemctl" command to manage services without systemd'04:57
DRWhiteI don't want systemd, will that replace and fix it so systemctl functions from people will work but not install systemD?04:57
DRWhitekool04:57
DRWhitethanks, I'll ahve a look04:57
DRWhiteWher eis that?04:57
DRWhiteWhat repository?04:57
onefangI searched on my Beowulf desktop using synaptic.04:57
DRWhiteI have CLI04:57
DRWhiteI have no GUI04:58
DRWhiteIt's a server.04:58
onefangIt's in main.04:58
onefangoldstable-backports04:58
DRWhitedeb line please?04:59
DRWhiteI can't find anything systemctl05:00
DRWhitedeb http://deb.devuan.org/merged beowulf oldstable-backports ?05:01
onefangdeb  http://deb.devuan.org/merged beowulf-backports main05:01
DRWhiteOkay thanks, I'll have a look.05:02
DRWhitefrom bad to worse.. Getting this far at least now..05:05
DRWhiteERROR:systemctl:unsupported run type 'dbus'05:05
gnarfacemissing dbus maybe?05:06
DRWhiteYes, but it works now to get past that issue.05:07
DRWhitedbus is installed05:12
DRWhiteWell, I killed Devuan Beowulf!05:38
XenguyI'm sorry Dave, I can't kill the Devuan Beowulf05:44
DRWhitelol05:52
DRWhiteI ended up restarting it for kernel panic.05:52
DRWhitesegmentation faults all over the place05:52
micdudwhy would you need to use systemctl on devuan? there are no systemd services to manage , or am i missing something ?05:56
DRWhiteAdding other things that use that in their install script and control functons.06:40
micdudjust convert back to sysv startup script for a package or two vs, shim on top of shim on top of hack to bring systemd functionality in to a system without systemd ?06:59
DRWhiteyup, adding the call to get it all functional then just removing it again.07:07
micdudcool , forking devuan to put systemd back in :)07:08
humpelstilzchen[ln -sf /bin/true /usr/local/bin/systemctl - I better go hiding hiding09:22
ejjfunkyhi all. i've installed php 2:7.4+76. i want to install php 2:8.1+92. i am using Chimera i386. how do i do it?11:43
ejjfunkyhi phogg.11:47
DPAIt's not that difficult to make a more complete systemctl shim using bash: https://gist.github.com/Daniel-Abrecht/fe72299f62597f5b5087698ff2273c8812:03
gnarfaceejjfunky: the most proper way to do it would be to rebuild the ceres packages for chimaera but you could also run chimaera in a chroot (minus the kernel, which might not matter for this) or if you're feeling risky just install the ceres packages directly (but it's not advised and will probably cause problems later with package dependencies)12:28
ejjfunkygnarface, ic. thanks.12:31
gnarfacei guess daedalus has the same version is chimaera right now so that might work easier12:32
gnarfaceit might not matter too12:32
gnarfacesomeone might eventually do the work and put it in chimaera-backports12:32
ejjfunkyim trying to install daedalus now. i was having problem retrieving packages. it says cannot acces repository12:32
ejjfunkyi guess i should do through chimaera too like the suggestion above12:33
gnarfaceyea you should update to daedalus from chimaera, or try debootstrapping daedalus into a chroot12:33
ejjfunkyhow do i update to daedalus from chimaera?12:35
gnarfacebasically from a clean chimaera install you change the sources to daedalus then run: apt-get update && apt-get upgrade12:35
gnarfacedist-upgrade rather12:35
gnarfacethe basic process shouldn't be different from debian, just the sources urls are different12:36
gnarfaceyou probably want this actually if it's a server: apt-get update && apt-get --no-install-recommends dist-upgrade12:37
ejjfunkyic. ok12:37
ejjfunkyalright, i will try this. thanks gnarface.12:38
gnarfaceno problem, good luck12:38
ejjfunkyhi, im installing daedalus on top of chimera. should i enable AppArmor support?13:46
gnarfacei think you need it, not sure14:31
gnarfacewhere were you asked?14:31
fsmithredif you install daedalus from the daedalus installer isos, you get an error message about the security repo that does not exist. It's safe to ignore that message (until daedalus goes stable, then you need to uncomment the security line)14:53
nickmeHi there. Where can I find the signing key for the releases?16:20
fsmithrednickme, I'll get a link. It's in the package repo.16:22
nickmeFound it: https://files.devuan.org/devuan-devs.gpg16:22
nickmePeople, read the README.txt ;)16:22
fsmithredhttps://pkgmaster.devuan.org/devuan/pool/main/d/devuan-keyring/16:22
nickmeOh cool a second one.16:23
fsmithredinstallable package16:23
nickmefsmithred, Thank you.16:24
fsmithredyw16:24
nickmeDoes the netinstaller or the server iso contains wget?17:16
nickmeDebian netinstaller doesn't contain wget, that's why I'm asking.17:17
nickmeOk I found it out myself by installing devuan two times in a row. First install with server iso, no network connection, only default tools gave me 318 packages and wget is onne of them. Same setup with netinstaller gave me 271 packages and also wget. That's nice!17:50

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