libera/#devuan/ Wednesday, 2021-04-21

yanmaaniI have high RAM usage, and sluggish performance, despite nearly nothing using RAM. Is it possible that zram might have created a "loop"?01:51
tuxd3vmany thanks for the Devuan beowulf netinstall image :)01:59
tuxd3vI decided to purge packages and files.. and that should ring a bell automatically on our heads, but since I was doing several things at same time... it went south01:59
tuxd3vI left 1 kernel only01:59
tuxd3vand forgot to create a new initramfs..02:00
tuxd3vlater inside a shell I issued a 'reboot' thinking that I was in a guest machine... game over!02:00
tuxd3vthanks to the fact that I had a net install for beowulf around, I was able to start in rescue mode, chroot to the device I wanted, check what was wrong and finally create a new initramfs for the only existing kernel..02:01
tuxd3vSo long story short, Many thanks to the devuan community for the netinstall that I had in my pendrive :)02:02
aloo_shu(most) any live linux with root and chroot would do02:03
tuxd3vthe system is up and kicking!02:03
tuxd3valoo_shu, yes, many will, but I use devuan, and also later I discovered that the devuan version doesn't even need the chroot requirement, and you can simply choose what disk to drop in..02:05
tuxd3vvery helpful!02:05
tuxd3vit will do the chroot for you.. its nice02:06
aloo_shuknowing to use chroot is imo at least as or more useful as knowing vm's, docker02:07
aloo_shubut if you're stuck, and a tool helps you, that's also nice02:08
tuxd3vthe concept is almost the same , the things is, containers also bring you network isolation and stuff, things that a shroot doesn't02:08
tuxd3vAt least is the idea I have02:08
tuxd3vyeah, first time I went with a chroot, not knowing the simplicity that the menu provides..02:09
aloo_shuthere's quite some control in what you do, and do not bind-mount over into the chroot02:09
tuxd3vit went south because I created garbage..02:09
tuxd3vI created a intiramfs for the kernel the live image was running :/02:09
djphcontainers are niceish (AIUI) for spin up something super small and fast but ... not ... production (obviously, I could be wrong; given the prevalence of k8s, docker, etc)02:10
tuxd3vsecond time I went in discovery mode , and found that it provides you with the option to drop in any disk availlable02:10
djphI can't google today apparently -- chimaera is the next release on the roadmap, right?02:10
tuxd3vdjph, yes I believe so :)02:11
Tenkawadjph: k8s,, docker, etc "are" containers.. just a different type02:12
tuxd3vho ofcouse second time I created a initramfs for the single kernel availlable on the system :)02:12
Tenkawathey are still running under a single running kernel02:12
Tenkawaunlike virtualization02:12
djphTenkawa: yeh; the little I know I equate them to different implementations of the same idea, ala vmware/vbox/kvm (probably wrong, but I'm bad with it in general)02:13
Tenkawaie vmware, hyperv, etc02:13
djpherr vbox/vmware/kvm all being implementations of "Virtual Machines"02:13
Tenkawayeah thats kernel virtualization02:13
tuxd3vTenkawa, indeed some sort of chroot, but with better isolation..the downside is that you need to have inside of it all tools that the programs need, replicating a lot of libraries02:14
tuxd3vbut with chroot is the same regarding the replication of libraries02:14
Tenkawatuxd3v: yeah containers can be super fast,, but they do need a lot of  infrastructure and setup02:14
tuxd3vI understand that containers are the future for a lot of applications, for for a big amount of core aplications, containers are not the solution..02:15
tuxd3vTenkawa, agree02:15
Tenkawachroot suffers from memory address limitations though.. thats what brought about part of this originally I think02:15
aloo_shubind02:15
aloo_shumount02:15
Tenkawabind mounts have severe limitations02:16
tuxd3vnetwork is not isolated with chroot02:16
djphTenkawa: good news, 64-bits can address a hilariously large address space02:16
Tenkawaand are restrictive on the outer layers of the bind02:16
aloo_shuyeah that was not in response to memory02:16
djph(I know, there are other concerns ... )02:17
Tenkawaaloo_shu:  yeah the memory comment was for tuxd3v02:17
aloo_shubut, what to learn first? I'd give chroot preference over more managed forms of containerizations, just like learning written math before using a pocket calculator; you'll later understand the 'why' of things much better02:19
tuxd3valoo_shu, agree02:31
Centurion_DanHi03:03
Centurion_DanI turned on my other laptop the other day and found nm-applet was broken.  It turns out the issue is that no elogind session is being started at login.... running slim... any thoughts on what I might have broken?  It was working fine a few weeks ago...03:05
Centurion_Danfsmithred?03:05
XenguyBeowulf, or ...?03:06
fsmithredCenturion_Dan, how long has it been since the laptop was updated?03:06
Centurion_Danrunning beowulf...03:07
fsmithredwhat version of eudev?03:07
fsmithredno03:07
fsmithredelogind03:07
fsmithredI'm using n-m in beowulf and chimaera and it's working fine.03:08
Centurion_Danlooks like I tried to install smbclient March 1503:08
Centurion_Daneudev v3.2.7-603:09
fsmithred3.2.9-8~beowulf103:09
fsmithredthat shouldn't be the problem03:09
fsmithredunless...03:10
fsmithredare all your modules getting loaded?03:10
Centurion_Danfsmithred: I have no reason to think they're not....03:12
Centurion_Danif I go 'logincti' I get no login session...03:12
fsmithreddid you get one before?03:13
fsmithredI think I'm using lightdm. Definitely not slim.03:15
Centurion_DanI assume so... everything worked previously...03:17
gnarfaceyanmaani: i dunno but i think it is more likely you have a memory leak in your video drivers03:17
Centurion_Danfsmithred: I'm still using slim but looks like slim is trying to use console kit instead of elogind...03:28
fsmithredyou have all the right libs for elogind?03:34
fsmithredand not for consolekit03:34
fsmithredpam-auth-update03:35
fsmithredUnix and elogind should be checked03:36
Centurion_Danfsmithred that is what I have..04:03
Centurion_DanI do see an error in the logs: "Failed to create cgroup 1: No such file or directory"04:07
Centurion_Danfsmithred04:26
Centurion_Danwas that an irc wide kick??04:27
fsmithredno, I'm still connected04:27
fsmithredI don't know what to make of the error message04:27
Centurion_Danalso in auth log I'm getting "dbus-update-activiation-environment: systemd --user not found, ignoring --systemd argument.04:29
Centurion_Dan"04:29
fsmithredyou're sure you have all the right packages? libpolkit stuff for elogind and libpam-elogind04:34
fsmithred?04:34
fsmithredthat's all I can think of04:35
Centurion_Danyes, I checked that....04:36
crashoverridefsmithred: sorry for the commotion on #devuan-offtopic04:49
Xenguycrashoverride, I should say so  ; -)04:55
crashoverrideXenguy: to be fair, I'm sorry it had to be on a #devuan related chan, not for what I said04:55
XenguyIt'll probably be just fine04:56
XenguyThere may be better places to have PM conversations04:56
XenguyI mean if you guys want to duke it out, go private and blast away  : -)04:56
crashoverrideXenguy: answered on #devuan-offtopic to minimize the noise here.04:57
XenguyOh right, wrong channel, oopsies04:57
crashoverrideno wuckers.04:57
golinuxI have no interest in duking anything out.  I just don't want to waste my time.04:58
aloo_shuqed05:37
flingWhat package for ast xorg driver?10:23
flingThe one for aspeed cards10:23
xinomiloprobably : xserver-xorg-video-ast10:30
ham5urgI just tried unstable and wanted to install openssh-server. But it invokes a lot of dependencies like x11-common, libavahi..., etc. Is this common?15:35
xinomiloapt install openssh-server --no-install-recommends15:35
ham5urgahh thank you xinomilo15:36
ham5urgIn chimaera I have done "apt autoremove --purge libsystemd0" which also removed rsyslogd. Is this behavior due to the unfinished status of chimaera?15:49
ham5urgIs libsystemd0 some kind of dummy package?15:50
fsmithredno, libsystemd0 is a real package. You can replace it with libelogind015:50
fsmithredlsd0 even gets pulled in with a debootstrap install. I don't recall what depends on it at that level.15:51
ham5urgI removed libsystemd0 and with it, it removed rsyslog, but "apt install rsyslogd" brought it back without lsd015:53
xinomilomigrating from debian probably, so that's normal15:56
xinomilorsyslog in debian depends on libsystemd0, rsyslog from devuan doesn't15:57
ham5urgyes16:00
rwpThe presence of libsystemd0 is expected in Devuan and is not the same as running systemd as pid 1.  Please don't freak out just because it is present.17:44
DHEyes it's necessary to allow unmodified debian packages to run on devuan. it's technically a good thing18:33
DHE(though I plan to try fixing it a bit on my system)18:33
masonamesser's built libsystemd0-free apt. Not sure if it's publically available. Might be worth poking around the repositories.18:35
GyrosGeierlibsystemd0 is a piece of code that tells apps that init is not systemd19:14
GyrosGeierfor applications that switch behaviour at runtime this means we can get by without patching packages19:16
GyrosGeierI mean, when I write stuff, I also make explicit systemd integration these days19:16
brocashelmyeah, i have rsyslog and libelogind0 instead of libsystemd019:17
GyrosGeierI mean, I have handling code to maintain multiple sockets in a select() loop, I don't care where the sockets come from19:17
GyrosGeierthe boilerplate code I need for systemd socket activation with IPv6 support is 90% the same that I need for a standalone daemon with IPv6 support19:18
GyrosGeierso explicit systemd support is ten extra lines of code, not a bad price for having the same binary everywhere19:19
DHEmy argument is that systemd seems to be trying to make itself into a dependency of other applications. that you have to ask "is this systemd?" in the first place is already a bad sign.19:20
walexDHE: 'libsystemd0' is not a "bad" dependency19:33
walexDHE: D-Bus is a bad dependency.19:33
walexI have just written a few days ago two short but not too short explanations of the rationale behind 'systemd' and why it is a bad solution to a real problem:19:35
walexhttp://www.sabi.co.uk/blog/21-one.html?210415#21041519:35
walexhttp://www.sabi.co.uk/blog/21-one.html?210416#21041619:35
DHEwalex: "I need to behave differently if systemd is running" is bad. that's what I'm getting at. code quality of individual projects is a different problem19:43
walexDHE: but what's the problem with that? If the impact is small, and it is small, fine. As long as there is no dependency on D-Bus and 'systemd' itself. it is sort of like "I need to choose a different code path if IPv6 is available".19:44
* walex remembers the "all the world has a VAX" story, not quite the same though19:45
walexDHE: the story behind Devuan as I have seen it is not so much a rejection of 'systemd',  but a rejection of making everything depend *just* on 'systemd'.19:46
djphwalex: it's kind of both, as i understand it19:47
walexNow 'systemd' solves (badly) a very real problem, so I don't feel that projects should reject the extra functionality that 'systemd' offers, but also that for people who do not need it, there should be the option to do without. Again, a bit like IPv4/IPv6. That requires a bit of code to handle the extra functionality.19:48
masonwalex: We shouldn't require an additional libc for everything, which is effectively what libsystemd0 wants to be.19:48
walexdjph: ssssssh :-) The official rationale is "init freedom", not "systemd is also evil :-)"19:49
DHEbut they do. systemd decided that it's going to kill programs when a user logs out, and now screen/tmux/others need to register themselves with systemd-specific code. normally restarting libvirt would destroy all your virtual machines so libvirt needs to register all your VMs with systemd19:49
walexmason: DHE: the really big problem is that 'systemd' realls does solve a big issue, and the even bigger problem is that it does so quite badly, but not so badly that even people who want that functionality would reject it.19:50
djphwalex: got called away -- no I more meant that it's a bit of "there's possibly a need to replace sysvinit ... but this one's looking like it's not the answer"19:51
walexDHE: 'systemd' is indeed tentacular, kind like the "vampire squid" of framework (to paraphrase Matt Taibbi)19:52
onefangTake it to #devuan-offtopic, leave this channel for support.19:53
walexright19:55
walexif anybody wants to continue I will look at  #devuan-offtopic but the two links above try to explain my view...19:56
brocashelmhttps://blog.desdelinux.net/en/list-free-systemd-distributions - this article lists some non-systemd distros of gnu/linux; the author personally recommends devuan to anyone who isn't very skilled with gnu/linux usage21:09
brocashelmi think devuan being "easy" to install/use for a novice is a good thing21:09
brocashelmwhat i think: isn't that part of what was so special about debian for the longest time? to take all that baggage from compiling packages by installing them and just getting straight to work? you can't easily say that about gentoo, arch, slackware, red hat/fedora, etc.21:11
Walexbrocashelm: most of them do allow "just install the package" thing, the Debian/Devuan thing is that releases are stable for years and the package selection is particularly huge and well curated.21:22
Walexamong the "well curated" aspect is good metadata dependencies, which tend to be more reliable for Debian than most other distros.21:23
Walex(e.g. Slackware does not really do dependencies)21:23
rwpIn a pristine install of Beowulf the ethernet device is eth0. /proc/cmdline shows no net.ifnames setting. /etc/udev/rules.d/ is empty.21:46
rwpWhat is the Devuan strategy for ethernet device names?  Is there a document?21:46
masonrwp: I think the strategy is traditional naming.21:49
rwpBut traditionally there is a udev generator that would drop a file /etc/udev/rules.d/70-persistent-net.rules to cause persistent naming.21:49
rwpThe /lib/udev/write_net_rules script is used to generate that file.  It's present.  But 70-persistent-net.rules is not.21:50
rwpAnd so I am confused about how multiple devices will be assigned.21:50
Tenkawarwp: persistent naming came about with systemd-udev didnt it?21:52
Tenkawaif so.. devuan isnt going to have it21:52
rwpWell...  The name "persistent" has been used by multiple conflicting things.  70-persistent-net.rules is pre-systemd by years for example.21:54
Tenkawahmm doesnt seem to have any link to systemd21:54
Tenkawayeah21:54
rwpRight.  It doesn't.  Not really.  (However don't look too closely at the original authorship.)21:55
Tenkawabut its been changed like 5 times21:55
TenkawaI'm reading the implementation history… quite messy21:55
rwpPeople keeping thinking they have the final solution.  Again and again they have the final solution.21:55
fsmithred"predictable" names21:55
fsmithredthat's what they call it21:55
rwpOh, yes, that's right.  Predictable (which no one can predict) and persistent.  I remember now.21:56
fsmithredyou can predict what it will be named if you open the box to see what slot it's in21:56
fsmithredif you want that in devuan, boot with net.ifnames=121:56
rwpOn-board ethernet device.  Not a PCIe NIC.21:56
Tenkawayeah predictable.. not persistant duh21:56
TenkawaI'm even reading it and still typing it wrong21:56
rwpI am happy with the traditional names.  And my test kit right now has only one device.  But the production unit has two ethernet devices.  So I am needing to know how it decides.21:57
fsmithredone place the new names are nice is with a live-usb that has persistence. You get the same name no matter what computer you boot with.21:57
Tenkawayeah I always just turn it off and go back to old style no matter what I use21:57
fsmithredsome devices get the mac address in the name, even in devuan. e.g. usb wifi dongle21:58
tuxd3vfsmithred, last eudev was a nice update when using net.ifnames=0, a joy to use :)22:00
fsmithredwhy did you need to use that? Old names are the default.22:01
rwpI have two cases I am interested on.  The one in my hand at this moment is going to be use USB dongle.22:01
rwpBy another has two on-board ethernet devices.  I'll deal with it on another day.22:01
tuxd3vindeed, just to remember that it exists and to emphasise that :)22:02
rwpI plug in the USB just now and yes I get the new name for the USB device.  So that will always be that name and I understand the strategy to deal with.22:02
rwpAnd since the on-board is the only one I can ignore as there is no possibility for an eth1 device.22:02
rwpI am good to go for the rest of the afternoon.  And then can push figuring out the dual-nic motherboard case to another day. :-)22:03
Walexrwp: there is simply no good and universal way to name hot-pluggable/autodiscoverable devices, and in way of principle nearly all PCIe/USB/SATA/... devices are like that, so choose your poison.22:04
rwpWalex, I was simply trying to understand the Devuan strategy.  No complaints in any of my statements.  Other than perhaps asking where the strategy was documented.22:04
rwpThat's where I am looking forward to a wiki.  Get these corner case things written down somewhere.22:05
Walexthere are three common schemes: by sequence of discovery (eth0, eth1, sda, sdb, ...) by bus position (enp2s0, ...), by unique id (/dev/dsk/by-label/, ...). The Devuan default is usually by sequence of discovery for statically plugged devices, but as "fsmithred" says hotpluggables of some times do "by unique id".22:07
Walexstorage as most people here knows actually get *all three* in various flavors under '/dev/disk/'.22:08
WalexGreg Kroah Hartman is the perpetrator of the 'systemd' of devices, 'udev' (now of course integrated with 'systemd' :-/)22:10
rwpJust noting that if Devuan is going with order of discovery then that is not the same as has been the traditional Debian strategy.22:15
rwpBut there may not be much choice since the udev rule generator though present is deprecated upstream.22:15
tuxd3vUniversity of Minesota USA prohibited from doing commits to the Linux kernel over very well fundamented suspects that they were introducing vulnerabilities in the kernel, to be expoited later..22:27
tuxd3vhttps://github.com/QiushiWu/QiushiWu.github.io/blob/main/papers/OpenSourceInsecurity.pdf22:27
DashiePietuxd3v: I'm not even surprised anymore, honestly22:37
tuxd3vDashiePie, me neither.. unfortunately22:38
rwpIt's why we can't have nice things. :-(22:41
tuxd3vseems that they were introducing code that aparently does nothing but could be exploited in the future.. its bad..22:44
WalexI would estimate that around 5-10% of all sw developers at "major" corps are paid by various "services" to introduce cleverly disguised bugs in their code.23:00
Walexthat is a wild guess, but given how cheap and easy it is, I would think it is extremely common.23:01

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