ecxod | for 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 |
---|---|---|
ecxod | After the reboot I server is not reachable any more | 00:18 |
rrq | perhaps you could submita patch; like identifying the crux and steps to take to avoid or resolve it ? | 00:20 |
ecxod | with a nmap I can not see port 22 any more. | 00:20 |
ecxod | looks like systemd is doing more then rising the services, I suppose it is also rising the network | 00:22 |
ecxod | OKAY I repeated everything again (this time with glasses ;-)) please excuse my english | 01:30 |
ecxod | So I noticed that at "apt-get upgrade" something went wrong | 01:30 |
ecxod | The 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 udev | 01:30 |
ecxod | root@debian:~# apt-get upgrade | 01:30 |
ecxod | Reading package lists... Done | 01:30 |
ecxod | Building dependency tree... Done | 01:30 |
ecxod | Reading state information... Done | 01:30 |
ecxod | Calculating upgrade... Done | 01:30 |
ecxod | The 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 udev | 01:30 |
ecxod | The 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 procps | 01:30 |
ecxod | python3-reportbug reportbug sysvinit-utils unattended-upgrades | 01:30 |
ecxod | 14 upgraded, 0 newly installed, 0 to remove and 9 not upgraded. | 01:30 |
ecxod | Need to get 1871 kB of archives. | 01:30 |
ecxod | After this operation, 65.5 kB of additional disk space will be used. | 01:30 |
ecxod | Do you want to continue? [Y/n] | 01:30 |
ecxod | so I done this : | 01:31 |
ecxod | apt 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-core | 01:31 |
ecxod | one has to force the install of this packages | 01:32 |
data41201 | sudo apt --fix-broken install | 01: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 |
ecxod | I try it | 02:20 |
ecxod | no, 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 eudev | 02:48 |
fsr_ | there is a udev package, but it's just there for eudev. It's not systemd-udevd | 02:49 |
ecxod | I 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 back | 02:50 |
onefang | Does 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 eudev | 02:59 |
fsr_ | and I second what onefang said. aptitude -s upgrade (or install package) may give you some choices. | 03:01 |
onefang | fsr_: 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 |
fsmithred | back | 03:12 |
fsmithred | and afk | 03:15 |
ecxod | I installed bullzeye image on the server and I was able to migrate to chimaera | 03:41 |
ecxod | root@vmd118846:~# ps -p 1 | 03:41 |
ecxod | PID TTY TIME CMD | 03:41 |
ecxod | 1 ? 00:00:00 init | 03:41 |
ecxod | lsb_release -a | 03:41 |
ecxod | No LSB modules are available. | 03:41 |
ecxod | Distributor ID: Devuan | 03:41 |
ecxod | Description: Devuan GNU/Linux 4 (chimaera) | 03:41 |
ecxod | Release: 4 | 03:41 |
ecxod | Codename: chimaera | 03:41 |
cousin_luigi | Does anyone here run a caldav server on Devuan? | 11:27 |
Joril | cousin_luigi: Yes, I use Radicale | 13:38 |
cousin_luigi | Joril: Interesting. Does it also come with a web interface? | 13:38 |
Joril | Well it provides a web interface for managing users and calendars | 13:40 |
Joril | (and address books) | 13:40 |
Joril | I mean, for creating calendars, not single events | 13:42 |
cousin_luigi | Joril: Single events being handled client-side ? | 13:42 |
cousin_luigi | That's good enough for me. | 13:42 |
cousin_luigi | I was trying davical but I kept seeing a token error. | 13:42 |
cousin_luigi | Joril: Thanks for the hint, will let you know how it goes:) | 13:46 |
Joril | You're welcome :) | 13:50 |
cousin_luigi | Joril: 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 |
Joril | cousin_luigi: well I run Radicale behind nginx to handle HTTPS, but you can run it even by itself, no web server and no uwsgi | 17:44 |
nemo | BTW 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 |
nemo | apt install sssd is erroring mysteriously... I have no idea if that's a debian problem or a devuan one | 20:26 |
nemo | "Starting System Security Services Daemon: sssd failed!" | 20:26 |
nemo | and some warnings from apparmour before that | 20:27 |
nemo | ah. it does have an init script, it's complaining about "-f" being an invalid option | 20:27 |
nemo | perhaps the init script is unmaintained | 20:27 |
gnarface | is that in testing or stable? | 20:27 |
nemo | gnarface: both are in stable | 20:28 |
nemo | it's worrying is all ☹ | 20:28 |
nemo | yeah. starting /etc/init.d/sssd is definitely failing | 20:28 |
nemo | now how to get the params .. | 20:28 |
* nemo reads the init file | 20:28 | |
nemo | ah. /etc/default/ssd passes DAEMON_OPTS="-D -f" | 20:29 |
nemo | -f is indeed undefined | 20:29 |
* nemo removes it | 20:29 | |
nemo | I wonder what it used to do | 20:30 |
nemo | hm. still gives a fail after that ☹ | 20:30 |
nemo | /etc/init.d/sssd status "sssd is not running ... failed!" wut. | 20:31 |
nemo | ah... the startup errors are explained in the log | 20:32 |
nemo | just needs to be configured properly I think | 20:32 |
nemo | odd that it even tries to start up on install with that as an issue | 20:33 |
nemo | maybe that "-f" flag is related | 20:33 |
nemo | welp. on to some setup guides I guess | 20:33 |
nemo | I'm reading https://wiki.debian.org/AuthenticatingLinuxWithActiveDirectorySssd due to lack of anything else, and hoping it works minus systemd | 20:34 |
nemo | hm smbd doesn't exist in /etc/init.d/ thaaaat's a problem | 20:41 |
nemo | yeah. I'm starting to think devuan is a lost cause ☹ | 20:44 |
nemo | clearly debian has no interest in maintaining init scripts anymore | 20:44 |
gnarface | we have an orphaned init scripts package around here somewhere | 20:45 |
nemo | but. eh. just for the hell of it. does anyone have an smbd init script I could use? | 20:45 |
nemo | oh | 20:45 |
nemo | cool | 20:45 |
nemo | that might solve my samba and tomcat problems | 20:45 |
gnarface | probably | 20:45 |
nemo | gnarface: do you know where that package is? | 20:55 |
gnarface | nemo: no, sorry. maybe ... devuan-proposed-updates or something like that? ask fsmithred | 20:56 |
nemo | ok | 20:57 |
nemo | I'll keep an eye out for him | 20:57 |
gnarface | it might be mentioned in the forum | 20:57 |
nemo | https://packages.debian.org/sid/orphan-sysvinit-scripts welp. debian has one | 20:58 |
nemo | would that be same thing? | 20:58 |
gnarface | hmm, well the package name looks right, anyway | 20:59 |
nemo | ah. that one is autoinstalled already | 21:01 |
gnarface | nemo: yea, probably the same thing, but don't get it from there. there's a copies in the devaun repos, even in stable | 21:02 |
nemo | but definitely did not provide an smbd init | 21:02 |
nemo | and given it was installed by default, probably didn't provide tomcat either | 21:02 |
nemo | I guess I need to dump it | 21:02 |
gnarface | oh. bummer. well definitely mention it to fsmithred so we can add the missing scripts | 21:02 |
nemo | so. back to channel I guess... anyone here have an smbd init? | 21:02 |
nemo | kinda stuck on https://wiki.debian.org/AuthenticatingLinuxWithActiveDirectorySssd | 21:03 |
nemo | and I'm guessing my coworkers have a simple solution for me. remove devuan everywhere.. | 21:03 |
nemo | siiiiigh | 21:03 |
cousin_luigi | nemo: What are orphan scripts in this context? | 21:03 |
nemo | cousin_luigi: tomcat10 and smbd | 21:04 |
nemo | tomcat10 I took care of manually since I had tomcat8 as a reference | 21:04 |
nemo | smbd I have no idea what to do | 21:04 |
cousin_luigi | nemo: Meaning that debian is not supporting them and devuan has to step in? | 21:04 |
cousin_luigi | nemo: Why is that? | 21:04 |
nemo | why? because clearly sysvinit is being abandoned by package maintainers | 21:05 |
nemo | and debian is not requiring it | 21:05 |
cousin_luigi | :\ | 21:05 |
cousin_luigi | What is the specific problem with smbd? | 21:05 |
nemo | the fact that it has no init script | 21:05 |
gnarface | nemo: don't get emotional about it. this is old news and the scripts are easy to recreated. | 21:05 |
gnarface | recreate* | 21:05 |
nemo | gnarface: I'm just worried. it's a disturbing trend | 21:05 |
nemo | gnarface: similar issue with things like the vmware tooling at work | 21:06 |
nemo | where they support upstart, systemd and... that's about it | 21:06 |
nemo | still haven't gotten around to fixing that one | 21:06 |
gnarface | of the various types of vandalism they're committing, this is just about the easiest to undo. | 21:06 |
nemo | as 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 |
nemo | any suggestions? | 21:07 |
gnarface | yea, that's what i'd do exactly. i'd try to find the last version before they deleted it. | 21:07 |
nemo | hmmm maybe my chimæra machine had one | 21:07 |
nemo | ugh. did I keep any beowulf/chimæra anywhere.. | 21:08 |
gnarface | either check the old install or see if they hid an "example" version in /usr/share/doc/[package] | 21:08 |
nemo | well. let me see what's in the devuan repos | 21:08 |
nemo | no "examples" | 21:08 |
gnarface | or 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 it | 21:08 |
nemo | fair 'nuff. I'll just stall for a bit. hopefully coworker is not in a hurry | 21:09 |
nemo | (he wanted me to setup windows domain auth on all the devuan machines) | 21:09 |
gnarface | it should be easy to download the chimaera version of the package | 21:09 |
gnarface | there's a download-only flag for apt/apt-get | 21:09 |
nemo | (we are up to to a dozen + at this point, not counting dev instances) | 21:10 |
nemo | gnarface: ah? I've never done that before. I was just going to grab it off the website | 21:10 |
nemo | how do I specify a specific release when fetching? | 21:10 |
gnarface | -t | 21:10 |
cousin_luigi | nemo: Wait, doesn't debian have a git source repository? Can't you get it there? | 21:11 |
nemo | ah right. I do remember that one | 21:11 |
gnarface | it has to be in the sources.list cache too | 21:11 |
nemo | hmm thinking the website might be less of a hassle 😃 | 21:11 |
gnarface | yes, 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 |
nemo | yeah. git.devuan.org has a lot of stuff under it. I'm kinda lost | 21:13 |
nemo | back to https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=samba=2:4.13.13+dfsg-1~deb11u5 | 21:13 |
gnarface | yea, 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 it | 21:15 |
nemo | yay! chimæra still had the init scripts | 21:15 |
nemo | looks like there are 3 of them really | 21:15 |
nemo | ~/Downloads/smb/etc/init.d$ ls | 21:15 |
nemo | nmbd samba-ad-dc smbd | 21:15 |
* nemo reads | 21:15 | |
nemo | yeah. yeah. no. just need smbd | 21:16 |
nemo | but I'll copy 'em all over anyway | 21:16 |
gnarface | i'm not sure what samba-ad-dc is, but i do recall that you need nmbd and smbd both for different versions of windows | 21:16 |
nemo | hm lemme doublecheck dædalus really is missing them and I didn't screw something up | 21:16 |
nemo | gnarface: well in this case I'm not trying to provide any samba services | 21:17 |
nemo | I just want samba to authenticate to AD as a client | 21:17 |
nemo | aaaand the SSSD guide seemed to say I needed smbd for that | 21:17 |
nemo | which is mildly surprising but whatever | 21:17 |
nemo | was just blindly following the guide after the winbind one failed and people said sssd is the new hotness | 21:17 |
gnarface | hmm, never done that, sorry | 21:18 |
gnarface | i'm sure there's a way to make it work | 21:18 |
nemo | yeah. 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 |
nemo | the windows admins now want to push on for full integration | 21:18 |
nemo | s/linux/devuan/ | 21:18 |
nemo | I'm getting the idea there's no automation in the "orphaned" thing | 21: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 solving | 21:19 |
nemo | maybe 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 |
nemo | gnarface: what's scaring me is I setup a dozen devuan servers | 21:20 |
nemo | gnarface: I'm responsible for these not failing | 21:20 |
nemo | gnarface: if we're going for a slow slide into obsolescence, I might need to jump clear before it's too late | 21:20 |
nemo | that's all | 21:20 |
gnarface | nemo: well, next time don't commit to a release upgrade without testing it first | 21:20 |
nemo | I certainly know how to attack problems, hell, our tomcats all work 'cause I fixed that myself, I'm just getting worried | 21:21 |
nemo | gnarface: I certainly did test it... that's how I added "setup init manually" to the upgrade script | 21:21 |
nemo | gnarface: in terms of samba, this one is simply a surprise because we started examining this now after we already transitioned to dædalus | 21:21 |
nemo | and I'm concerned there might be more surprises in the future | 21:21 |
nemo | I'm just nervous is all.. | 21:21 |
gnarface | nemo: 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 now | 21:21 |
nemo | gnarface: well. in this case I didn't have samba since it was all new | 21:22 |
nemo | gnarface: for tomcat, it was not a problem since we have snapshots everywhere | 21:22 |
nemo | but yes. that's the thing. I'm just concerned it might get to be too much to keep up with | 21:22 |
nemo | as much as I love my sysv | 21:23 |
nemo | gentoo still seems to be committed to it. thankfully. | 21:23 |
nemo | I guess that's one major distro to crib off of. | 21:23 |
nemo | thankfully they haven't asked me to set all the machines up with VMware horizon agent vadc yet though | 21:24 |
gnarface | look, 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 |
nemo | well. I'm definitely getting the trolling | 21:26 |
nemo | but I'm also just not a sysadmin and this stuff worries me. but I'll hang on for now. | 21:26 |
nemo | I'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 revealing | 21:26 |
nemo | hm | 21:26 |
nemo | gnarface: do you have access to mirrors? | 21:26 |
nemo | maybe I could try to come up with a loop for you to test | 21:27 |
gnarface | no, 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 excuse | 21:27 |
nemo | yeah. 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 well | 21:28 |
nemo | mostly 'cause it reads a lot of config vars | 21:28 |
nemo | and has some bootstrap stuff that is non-obvious | 21:28 |
nemo | then I was like. "oh wait, I'm being silly" | 21:28 |
nemo | the tomcat init script is 264 lines long btw ☺ | 21:28 |
nemo | the smbd one is a much more reasonable 89 lines | 21:29 |
nemo | only interesting thing in it is some apparmor checks | 21:29 |
gnarface | yea, 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 needs | 21:32 |
gnarface | but, definitely stick around and get in contact with fsmithred about this... they're already working on organizing a response to this | 21:36 |
nemo | oh good | 21:36 |
nemo | it seems it would be easy to generate a report of how widespread this is though | 21:36 |
nemo | just a quick comparison of the .debs | 21:36 |
nemo | could even do some stats as to what the trend has been each release | 21:37 |
nemo | and I definitely would appreciate knowing which ones still have problems in advance. | 21:37 |
gnarface | yea, i think they're tracking it somewhere, albeit maybe unofficially still | 21: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 |
gnarface | but keep in mind that many of these init scripts were already missing before systemd | 21:38 |
nemo | gnarface: possibly. I'm more curious in comparing beowulf/chimaera/daedalus at the moment... basically "all the devuan things" | 21:38 |
nemo | if they were missing before that, hopefully it wasn't a common package | 21:39 |
gnarface | i 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 hand | 21:39 |
gnarface | that was a common task for me in the old days | 21:39 |
gnarface | nemo: 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 too | 21:48 |
nemo | the only logrotate I care about is apache | 22:59 |
nemo | and that one has survived the beowulf → chimæra → dædalus on all servers without issues | 23:00 |
ibanja | does devuan default to pipewire or pulse audio? | 23:55 |
nemo | ibanja: pulseaudio | 23:55 |
nemo | fortunately | 23:55 |
nemo | I love pipewire as a concept, but man is it annoying with old games on my steamdeck | 23:55 |
ibanja | why fortunately? I have always had problems with pulse and was wondering if pipewire was better. | 23:56 |
nemo | too strict | 23:56 |
nemo | pulseaudio seems to dynamically update to stupid app tricks more flexibly | 23:56 |
nemo | I spent hours trying to tweak pipewire with no success. | 23:56 |
nemo | I just gave up and turned off sound on the broken games | 23:56 |
ibanja | I only use audio in my browser and to play mp3 files that require jack. | 23:57 |
nemo | well for that basically anything should work | 23:57 |
nemo | and it doesn't really matter | 23:57 |
nemo | so I'd go with pulseaudio just for greater reliability | 23:57 |
ibanja | you would think but I have been without audio on my browsers for over a year. | 23:57 |
nemo | hm. | 23:57 |
nemo | browsers only? | 23:58 |
nemo | can you get sound in something a bit more minimal? | 23:58 |
ibanja | and i need to jump through hoops to get my jack working. | 23:58 |
nemo | ibanja: do you have pavucontrol installed? | 23:58 |
nemo | ibanja: also. you don't have multiple X sessions running do you? | 23:58 |
nemo | I'd start by checking your config in pavucontrol while a browser is playing sound | 23:59 |
ibanja | I copy the url for something like youtube and play it via the cli using mpv | 23:59 |
ibanja | one x session | 23:59 |
nemo | depending on your machine graphic acceleration could be an issue too | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!