libera/#devuan/ Monday, 2022-11-28

FatPhilI did have a good workmate who liked to take my perl scripts and then convert them to sh+sed+grep+... in order to prove to me that perl wasn't necessary. Of course, he was right, but was it worth the effort? Of course it was, because programming's art as well as science.00:01
Juestum, i have a really old install and i forgot the password and usernames in place00:56
rwpHi Juest.  Is that a question?  Are you asking how to recovery and reset a new password?01:39
rwpThe safest and easiest recovery is to download the installer image, I suggest the "netinstall" image, flash it to a USB device, boot it in Rescue Mode.01:41
rwphttps://www.devuan.org/get-devuan01:41
rwpIn Rescue mode it will say "Rescue" in the corner.  Important not to be installing but to be Rescue-ing.01:41
rwpIt will guide you through mounting your system and obtaining a shell on your system.  Then changing your password.01:42
fluffywolfI usually just init=/bin/sh and passwd...01:50
sfoxWTF is a systemd timer and how can I install sanoid without one?05:45
sfoxhttps://github.com/jimsalterjrs/sanoid/blob/v2.1.0/INSTALL.md05:45
sfoxtrying to follow this guide using the debian instructions to backup my zroot pool within my workstation to a second pool I just setup05:45
sfoxis it like a proprietary version of cron?05:45
gnarfacesfox: probably07:28
ltsYup. Just setup a cronjob for "sanoid --cron".07:36
onefangAny one know a simple way to get a MIDI drum controler to actually produce drum sounds on my Devuan Chimaera desktop, using ALSA?  They all seem to want JACK.12:54
onefangI rescued one of these https://alesis.com/products/view2/v25 from garbage, where it had been soaking in dirty water over night.  Got the drub pad half working after crleaning it.  Still have to clean the keyboard part.  MIDI monitors tell me the drum pad events are being sent.12:56
Juestthanks rwp!13:12
Juestim using ascii for parity and im having black screen in xorg in vmware13:39
onefangAh hydrogen is the answer.  It just defaulted to low volume, s-o I didn''t hear my drums the first times I tried it.  lol15:01
onefangAlso I have to thump the drum pads very hard to get loud sounds out of them.15:05
fluffywolfalas, I lack any musical abilities, and thus do not know anything about midi drum pads.15:44
gnarfacethat might be the reason it was in the trash, they do wear out15:51
gnarfacebut maybe with some bending and gluing you can refurb it15:51
gnarfacethey're supposed to be pressure-sensitive so some variation in volume is expected, it's just a question of whether it's appropriately calibrated15:51
gnarfacemaybe if the sensors are clearly dislodged or deformed on the inside they can just be fixed by hand15:52
gnarfacemost people wouldn't open them up to check15:52
NrmlI'm about to install a new server (headless machine on basic x64 server hardware), and I'm just about fed up with systemd and all its issues, so of course I will be going with Devuan. I checked https://mirror.leaseweb.com/devuan/ and see there's already a "Daedalus Preview 20221121" available. It's safe to install from it, or should I just install Chimaera and later do a `dist-upgrade`?16:26
nemoIMO if you're just starting anything you should stick with stable16:29
nemoI mean, that's the debian way, right? :)16:30
nemobut gnarface here would know the status of the dev version16:30
nemoBTW, for anyone who was trying to help with the mystery of my VM issues16:30
gnarfaceno, i don't know about the status of the preview, but i do know that if you do a minimal install of chimaera you can upgrade very quickly16:30
nemothe problem turns out to be something called "desktop central agent" which is installed on all the VMs to monitor things16:30
nemoone of the things "desktop central agent" does is execute a system status of all services. for no useful reason on these machines16:31
gnarfacei think fsmithred would know the status of the preview though16:32
nemooh... right fsmithred aaagh. sorry. bad memory16:32
nemoyou're right. fsmithred is the go-to-guy for those images16:32
* nemo needs more coffee and more hanging out in #devuan again16:32
Nrmlgnarface, fsmithred: it would be a minimal install plus a couple of extras I can't live without: openssh-server, screen, vim-noex, etc plus docker. All my 'fancy' stuff would go inside docker containers and so would be isolated from any changes in the basic machine16:32
Nrmlnemo: I already run a couple of Chimaera machines with total success and no issues16:33
nemoNrml: do you have desktopcentralagent installed? :)16:33
nemoif not. unrelated ;)16:33
Nrmlnemo: no, all my machines are headless16:33
Nrmlhaven't even heard about desktopcentralagent TBH :-)16:34
nemoyes. it has nothing to do with headless either16:34
Juestumm hey, any clue why ascii on vmware gets stuck in a black screen with Xorg?16:34
nemoNrml: https://www.manageengine.com/products/desktop-central/agent-installation.html   since you seemed interested it's this thing16:35
nemoso anyway. back to my issue... it seems what they are doing is essentially... /bin/ls /etc/init.d/* | while read f; do $f status;done16:35
nemothe result of that is when it hits rcS which does not handle a "status" param at all, they shut everything down16:36
nemoI'm trying to figure out (1) why does rcS exist - is it needed and (2) would it hurt anything if I added a check for a status param so this doesn't happen.16:36
nemomy guess is they wrote their code for systemctl then put in a lazy legacy init workaround16:37
nemofor now I ran mv /etc/init.d/rcS /root16:38
nemo(it's just a symlink though)16:38
nemonow I'm wondering what other stuff they screwed up16:38
gnarfacei'm almost 100% sure that you should just check for it calling rcS and skip it16:39
gnarfacei think you do actually need it16:40
gnarfacei think it's basically just the one that calls all the other scripts16:40
gnarfacei think actually you should skip rc, rcS, and rc.local16:41
gnarfaceit probably won't hurt anything if it calls "/etc/init.d/README status" but i'd probably skip README too16:41
Nrmlnemo: thanks for the link16:43
Juesti guess im not getting help because im running a unsupported version and also older vmware workstation 14.1.816:46
gnarfaceJuest: i can only guess it has something to do with guest extensions16:48
nemognarface: yeah. it was funny. I saw it erroring on README which pretty much confirmed my * suspicions16:48
nemognarface: I can't unfortunately control the agent.  I'm going to file a bug with manage engine though16:48
nemognarface: other folks besides me put this on our instances16:48
nemognarface: so I need to edit the init.d scripts to handle a status keyword for now16:49
nemoeven if it's just to exit on calling it16:49
nemognarface: really this sort of thing is a bad sign. increasingly poor and lazy support for traditional init16:49
nemoI might be forced to abandon devuan in this new orld16:49
nemo*world16:49
gnarfacemany of the properly behaved ones do just define a status function that does nothing16:50
nemoI mean. at least systemd has had a decade to shake out bugs, even if their scope creep has not gone down at all16:50
nemognarface: would it hurt anything if I added those to the rc scripts?16:50
nemoI could just copy and paste it16:50
nemoI would have to replicate it to all the devuan machines here though. kind of annoying. I'd installed a fair # of them. about a dozen16:51
gnarfaceso crazy it might just work16:51
nemoheh16:51
nemognarface: would it be reasonable to ask devuan to support this upstream as a safety measure?16:51
nemoI'm also going to report it to manageengine though16:51
nemoeven if odds are thin of them being sympathetic.16:52
gnarfacehmm, i'm the wrong person to ask about it16:53
nemoactually only scripts that don't handle any keywords at all should be a problem16:53
nemomost scripts that do handle one would just exit if no match16:53
nemolike /etc/init.d/networking handles start/stop/reload/restart/force-reload16:53
nemogiving it no params echoes usage, giving it "status" does nothing16:53
nemowell. echoes usage :)16:54
nemohmmm16:54
nemoI think rcS is the only bad one then16:54
nemoall the others actually check params16:54
nemoI don't see why rcS is even a thing16:56
nemowould it break things if I just moved it out of the way on the dozen machines?16:57
gnarfacelike i said, i think it would actually break things to remove it16:57
nemoyeah. every other script in init.d checks input params which is proper behaviour16:57
nemognarface: ok.  sorry. I'm typing on a very very small screen. I just spotted the line where you said it calls all the others16:58
nemook... I will just have it check for input params then16:58
gnarfacenemo: my instinct is that these people are doing it entirely wrong and they're supposed to just call telinit once, and as such this is not an actionable bug, but fsmithred might have a different opinion (i agree it also doesn't seem like it'd hurt anything to trap status on rcS)16:58
gnarfacewell, it doesn't seem like it'd hurt anything except that it might encourage bad behavior16:59
gnarfaceand i don't think that's really what we're about here16:59
NrmlSo re: using Chimaera stable vs Daedalus Preview 20221121, the consensus is that I should install Chimaera and later do a `dist-upgrade`?17:00
gnarfaceNrml: that's unquestionably the safest approach, but those images are probably there to solicit public feedback, so it kinda depends on what your priorities are17:01
Nrmlgnarface: well, I have some leisure re:issues with this particular install (a couple of days) but not much... eg can't afford to stay a week with issues17:04
NrmlOTOH I would like to contribute to Devuan if I have any issues, or with a positive report if I don't have any17:04
NrmlSo I think I will try Daedalus Preview and if some heavy sh!t hits the fan, reinstall with Chimaera stable17:06
gnarfaceNrml: i would just do the upgrade to be safe, but i would make sure not to install anything except "standard system utilities" in the initial install, to avoid complications with desktop migrations17:06
gnarfacethe preview images really might be fine though, i dunno17:06
Nrmlre: "standard system utilities", are docker and docker-compose standard?17:06
gnarfaceno, but the point is that if you install them after upgrading to daedalus then you don't have to download everything twice17:07
djphNrml: I wouldn't consider them a "standard system utility"17:07
Nrmlre: "download everything twice", that's not an issue, I have plenty of bandwidth for this server17:08
gnarfaceby "standard system utilities" i literally just mean that option on the tasksel panel of the installer17:08
gnarfaceit contains basic shell tools like "less" and other simple conveniences that aren't strictly required, but it's safe because it doesn't contain any graphical programs and it is a trivial amount of extra download17:09
Nrmlthanks for the clarification re: "standard system utilities"17:09
gnarfacewhat i would definitely NOT check is any of the desktop environment checkboxes, or server type checkboxes17:10
NrmlMy idea is to check just "standard system utilities" in the initial install and then add openssh-server, screen, vim-noex, docker and docker-compose via `apt-get install` after first boot17:11
gnarfaceif you have the time and bandwidth to afford the risk of one wasted try though, please don't let me stop you from trying out the daedalus preview17:11
gnarfaceand us know how it works17:11
gnarfacei can only actually recommend methods that have worked for me17:11
gnarfacei mean that i've actually tried17:12
NrmlI will do that. Thanks for the guidance!17:12
Nrmlbye, and back later with a positive report I hope17:12
gnarfacenemo: about this calling everything in /etc/init.d/* thing... the more i'm thinking about it the more i'm thinking they should actually be checking the runlevel and then calling everything in the appropriate /etc/rc*.d/ directory17:13
gnarfaceeither that or maybe, just maybe they should be calling rc directly17:14
gnarfacebut that might require modification of rc and then you'd be back to square 117:15
Sompihttp://paste.dy.fi/H6u17:33
gnarfaceuse paste.debian.net if you want me to actually look at that17:36
Sompiit is just cpuinfo of my server17:36
Juestthis is the rescue live image gnarface17:44
nemognarface: hm... what do you think... exit on $1 != "" or just on "status"17:46
nemoit's a shame it doesn't take an explicit stop :)  I guess it's an old old path17:46
nemowill just go with status for now17:50
gnarfacestatus seems safer17:51
gnarfacethough i can't be sure it'll matter in practical terms17:51
gnarfaceJuest: i think for vmware you need a vmware specific guest driver package from non-free17:53
nemoif [ "$1" = "status" ];then echo "bad invocation";exit;fi17:53
Juestfor xorg to work?18:14
Juestit used to work out of the box before18:14
nemoit should work better with vmware additions but it definitely shouldn't be necessary19:55
onefanggnarface: I was paying particular attention to the drum pads while cleaning, for exactly that reason, they might have worn out AND be more susceptible to water damage.22:24
onefangI've already downloaded the configuration software for setting things like the velocity curves, which will likely help.  Alas they are Mac and Windows only.  I haven't tried them yet.  Might be able to do that with SysEx or something from Linux if they stuck with the standards.  But for now I'm happy it seems to work fine, the MIDI data coming out of looked good to these old MIDI developer eyes.  Next is cleaning up the piano keys.22:27
onefangBut first, time to wake up.22:27
psionic Debian has no hope :(�23:42
psionic Debian has no hope :(��23:42
psionic Debian has no hope :(��23:42
psionic  Debian has no hope :(�23:42

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