libera/#devuan/ Wednesday, 2021-10-27

rswhat is the general consensus when it comes to a newly released stable -- when is it a good idea to upgrade to the new testing branch?00:05
critryou can just enable backports repo in sources.list and enjoy some of the benefits of newer stuff with less risk of instability.00:09
rsnever been a fan of backports, i prefer a mixed system with testing being the base00:10
gnarfacethere has been some noted upgrade complaints, but it sounds like you're used to worse00:11
fluffywolfok, this is trying to be the worst upgrade I've ever done.  chimaera is not ready yet.00:53
golinuxMaybe if we'd had more testers things would have been better.  (hint, hint)01:10
fluffywolfunfortunately, I don't have time to repeatedly break the only computer I actually use to test things...01:10
fluffywolfnew issue:  it now hibernates if I shut the lid.  it did not before the upgrade.  I do not have a DE.  This is very, very broken behavior - an upgrade should not cause your computer to start turning itself off.  I don't even know what's doing it.01:11
golinuxHave you reported all those things for evaluation?01:12
fluffywolfreport to who?  heh01:12
golinuxDebian package to Debian.  Devuan package to Devuan.01:13
fluffywolfbut I don't know what package is doing it!  lol01:13
golinuxWell then, all your pain will have little benefit to make the situation better.01:13
golinuxRead logs for starts01:14
gnarfaceif it's working normally it's something tied to acpid01:18
lfluffywofgrrrrrrrrrr01:19
lfluffywofsomehow network-manager got installed, but if I kill it, wicd breaks too!01:19
lfluffywofit seems its last step on exiting is to break the interfaces such that I have to restart wicd01:20
gnarfacedid avahi-daemon also get installed?01:20
lfluffywofyep, looks like it.01:20
gnarfacei recommend next time upgrading without "recommends"01:20
* fluffywolf fixes that01:20
* fluffywolf also uninstalls network-manager01:21
fluffywolfwhy did it downgrade from the 5.14-bpo kernel to 5.10?  this broke things, and is a distinctly lower version number in every way.  also, apt now has a feature that removes all other kernels?01:22
fluffywolfI had to re-install the 5.14 kernel.  I didn't notice it was trying to install a downgrade version...01:22
golinuxwicd is dead until someone ports it to python301:22
fluffywolfwicd is buggy shit, but it makes my wireless interface work, unlike everything else I've tried on this laptop.  heh.01:23
golinuxsomeone is working on that.01:23
fluffywolfit's probably partially kernel bugs.  I had to write a script to reload the iwlwifi module when it dies...01:23
golinuxHave you see rrq's howto? https://www.devuan.org/os/documentation/install-guides/chimaera/network-configuration01:25
fluffywolfit drops the access point and won't re-authenticate (times out) until the module is reloaded.  haven't found any way to get it to work again without reloading the module.01:25
Joy-Unitceni always worked forme01:25
fluffywolfGRERRRRRRR!#@!@#@#!@#$01:25
fluffywolfTHIS UPGRADE IS NOT READY YET.01:25
fluffywolfI should never have fucking upgraded so close to something being released.01:26
golinuxIt WAS released well over a week ago.01:26
fluffywolfboth chromium and firefox got upgraded during the upgrade.  now EVERYTHING starts chromium instead of firefox.01:27
golinuxOfficially.01:27
ksx4systemfluffywolf, test before upgrade for production environments :) and preferably virtualize whatever possible to replace instances instead of upgrading01:27
ksx4system(but that's just one way to do it, you can yolo it like me and just fix stuff if needed)01:27
fluffywolfI'd gotten complacent.  debian and every other devuan upgrade has been mostly painless for a while.01:28
ksx4systemthere's lot of messages during upgrade process, READ THEM ALL and react as needed and everything will be fine :P01:29
* ksx4system thinks that Chimaera is good to go01:30
rwpThings have gotten worse in recent years.  The vision and goal of those putting the upstream software together is not the same as yours and mine.01:30
rwpMeanwhile...  If everything is starting Chromium now...  There are two files to check.01:30
fluffywolfand update-alternatives doesn't seem to like me.01:30
rwpLook at ~/.config/mimeapps.list for one of them.  Check that.  Probably removing the file after review.01:30
fluffywolfupdate-alternatives still shows firefox01:31
fluffywolfso why when I, for example, click links in xfce4-terminal, do they open in chromium?  does it not listen to the alternatives system?01:31
rwpAnd I can't remember the file name of the file that sets "the default" web browser.  Anyone?01:31
fluffywolfrwp:  it should be update-alternatives --config x-www-browser ...01:32
ksx4systemrwp: x-www-browser maybe?01:32
rwpI agree that the alternatives are one way.  But the freedesktop.org folks don't use it.  They have, once again, done their own thing uniquely differently.01:32
rwpIt's a file in ~/.local/something or ~/.config/something.  I am digging around now...01:33
fluffywolfupgrades should not change behavior like this.01:34
fluffywolfgoogling suggests I now have to use the full xfce4 crap just to use their terminal?01:35
fluffywolfhas xfce now become totally freedesktop shit that I need to purge?01:36
rwpArgh I can't locate it!  But both firefox and chromium have options in Settings to make themselves the "default browser".01:36
rwpPretty much all of the Desktop Environments have become downstreams of freedesktop.org cruft.01:36
rwpi3 FTW!01:37
fluffywolfI suspect, from what I'm finding googling, that the newer xfce4-terminal now uses browser info from some blobular freedesktop database and entirely ignores debian alternatives and every other sane way of changing it.01:37
ksx4systemrwp: Openbox > i3 any day01:37
fluffywolfI use icewm.01:38
rwpAll good!  ykinmkbykiok.  :-)01:38
* ksx4system will have to try MaxxDesktop or whatever was name of that IRIX desktop clone project01:39
critrsounds like kde. try to install any kde app without pulling in half of kde with it.01:41
rwpLook at the time!  Interruptions have been my life today.  Gotta run.  But do check ~/.config/mimeapps.list to see what browsers might be set there.01:42
fluffywolfwhy the hell would it be using a mime anything to click links in a terminal emulator?01:42
fluffywolfeverything browser-related in that file says firefox-esr01:43
fluffywolfgood god I hate everything to do with freedesktop.02:02
fluffywolfroot@cfbox:~# xdg-settings set default-web-browser "firefox.desktop"02:02
fluffywolfroot@cfbox:~# xdg-settings get default-web-browser02:02
fluffywolfchromium.desktop02:02
fluffywolfthis is clearly broken, since it's silently failing.02:03
fluffywolfpoking at xdg-settings source, it tries to detect your de.  I'm guessing it silently fails if you're not running one?02:05
fluffywolfI don't even know if this is a debian bug, or a devuan bug for shipping packages that depend on fdo's shit...02:11
Stargoose2Hello there. I am trying to disable some services on Devuan using "update-rc -f <name> remove", but there are some services that still come up at boot, like networking-routes02:12
Stargoose2So, for example, how can I disable networking-routes?02:12
Stargoose2I am new to Devuan, sorry if it is a very basic question02:12
fluffywolfI'm not familiar with networking-routes, and it doesn't seem to exist on my system.  what is it?02:13
Stargoose2fluffywolf: I don't even know, just trying to disable all network services since this machine won't use a network02:14
fluffywolf"networking" is the rc.d entry02:15
Stargoose2fluffywolf: so if I disable "networking" it will take "networking-routes" with it?02:16
fluffywolfI'm not sure what networking-routes is, so no idea.  lol02:16
fluffywolfyou'll want to make sure network-manager is uninstalled, too.02:16
Stargoose2ah, ok02:17
fluffywolfhrmm, and I just found a bug.  I removed network-manager myself (I don't like it), but it still has rc.d entries, so the package uninstallation didn't clean up after itself very well.02:17
Stargoose2it's not installed here02:17
fluffywolfif you don't have network-manager, and you don't manually configure any interfaces, it shouldn't have networking configured.02:20
Stargoose2it's not configured, I simply don't know how to disable networking-routes in a... polite way. I could delete it's symlink in /etc/rcS.d02:21
Stargoose2oh my.. even deleting /etc/rcS.d/networking-routes, the thing still comes up at boot02:22
fluffywolfwhat devuan version are you using?02:23
Stargoose24.0 Chimera on arm6402:24
fluffywolfhrmm.  I don't know enough to help you then, I'm sorry...02:24
Stargoose2thanks anyway for trying :)02:24
fluffywolfis this actually a service that's running, or just something that configures things on startup?02:27
fluffywolfremoving ifupdown-extra package might remove it02:28
fluffywolfwhat init system are you using?02:28
Stargoose2fluffywolf: I guess I am using sysvinit, which is the default if Im not mistaken02:29
Stargoose2And it seems to be a service that is running02:29
Stargoose2I could disable it by doing chmod -x on /etc/init.d/networking-routes02:29
Stargoose2But that's a disaster...02:29
rrqdoes "dpkg -S networking-routes" say something?02:30
Stargoose2yep, seems to belong to ifupdown-extra02:30
Stargoose2but I may need to bring eth0 or wlan0 up manually later02:31
rrqso, "apt-get purge ifupdown-extra" might be useful02:31
Stargoose2So uninstalling infupdown-extra might not be a good idea...02:31
rrqdo you need "static routes" ?02:31
Stargoose2nope02:32
rrqso, "apt-get purge ifupdown-extra" might be useful02:32
Stargoose2ok :D02:32
fluffywolfI don't have that package installed; I only identified it by googling for that filename.  heh.02:34
fluffywolfso it can't be too important!02:34
rrqStargoose2: then remove any "auto xxx" except "auto lo" from /etc/network/interfaces, and also remove any "allow-hotplug xxx"02:34
rrqand then purge any "network manager" (other than ifupdown) you might have02:35
fluffywolfbbl, my neighbor needs a ride02:35
rwpI don't have ifupdown-extra installed.  Never heard of it before.  It hasn't been popular with me! :-)02:45
Stargoose2rrq: I think I got the workflow here.. look for the package that installs the script in /etc/init.d, and remove the package with apt :)02:45
rwpLook closely at anything it is going to remove.  apt, apt-get, aptitude, etc will make the dependencies work.  So if you try to remove something that your desktop depends upon it will state that it will remove your desktop and do it if you okay it.02:45
Stargoose2rwp: I don't have a desktop, don't worry :)02:50
Stargoose2But thanks!02:50
Stargoose2rrq: any idea about where /etc/init.d/zramswap comes from? dpkg -S does't know about it02:53
Stargoose2where can I look?02:54
rwpThe DE removal was just an example.  It's mostly fine!02:54
rwpSince you are going to be doing a lot of file searching you should check out https://pkginfo.devuan.org/02:55
rwpHowever /etc/init.d/zramswap doesn't seem to be part of any package.02:56
rwpThat will be the compressed ram stuff.02:56
Stargoose2rwp: so the only way to remove the zramswap service is by deleting /etc/init.d/zramswap, right?02:57
gnarfacezram-tools maybe02:58
XenguyWas just gonna say02:59
Stargoose2gnarface: but where can I find that it belongs to zram-tools? As I said, dpkg -S doesn't give me that information02:59
Xenguyapt-cache search found it02:59
Xenguyapt-cache search zramswap03:00
Stargoose2Xenguy: do you mean apt-cache search zram?03:00
XenguyI assume that would work also03:01
gnarfaceStargoose2: don't delete init scripts. try out sysv-rc-conf03:02
Xenguysysv-rc-conf is what I use.  Seems to work nicely03:04
Stargoose2Hmm... I don't see sysv-rc-conf installed on my system, the command is not found03:05
gnarfaceit's another optional package you'd have to install03:05
gnarfaceyou don't have to use it, you can manipulate the symlinks by hand instead but it's probably easier03:05
rwpAgreed.  Don't delete init scripts.  Remove/Purge the package holding it instead.03:06
gnarfaceyea or just purge the whole thing03:06
Stargoose2gnarface: I would need the machine in question connected to a network which is not the case for now :)03:06
Stargoose2yes, purging is what I consider the main option03:06
gnarfaceapt-get --purge remove zram-tools03:06
Stargoose2thanks to you guys it's getting clearer and clearer now03:06
gnarfacebut note you might need it03:06
gnarfaceif it's installed already, someone put it there on purpose03:07
gnarfacemost likely03:07
Stargoose2nah, I never need a swap on the Pi4 ;)03:07
Stargoose2it's been 10 years of Pi with no swap here03:07
rwpWhat would automatically install zram-tools?  That's so strange.03:08
Stargoose2rwp: it comes preinstalled on the arm64/pi4 image03:08
Stargoose2not so strange: who did the image thought that the physical memory on the Pi can be not enough in some cases03:09
rwpWhat installer did you use?  That's the root cause of everything.  The installer has opinions.03:09
gnarfacewell, if you disable it by symlinks then you can enable it again without a network connection.  if you purge it you might need a network connection to get it back03:09
Stargoose2No installer, just flashed the Pi4 image to a microSD03:09
Stargoose2gnarface: It will be manually connected (via the ip command etc) later03:09
rwpThat's just as much of an installer as anything.  Other installers are image copiers too.  Then the copied image has already made various choices.03:09
Stargoose2rwp: oh, well, you are semantically correct :)03:10
rwpIf working with the /etc/rc?.d/{S,K}* symlinks directly always remember that there needs to be at least one symlink there to inform the tools that it has been locally modified.03:10
rwpIf you remove all of the symlinks then the tools assume it is a pristine installation and will install the symlinks that a pristine installation gets.03:10
Stargoose2rwp: I am not manipulating the symlinks anymore. It's good to know how it works under the hood, but I will uninstall the packages or use the tools03:11
Stargoose2These manipulations were just initial experiments I have reverted03:11
Stargoose2Any idea on how can I locate the package for /etc/init.d/bthelper? This one doesn't appear to be known to dpkg -S or apt-get cache search....03:12
gnarfacegenerated files you're pretty much SOL unless google knows03:13
gnarfacebut usually it matches the package name or part of the package name03:13
gnarface"bt" probably means bluetooth but i'm just guessing03:13
Stargoose2gnarface: yes, it's bluetooth-related03:13
gnarfacethere's scripts that fire on package installation, before and after03:14
gnarfacesometimes they make extra files that aren't in the actual package list03:14
gnarfaceusually /etc/ stuff03:14
rwpAnother place to look is: grep /etc/init.d/bthelper /var/lib/dpkg/info/*03:14
rwpIf it is not registered with dpkg as a "conffile" then it might be created entirely in the package postinst scripts.03:15
Stargoose2rwp: grep /etc/init.d/bthelper /var/lib/dpkg/info/* does not give any results03:16
Stargoose2so this bthelper can safely be deleted (never gonna use BT here)03:17
Stargoose2right?03:17
rrqyes, but use "update-rc.d bthelper disable" first03:19
fluffywolfonly thing I'm finding googling is it's some rpi-specific thing?03:23
fluffywolfis this an rpi you're working on?03:24
rwpMy network went away for a while.  Expect my client to catch up in a moment and print out something from a couple of minutes ago.03:28
gnarfacethe rpi images are created differently, it might be worth checking the setup scripts for that03:28
gnarfacesources should be on the gitlab03:28
gnarfacei think?03:29
rwpI would double check less specifically, in case it isn't using the full path or is using a variable: grep bthelper /var/lib/dpkg/info/*03:29
rwpSometimes the RPi specific stuff is just hacked in without really following all of the rigorous procedures.03:29
Stargoose2I got a LOT of information today here, thanks a reeeeal lot, guys. You have been really friendly to me and my strange english :D03:31
Stargoose2Do you guys know how to set TTY autologin?03:34
Stargoose2Ah, seems to be an fstab edit like in the old times! :D03:38
Stargoose2I mean inittab03:38
fluffywolfis this an rpi?03:41
Stargoose2fluffywolf: yes03:41
systemdletebareos supports tls 1.3?05:34
systemdlete(just checking, that's all)05:34
systemdleteI mean devuan, not bareos.  Bareos definitely needs it.05:35
systemdlete(didn't sleep well last night, so my mind is a bit scrambled atm)05:36
systemdleteactually I doubt this is going to work anyway.  I'm trying to run an older bareos 18 director to a a bareos 20 client.  That is probably not the least bit supported.05:38
* systemdlete wonders why he even thought of trying such a combination...05:39
systemdletenvm05:39
systemdleteI'll take my scrambled brains somewhere else...05:39
error144hi all, yesterday and thanks to rrq, I managed to make devuan-installer-iso work, I take it from there and tried to customize it so it has my own distro in it, but I couldn't, here is what I tried so far:13:45
error144-Mask all repositories beside debian-installer, result was the tool just broke13:46
error144-run build.sh, didn't work13:46
error144-used custom inputs for build-sudo.sh, breaks it up13:46
error144-tried to change netinstall.mk, didn't work13:47
error144anyone knows how I can make this tool only use my distro packages, and only use my distro window manager, and not download gnome and such?13:48
Joy-Unit_can you rephrase your question please, error144?13:48
error144how to customize devuan-installer-iso to only use existing packages to build the iso file?13:49
Joy-Unit_question is clear now, thanks.  i don't know.13:50
error144Joy-Unit_, no problem, thanks for pointing that out.13:51
rrqerror144: first you'll need to have a debootstrap, thereafter the source list points are in build-sudo.sh13:54
rrqof course the building will need the programs it needs, so "your" repo(s) need to provide them13:55
error144you mean I must have a tool named "debootstrap"? if so then yes, I have it installed, what next?13:56
error144"source list points are in build-sudo.sh" you mean what's in #configure apt?13:57
error144in the git page, it says that only debian-installer is needed, the rest are not, so should I comment them?13:57
rrqlines 43-45 of build-sudo.sh defines the sources.list used in the build system (the chroot)13:59
error144rrq, so should I remove them in my case?14:00
rrqthose sources.list  points are used firstly for populating the builds system, and secondly to define the span of posibilites for populating the installer iso14:00
rrqif you want to use different repo(s), that's where you define them14:01
error144OK, I understood, what next?14:02
rrqthe initial debootsrap source i s set at line 10 of build-sudo.sh14:02
rrqif you want a dfferent repo for that, then that's whre you set that14:02
error144understood, what next?14:03
rrqthen it's just a matter of ensuring tat the repo(s) you've define indlcude the programs (and libraries) needed14:03
error144they do, so how I am going to define what will be in the Iso?14:05
rrqas I mentioned yesterday, the iso content is configured based on the package lists in the pool/ directory, and they get downloaded using those same sources.list points14:05
error144I checked pool directory, and I couldn't found how to do that?14:06
error144also there is no "netinstall" file for that?14:06
rrqteh only escape is for the dvd and cds, which uses the "by-vote" list obtained from debian's popcon (or maybe devuan's; I don't rememeber)14:06
rrqyou'll see it in hte Makefile14:06
rrqthere's a NETINSTALL_something target14:07
rrqwhich depends on its collection of lists files14:07
error144_rrq sorry for being noob, but I can't see it?14:08
rrqpool/Makefile:85-8714:09
error144_NETINSTALL_LIST_ ... all-required all-important14:11
error144_should I remove the last two words?14:11
rrqperhaps. why?14:12
error144_so it doesn't add all the useless packages into the iso?14:13
error144_and only add the packages that are used14:14
error144_yesterday when I finish the build, I booted it up to see what changed, and it installed normal devuan, without anything I added?14:14
rrqyes, all-required and all-important are two package lists that gets created by finding the packages in the available package collection that have those priorities14:15
error144_ok, I will remove them, what's next?14:15
rrqif you don't want that on the ISO than removing those dependencies will work14:15
rrqfor that14:15
error144_ok, do you know how to change "desktop enviroment" list on the installer?14:16
error144_my custom distro uses a window manager named "dwm", when I installed the build of yesterday, I didn't found it, nor found its files?14:17
rrqif you build a netinstall then that's irrelevant14:17
rrqbut the installer itself has a few lists of packages of degrees of necessity14:17
error144_I choose netinstall thinking that it will have less packages + the packages I used in my distro14:18
error144_since the desktop build is 4GB I thought it does install packages that are not used as well14:18
rrqyes the desktop iso is named DVD1 in the pool14:20
rrqand its package list preparation is a few lines down14:21
buZzerror144_: yeah i always go for minimal installs too14:21
buZzthere's not a lot of reason to install 4GB worth of packages for the yolo :P14:21
error144_buZz I hate when I use a distro for so long, and I check the installed packages and found like 1000 unused packages :(14:23
buZz:)14:23
error144_=(14:23
Joy-Unit_if you want simplicity you must walk the narrow path14:24
error144_rrq so should I go with desktop one removing server headers and desktop by_vote-00?14:25
rrqyes that's the kind of thing you'll need to do to change the iso content14:27
error144_rrq done, what's next?14:27
rrqif you want to change the installer's behaviour, you'll have to modify the udebs involved14:29
error144_ok, how to do that?14:29
rrqyou would change them to suit, build their new versions for yurself, and put them in "localudebs" to override14:30
rrqsome udebs are forked and some are directly from debian14:31
rrqit'd be the normal way of cloning the source, make the change and prpare the package14:32
rrqall that can happen at a distance from the installer-iso workspace14:33
rrqand then you'd add the new udebs into localudebs/14:33
rrqfor example, if you want your installer to default to something else than devuan's round-robin domain, you'd patch for that in the choose-mirror udeb.14:37
buZzits not that recommend to -not- use the round robin, fyi14:39
error144_rrq this got complecated too quickly, do you have any external resource to know how to do that?14:46
error144_I am having hard time searching all of what you are saying14:46
error144_due to the lake of information about this topic14:47
rrqdon;t know; it's the "normal" debconf setup of debian-installer14:47
buZzthere's nothing unique to devuan's iso making vs debian's , afaik14:48
error144_even infromation about debian-installer is rare14:48
error144_I tried it before devuan-installer (or after)14:48
error144_but I want to use devuan installer, because my ditro is built upon devuan, (just to be compatable, so to say)14:49
error144_rqq  "and put them in "localudebs" to override " but the localuddebs is almost empty?14:52
rrqyes it was a while ago for me, but I remember it as quite hard to work out bits and pieces. I have a meory of finding debconf info on the web, but I dont' rememeber where that was14:53
error144_rrq if I successed at this I may make an article to explain how to use it.14:54
error144_I just need to know where to get those udebs14:55
rrqafair the debian-installer iso building does not work out package dependencies and you'll have to enumerate the content maually; devuan's installer-iso includes some scripting to traverse the dependency tree so you only need to enumerate the "roots" packages14:55
rrqudebs are typically part of the main/debian-installer repo section(s), and I think debina has an installer team in their store (salsa)14:56
rrqdevuan pacagaes are in devuan's git store14:56
rrqwhen you build, the builder generates a list of all udebs it has included. You may inspect those for their source information.14:57
rrqsome "normal" sources also build udeb packages.14:58
rrqconceptually, the installer consists of an initramfs that includes a collection of pre-unpackaed udebs, and then additional udebs that get loaded from the on-iso pool.15:00
rrqthe devuan installer udeb's are mentioned in the pool/installer-menu and pool/installer-extra list files15:03
rrqno, the latter is named pool/installer-undeclared15:04
* rrq jumps into the pumpkin and goes away15:07
error144_rqq hope the pumpkin is sugary, thank you rrq for this information, I know I will have hard time understanding it,15:08
error144_so I will slowly searching it one by one until I found out how to do it.15:08
ocinI'm trying to upgrade an ascii to beowulf but the dist-upgrade fails at eudev. 1. I get the message about missing ksyms and 2. it seems to depend on libeudev = something (not >=). https://dpaste.com/BQH3MMARK.txt17:20
ocinnot sure what to do now and even less sure how to automate the fix in ansible later, thats gonna be fun.17:21
user____ocin: I had no trouble doing that some months ago.17:21
user____Seems things have moved on? Did you update ascii before starting this?17:22
ocinlooks like ansible didn't do that even though it should have, but the system was last updated 6 days ago and installed like 3 months ago.17:34
ocina dist-upgrade was not done on the ascii box since but regular update17:35
ocinI guess the kernel is too old then :/17:41
Stargoose2Hi. I deleted /etc/init.d/checkroot.sh during some experiments yesterday (system works fine because I pass "rw" to the kernel). How can I reinstall that file? Acording to dpkg -S, it belongs to the "initscripts" package, but doing "apt-get install --reinstall initscripts" doesn't install the file again.17:46
ocinhmm, I even use the ascii-backports kernel so I really wonder how it can be too old to not support something eudev needs17:49
rwpThat /etc/init.d/checkroot.sh is in the initscripts package.17:50
rwpStargoose2, Pass in the  -o DPkg::Options::=--force-confmiss option.17:52
rwpI think it is a terrible default but it was successfully argued that removing a conffile is a local admin explicit action and should not be overwritten by dpkg.17:53
rwpThe dpkg man page says "confmiss: Always install the missing conffile without prompting. This is dangerous, since it means not preserving a change (removing) made to the file."17:54
rwpOn the opposition side, I think not reinstalling a conffile is dangerous.  Because otherwise you have to know about this option in order to get it back!17:55
rwpStargoose2, I strongly recommend installing "etckeeper" package.  It will automatically commit everything into version control.  I install it everywhere.17:55
Stargoose2rwp: Ah, that Dpkg parameter saved the day! Thanks a lot! Taking notes...17:56
rwpIn that same area I want to call out -o DPkg::Options::=--force-confnew too.  This is useful if scripting everything and wanting to get the NEW version of conffiles without prompting.17:58
rwpIf customization is needed then that needs to be done after the upgrade.  But then it is customizing against the new version of the conffile and not a ten version old one.17:58
rwpEither way the other version of the conffile will be saved as foo.dpkg-old or foo.dpkg-new (or the odd foo.dpkg-dist that some postinst scripts do uniquely)17:59
rwpI always run "find /etc -name '*.dpkg-*' -ls" and "find /etc -name '*.ucf-*' -ls" to look for these left behind bits of lint after the daily upgrading and merge them and cleanup as needed.18:00
rwpHere is a for-example of when a new conffile was needed rather than preserving the previous.  The sudoers file changed to require secure_path to be set.18:03
rwpThe old file did not have it.  The new one did.  Those who got the new file were okay.18:03
rwpThose with the old file were swamping the communication channels asking why PATH wasn't set for them.18:03
rwpBut CAUTION if you needed a customization there to get root and sudo taking the new file could lock you out!18:03
rwpSo as with all things it is important to test carefully and understand.18:03
Stargoose2rwp: thanks, very valuable tips indeed!18:12
Stargoose2All this happened precissely because I was messing with the init system without knowing it well...18:12
rwpetckeeper FTW! :-)18:14
rwpAnd I say keep on hacking on.  Because that is the only way to learn things.  Happy Hacking! :-)18:14
Stargoose2rwp: That is it exactly! I have several pages of notes of service management on Devuan already, and I started yesterday! :D18:30
Stargoose2This is how I learned everything I know, by hacking, breaking, fixing and documenting! :)18:30
Stargoose2But man does it make the time fly... hours pass like minutes!18:31
fluffywolffinally got my computer to stop turning itself off.  the problem is elogind.20:19
fluffywolfupgrading to a package with default settings TO FUCKING TURN YOUR COMPUTER OFF RANDOMLY is not ok.20:20
fluffywolfpower management crap absolutely should not get enabld on an upgrade.  it probably shouldn't be enabled without explicit user configuration, ever.20:21
gnarfacemy hypothesis is that elogind must have pulled in the other stuff as dependencies for a graphical login that it in turn pulled it in20:24
gnarfaceand i still suspect that if you'd done the upgrade with --no-install-recommends none of it would have been included20:24
fluffywolfno.  elogind does power management now.20:24
gnarfacecertainly it must at minimum require acpid for that?20:24
fluffywolfacpid is not intalled.  I removed it trying to fix the problem.  and upower, and xfce's power stuff, and everything else that seemed related to power or acpi.20:25
gnarfacehuh20:25
gnarfacedisturbing20:25
gnarfacewell you don't need elogind if you're not using a gui login prompt20:25
gnarfaceor i should say, you didn't...20:26
gnarfaceif that has changed in chimaera that's not good20:26
fluffywolfhttps://manpages.debian.org/testing/elogind/logind.conf.5.en.html  see how much of its config is about power management20:26
fluffywolftrying to remove elogind causes excessive other things to be removed, including everything kde-related, like ktorrent.20:27
gnarfacethat was normal too, but in the past you'd be able to reinstall the non-login parts afterwards20:28
fluffywolfwhat does elogind do that is beneficial to my system?20:28
fluffywolfall of its configuration options look to be either harmful (like killing everything on logout) or already handled by other programs.20:29
gnarfaceit's a dropin replacement for systemd-logind, so it's primary benefit is adding support for all the software that otherwise required systemd-logind, which afaik was only the gui-login/user session management stuff20:29
rwpelogind is beneficial only in the sense that it allows Desktop Environments such as XFCE to be installed that would otherwise require systemd-logind.  And that would be bad.20:30
gnarfacerwp: but it used to be that XFCE could be run without elogind, if you just entered it with startx instead of a graphical login... did that change in chimaera?20:30
rwpMaybe I am conflating it with lightdm and slim?  Probably.20:31
gnarfaceyea, i was under the impression that the window manager itself did not ever require this, only the session management stuff attached to it20:31
fluffywolftrying to remove it is not actually trying to remove anything to do with logins, amusingly.20:31
rwpIt is definitely not needed for someone logging in at the Linux vt console, and running startx/xinit to launch a window manager.20:31
fluffywolfbut it seems to break gvfs and everything that depends on it.20:31
gnarfacebut depending on how you installed you might get it all bundled together and have to uninstall it all then reinstall the parts you want ala-carte20:32
fluffywolfaptitude can't find any solution that removes elogind and keeps ktorrent.20:32
fluffywolfso there's a chain of hard dependencies there20:32
gnarfacehmm, seems like maybe a mistake20:33
rwpDoes pkginfo.devuan.org have a dotty graphical dependency page available?  I thought it did.  It might be useful to see what depends upon what.20:33
fluffywolfbrb20:33
gnarfaceyou should be able to get by without gvfsd too, though dbus might be harder to avoid20:33
golinuxhttps://git.devuan.org/devuan/elogind20:34
golinuxLearn something about what elogind does20:34
rwpAlso: https://pkginfo.devuan.org/cgi-bin/debtree-query.html?c=package&q=ktorrent20:34
rwpWhat a web!20:34
golinuxYeah . . . that page confuses the heck out of me20:35
rwpIt is telling me that I need a MUCH LARGER display than my current medium sized monitor.20:36
fluffywolfwhat elogind does is a bunch of things I don't want done.  whether it also does useful things I do not know.20:40
rwpelogind does not do anything I find necessary for my use of the computer.20:50
rwpHowever having it installed and not using it does not cause me any problems either.20:51
fluffywolf"ktorrent" -> "kio" -> "libkf5authcore5" -> "libpolkit-qt5-1-1" -> "libpolkit-gobject-1-0" -> "libpolkit-gobject-consolekit-1-0" -> "libelogind0"   looks like at least part of the chain...20:52
rwpI also want to defend acpi too.  That sub-system is useful.  I am unaware of any problems.  It enables several things.20:53
rwpFor one is power management for the power button.  Which is how KVM and VM management works too.20:54
fluffywolfyes, the subsystem is useful.  having a login manager (?) decide that it should randomly suspend your computer, as the default configuration, is very much not useful.20:54
rwpFor another is laptop keys.  I use it to make my laptop keys work.  https://www.proulx.com/~bob/doc/thinkpad-x220-laptop-keys/thinkpad-x220-laptop-keys.html20:54
fluffywolfthe default should be all power management is off unless the user turns it on.  and it's questionable whether the login manager should even be doing power management.20:54
fluffywolfalso, importantly, the power management configuration should not change during an upgrade.20:56
Garb0Anymore knows anything about the nvidia issue?21:00
Garb0anyone*21:00
gnarfaceGarb0: you're gonna have to be more specific21:01
Garb0Oh, i thought everyone else was getting the same issue as a friend and i got the same issue, basically:21:02
Garb0`NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver.`21:02
Garb0Which leads to persistenced not being able to start21:02
Garb0which leads to dpkg not fully configuring the nvidia driver21:02
gnarfacethere's so many nvidia issues all the time we can't even tell if you mean a technical one or a legal one21:02
Garb0Oh lol21:03
gnarfacein that particular instance, leading cause is driver version mismatch, but never fear; just uninstall nvidia-persistanced and nvidia-smi - you don't actually need either21:03
gnarface(if it tries to re-install them immediately, just make sure they're matching the main version of most the rest of the nvidia packages)21:03
Garb0gnarface: Oh, thanks,21:04
Garb0didn't know the nvidia-driver metapackage could cause so much havoc21:04
* fluffywolf has a Advanced Micro Devices, Inc. [AMD/ATI] Chelsea LP [Radeon HD 7730M], would be happy never using an nvidia product ever again21:04
Garb0gnarface: I'm on arch btw21:05
gnarfaceRonvidia-persistenced is supposed to add some shader caching stuff that is mostly harmful on linux and the nvidia-smi thing is a maintenance/diagnostic tool you only really need for multi-gpu rendering clusters21:05
gnarface^ this was supposed to be Garb0: nvidia-persisten....21:05
Garb0Thank you very much for you help man, i was gonna spend a night fixing this issue, gnarface21:05
gnarfaceyou're welcome, but don't thank me until after you've verified it works, lol21:06
gnarfacelol yea the AMD drivers are in one package, it definitely lowers the maintenance load during upgrades21:09
gnarfaceso does the fact you can manipulate them with native tools instead of needing some contrived gui atrocity for everything21:09
gnarfaceand i used to be a staunch nvidia sympathizer, they really crapped the bed here21:10
gnarfacebut i suppose that's drifting off-topic21:10
Garb0gnarface: Hell na brother, hashcat no worky, which means imma just purge the entirety of the nvidia driver then reinstall it21:11
Garb0Or maybe i didn't reboot?21:12
gnarfacehmm21:13
gnarfaceif Garb0 makes it back tell them they definitely need to reboot after upgrading this, but removing ALL the nvidia packages then starting over has worked in the past for me21:14
gnarfacebut you do really have to make sure you get all of them21:14
gnarfaceand in matching versions21:14
gnarfacewell, not literally ALL of them but you can't count on the ones you need being automatically included either21:14
gnarfacelibgl1-nvidia-glx often gets missed21:15
gnarface(for example)21:15
Garb0Yeah, works now.21:21
Garb0Thanks, gnarface21:21
Joy-Unitgnarface is very helpful21:22
gnarfacehappy to be of service21:25
fluffywolfbbl, back to work21:25

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