libera/#devuan/ Tuesday, 2024-01-16

ecxodfor some reason this method to migrate to devuan https://www.devuan.org/os/documentation/install-guides/daedalus/bookworm-to-daedalus does not work with servers.00:17
ecxodAfter the reboot I server is not reachable any more00:18
rrqperhaps you could submita patch; like identifying the crux and steps to take to avoid or resolve it ?00:20
ecxodwith a nmap I can not see port 22 any more.00:20
ecxodlooks like systemd is doing more then rising the services, I suppose it is also rising the network00:22
ecxodOKAY I repeated everything again (this time with glasses ;-)) please excuse my english01:30
ecxodSo I noticed that at "apt-get upgrade" something went wrong01:30
ecxodThe following packages have been kept back:01:30
ecxod  apt apt-utils init libapt-pkg6.0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libudev1 polkitd udev01:30
ecxodroot@debian:~# apt-get upgrade01:30
ecxodReading package lists... Done01:30
ecxodBuilding dependency tree... Done01:30
ecxodReading state information... Done01:30
ecxodCalculating upgrade... Done01:30
ecxodThe following packages have been kept back:01:30
ecxod  apt apt-utils init libapt-pkg6.0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libudev1 polkitd udev01:30
ecxodThe following packages will be upgraded:01:30
ecxod  dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common distro-info-data init-system-helpers libdbus-1-3 libproc2-0 procps01:30
ecxod  python3-reportbug reportbug sysvinit-utils unattended-upgrades01:30
ecxod14 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.01:30
ecxodNeed to get 1871 kB of archives.01:30
ecxodAfter this operation, 65.5 kB of additional disk space will be used.01:30
ecxodDo you want to continue? [Y/n]01:30
ecxodso I done this :01:31
ecxodapt install apt=2.6.1devuan1 \01:31
ecxod    apt-utils=2.6.1devuan1 \01:31
ecxod    init=1.65.2devuan1 \01:31
ecxod    libapt-pkg6.0=2.6.1devuan1 \01:31
ecxod    libpolkit-agent-1-0=122-3devuan1 \01:31
ecxod    libpolkit-gobject-1-0=122-3devuan1 \01:31
ecxod    libudev1=1:3.2.9+devuan4 \01:31
ecxod    polkitd=122-3devuan1 \01:31
ecxod    udev=1:3.2.9+devuan4 \01:31
ecxod    sysvinit-core01:31
ecxodone has to force the install of this packages01:32
data41201sudo apt --fix-broken install01:59
fsr_ecxod, note that eudev uses the old network interface names. If you have scripts that use the new "predictable" names you either need to change enp-whatever to eth0, or else you need to boot with net.ifnames=1 to force eudev to use the new names.02:19
ecxodI try it02:20
ecxodno, the system uses the "old" eth0, should I stay with udev or replace it with eudev?02:43
fsr_if you're migrating to devuan, you'll get eudev02:48
fsr_there is a udev package, but it's just there for eudev. It's not systemd-udevd02:49
ecxodI am again here now where I do the apt-get upgrade and it keeps the apt apt-utils init libapt-pkg6.0 libpolkit-agent-1-0 libpolkit-gobject-1-0 libudev1 polkitd udev back02:50
onefangDoes it want to upgrade anything else?  If so upgrade those things first.  Otherwise asking aptitude why might be useful.02:54
fsr_Maybe you need to tell it to install eudev02:59
fsr_and I second what onefang said.  aptitude -s upgrade (or install package) may give you some choices.03:01
onefangfsr_: Are you fsmithred's shorter twin with a tail?03:02
fsr_yeah, oh, I didn't see the tail. I'll try again. Maybe switch to my usual name. I'm on a different computer now.03:11
fsmithredback03:12
fsmithredand afk03:15
ecxodI installed bullzeye image on the server and I was able to migrate to chimaera03:41
ecxodroot@vmd118846:~# ps -p 103:41
ecxod    PID TTY          TIME CMD03:41
ecxod      1 ?        00:00:00 init03:41
ecxodlsb_release -a03:41
ecxodNo LSB modules are available.03:41
ecxodDistributor ID: Devuan03:41
ecxodDescription:    Devuan GNU/Linux 4 (chimaera)03:41
ecxodRelease:        403:41
ecxodCodename:       chimaera03:41
cousin_luigiDoes anyone here run a caldav server on Devuan?11:27
Jorilcousin_luigi: Yes, I use Radicale13:38
cousin_luigiJoril: Interesting. Does it also come with a web interface?13:38
JorilWell it provides a web interface for managing users and calendars13:40
Joril(and address books)13:40
JorilI mean, for creating calendars, not single events13:42
cousin_luigiJoril: Single events being handled client-side ?13:42
cousin_luigiThat's good enough for me.13:42
cousin_luigiI was trying davical but I kept seeing a token error.13:42
cousin_luigiJoril: Thanks for the hint, will let you know how it goes:)13:46
JorilYou're welcome :)13:50
cousin_luigiJoril: Ok, I set it up, but I think I'm getting confused between apache and uwsgi authentication. Do I actually need that extra layer?14:43
Jorilcousin_luigi: well I run Radicale behind nginx to handle HTTPS, but you can run it even by itself, no web server and no uwsgi17:44
nemoBTW the devuan tomcat10 package still doesn't have an init file in it (fortunately it is easy to copy over and adapt from tomcat 8/9)20:25
nemoapt install sssd is erroring mysteriously... I have no idea if that's a debian problem or a devuan one20:26
nemo"Starting System Security Services Daemon: sssd failed!"20:26
nemoand some warnings from apparmour before that20:27
nemoah. it does have an init script, it's complaining about "-f" being an invalid option20:27
nemoperhaps the init script is unmaintained20:27
gnarfaceis that in testing or stable?20:27
nemognarface: both are in stable20:28
nemoit's worrying is all ☹20:28
nemoyeah. starting /etc/init.d/sssd is definitely failing20:28
nemonow how to get the params ..20:28
* nemo reads the init file20:28
nemoah. /etc/default/ssd passes DAEMON_OPTS="-D -f"20:29
nemo-f is indeed undefined20:29
* nemo removes it20:29
nemoI wonder what it used to do20:30
nemohm. still gives a fail after that ☹20:30
nemo/etc/init.d/sssd status     "sssd is not running ... failed!"  wut.20:31
nemoah... the startup errors are explained in the log20:32
nemojust needs to be configured properly I think20:32
nemoodd that it even tries to start up on install with that as an issue20:33
nemomaybe that "-f" flag is related20:33
nemowelp. on to some setup guides I guess20:33
nemoI'm reading https://wiki.debian.org/AuthenticatingLinuxWithActiveDirectorySssd due to lack of anything else, and hoping it works minus systemd20:34
nemohm smbd doesn't exist in /etc/init.d/  thaaaat's a problem20:41
nemoyeah. I'm starting to think devuan is a lost cause ☹20:44
nemoclearly debian has no interest in maintaining init scripts anymore20:44
gnarfacewe have an orphaned init scripts package around here somewhere20:45
nemobut. eh. just for the hell of it. does anyone have an smbd init script I could use?20:45
nemooh20:45
nemocool20:45
nemothat might solve my samba and tomcat problems20:45
gnarfaceprobably20:45
nemognarface: do you know where that package is?20:55
gnarfacenemo: no, sorry. maybe ... devuan-proposed-updates or something like that? ask fsmithred20:56
nemook20:57
nemoI'll keep an eye out for him20:57
gnarfaceit might be mentioned in the forum20:57
nemohttps://packages.debian.org/sid/orphan-sysvinit-scripts  welp. debian has one20:58
nemowould that be same thing?20:58
gnarfacehmm, well the package name looks right, anyway20:59
nemoah. that one is autoinstalled already21:01
gnarfacenemo: yea, probably the same thing, but don't get it from there. there's a copies in the devaun repos, even in stable21:02
nemobut definitely did not provide an smbd init21:02
nemoand given it was installed by default, probably didn't provide tomcat either21:02
nemoI guess I need to dump it21:02
gnarfaceoh. bummer. well definitely mention it to fsmithred so we can add the missing scripts21:02
nemoso. back to channel I guess... anyone here have an smbd init?21:02
nemokinda stuck on https://wiki.debian.org/AuthenticatingLinuxWithActiveDirectorySssd21:03
nemoand I'm guessing my coworkers have a simple solution for me. remove devuan everywhere..21:03
nemosiiiiigh21:03
cousin_luiginemo: What are orphan scripts in this context?21:03
nemocousin_luigi: tomcat10 and smbd21:04
nemotomcat10 I took care of manually since I had tomcat8 as a reference21:04
nemosmbd I have no idea what to do21:04
cousin_luiginemo: Meaning that debian is not supporting them and devuan has to step in?21:04
cousin_luiginemo: Why is that?21:04
nemowhy? because clearly sysvinit is being abandoned by package maintainers21:05
nemoand debian is not requiring it21:05
cousin_luigi:\21:05
cousin_luigiWhat is the specific problem with smbd?21:05
nemothe fact that it has no init script21:05
gnarfacenemo: don't get emotional about it. this is old news and the scripts are easy to recreated.21:05
gnarfacerecreate*21:05
nemognarface: I'm just worried. it's a disturbing trend21:05
nemognarface: similar issue with things like the vmware tooling at work21:06
nemowhere they support upstart, systemd and... that's about it21:06
nemostill haven't gotten around to fixing that one21:06
gnarfaceof the various types of vandalism they're committing, this is just about the easiest to undo.21:06
nemoas for easy to recreate, I have no idea how.. but I guess I could hunt for an old enough .deb and try to find one in there..21:07
nemoany suggestions?21:07
gnarfaceyea, that's what i'd do exactly. i'd try to find the last version before they deleted it.21:07
nemohmmm maybe my chimæra machine had one21:07
nemough. did I keep any beowulf/chimæra anywhere..21:08
gnarfaceeither check the old install or see if they hid an "example" version in /usr/share/doc/[package]21:08
nemowell. let me see what's in the devuan repos21:08
nemono "examples"21:08
gnarfaceor just be patient long enough and someone here might speak up with their backup copy of this - it's unlikely you're the first to run into it21:08
nemofair 'nuff. I'll just stall for a bit. hopefully coworker is not in a hurry21:09
nemo(he wanted me to setup windows domain auth on all the devuan machines)21:09
gnarfaceit should be easy to download the chimaera version of the package21:09
gnarfacethere's a download-only flag for apt/apt-get21:09
nemo(we are up to to a dozen + at this point, not counting dev instances)21:10
nemognarface: ah? I've never done that before. I was just going to grab it off the website21:10
nemohow do I specify a specific release when fetching?21:10
gnarface-t21:10
cousin_luiginemo: Wait, doesn't debian have a git source repository? Can't you get it there?21:11
nemoah right. I do remember that one21:11
gnarfaceit has to be in the sources.list cache too21:11
nemohmm thinking the website might be less of a hassle 😃21:11
gnarfaceyes, you can also just browse the repos with a web browser, or find the url with pkginfo.devuan.org... or.. yes, probably the source repo too (git.devuan.org)21:11
nemoyeah. git.devuan.org has a lot of stuff under it. I'm kinda lost21:13
nemoback to https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=samba=2:4.13.13+dfsg-1~deb11u521:13
gnarfaceyea, looks like there's a link on there. check the dpkg man page, there should be a way to just extract the package without actually installing it21:15
nemoyay! chimæra still had the init scripts21:15
nemolooks like there are 3 of them really21:15
nemo~/Downloads/smb/etc/init.d$ ls21:15
nemonmbd  samba-ad-dc  smbd21:15
* nemo reads21:15
nemoyeah. yeah. no. just need smbd21:16
nemobut I'll copy 'em all over anyway21:16
gnarfacei'm not sure what samba-ad-dc is, but i do recall that you need nmbd and smbd both for different versions of windows21:16
nemohm lemme doublecheck dædalus really is missing them and I didn't screw something up21:16
nemognarface: well in this case I'm not trying to provide any samba services21:17
nemoI just want samba to authenticate to AD as a client21:17
nemoaaaand the SSSD guide seemed to say I needed smbd for that21:17
nemowhich is mildly surprising but whatever21:17
nemowas just blindly following the guide after the winbind one failed and people said sssd is the new hotness21:17
gnarfacehmm, never done that, sorry21:18
gnarfacei'm sure there's a way to make it work21:18
nemoyeah. it's new for me too. but after we successfully got linux authenticating against kerberos using SSO (yay, that was a minor victory)21:18
nemothe windows admins now want to push on for full integration21:18
nemos/linux/devuan/21:18
nemoI'm getting the idea there's no automation in the "orphaned" thing21:19
gnarface"aaah! there's a missing init script! oh my god we'd better fucking delete everything and eject!" sounds like typical windows-user problem solving21:19
nemomaybe someone needs to script up a recursive comparison of all packages between chimæra and dædalus and if any chimæra package had a file under /etc/init.d but the dædalus one did not, flag it for review.21:20
nemognarface: what's scaring me is I setup a dozen devuan servers21:20
nemognarface: I'm responsible for these not failing21:20
nemognarface: if we're going for a slow slide into obsolescence, I might need to jump clear before it's too late21:20
nemothat's all21:20
gnarfacenemo: well, next time don't commit to a release upgrade without testing it first21:20
nemoI certainly know how to attack problems, hell, our tomcats all work 'cause I fixed that myself, I'm just getting worried21:21
nemognarface: I certainly did test it... that's how I added "setup init manually" to the upgrade script21:21
nemognarface: in terms of samba, this one is simply a surprise because we started examining this now after we already transitioned to dædalus21:21
nemoand I'm concerned there might be more surprises in the future21:21
nemoI'm just nervous is all..21:21
gnarfacenemo: yea, keep backups of your whole /etc/ directories from previous releases as a general rule anyway, not just because they've been known to be randomly deleting init scripts "nobody is using" for a couple releases going now21:21
nemognarface: well. in this case I didn't have samba since it was all new21:22
nemognarface: for tomcat, it was not a problem since we have snapshots everywhere21:22
nemobut yes. that's the thing. I'm just concerned it might get to be too much to keep up with21:22
nemoas much as I love my sysv21:23
nemogentoo still seems to be committed to it. thankfully.21:23
nemoI guess that's one major distro to crib off of.21:23
nemothankfully they haven't asked me to set all the machines up with VMware horizon agent vadc yet though21:24
gnarfacelook, i sympathize, and existentially i'm concerned too, but in this particular case i still just think it's a overreaction, and possibly some of that is being amplified by your co-workers also panicking prematurely (or just trolling)21:26
nemowell. I'm definitely getting the trolling21:26
nemobut I'm also just not a sysadmin and this stuff worries me. but I'll hang on for now.21:26
nemoI'll have to ask fsmithred if he's ever thought iterating over all packages on a mirror he has access to might be worth doing.  it seems it'd be just a few lines of shell script and could be revealing21:26
nemohm21:26
nemognarface: do you have access to mirrors?21:26
nemomaybe I could try to come up with a loop for you to test21:27
gnarfaceno, i have no admin access, but keep in mind that these init scripts are easy to write from scratch, and debian has been missing init scripts since long before devuan or systemd was an excuse21:27
nemoyeah. but they can have gotchas in 'em.  I did try doing a tomcat one from scratch before I thought to look and it did not end well21:28
nemomostly 'cause it reads a lot of config vars21:28
nemoand has some bootstrap stuff that is non-obvious21:28
nemothen I was like. "oh wait, I'm being silly"21:28
nemothe tomcat init script is 264 lines long btw ☺21:28
nemothe smbd one is a much more reasonable 89 lines21:29
nemoonly interesting thing in it is some apparmor checks21:29
gnarfaceyea, well... you can also to a great degree judge the quality of a piece of software by two main benchmarks: 1) how hard it is create the binary package from the source package 2) how complicated of an init script it needs21:32
gnarfacebut, definitely stick around and get in contact with fsmithred about this... they're already working on organizing a response to this21:36
nemooh good21:36
nemoit seems it would be easy to generate a report of how widespread this is though21:36
nemojust a quick comparison of the .debs21:36
nemocould even do some stats as to what the trend has been each release21:37
nemoand I definitely would appreciate knowing which ones still have problems in advance.21:37
gnarfaceyea, i think they're tracking it somewhere, albeit maybe unofficially still21:37
nemo... it's just a lot harder to do something like that without a repo mirror. although... I guess I could request enough VM space for one. I wonder how large a package mirror is.  seems like a waste of bandwidth for me to do it though ☺21:37
gnarfacebut keep in mind that many of these init scripts were already missing before systemd21:38
nemognarface: possibly. I'm more curious in comparing beowulf/chimaera/daedalus at the moment... basically "all the devuan things"21:38
nemoif they were missing before that, hopefully it wasn't a common package21:39
gnarfacei just remember i frequently had to write my own, or find a "example" one partially working in the doc directory and fix it then install it by hand21:39
gnarfacethat was a common task for me in the old days21:39
gnarfacenemo: well, here's another one to check: compare your beowulf rsyslog.conf with the daedalus one, but if you decide to forward port all the missing stuff, remember to go through the logrotate config and add them all back there too21:48
nemothe only logrotate I care about is apache22:59
nemoand that one has survived the beowulf → chimæra → dædalus on all servers without issues23:00
ibanjadoes devuan default to pipewire or pulse audio?23:55
nemoibanja: pulseaudio23:55
nemofortunately23:55
nemoI love pipewire as a concept, but man is it annoying with old games on my steamdeck23:55
ibanjawhy fortunately? I have always had problems with pulse and was wondering if pipewire was better.23:56
nemotoo strict23:56
nemopulseaudio seems to dynamically update to stupid app tricks more flexibly23:56
nemoI spent hours trying to tweak pipewire with no success.23:56
nemoI just gave up and turned off sound on the broken games23:56
ibanjaI only use audio in my browser and to play mp3 files that require jack.23:57
nemowell for that basically anything should work23:57
nemoand it doesn't really matter23:57
nemoso I'd go with pulseaudio just for greater reliability23:57
ibanjayou would think but I have been without audio on my browsers for over a year.23:57
nemohm.23:57
nemobrowsers only?23:58
nemocan you get sound in something a bit more minimal?23:58
ibanjaand i need to jump through hoops to get my jack working.23:58
nemoibanja: do you have pavucontrol installed?23:58
nemoibanja: also. you don't have multiple X sessions running do you?23:58
nemoI'd start by checking your config in pavucontrol while a browser is playing sound23:59
ibanjaI copy the url for something like youtube and play it via the cli using mpv23:59
ibanjaone x session23:59
nemodepending on your machine graphic acceleration could be an issue too23:59

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