libera/#devuan/ Monday, 2024-01-22

Guest17how to make ssh auto-start on system boot13:04
n4dirGuest17: which init system do you use?13:06
n4dirusually ssh autostarts as soon it is installed, automatically, i think13:07
Guest17Devuan, current stable13:07
Guest17ah I missread .  the default init I think13:07
n4dirGuest17: you still can choose among init systems, probably you use sysv13:07
Guest17probably systemv .... how to verify which I use13:07
n4dirsysv-rc-conf is a ncurses too.13:07
n4dirtool, to autostart or disable autostart of services13:08
n4dirdo something like "apt-get install -s sysv-rc-conf", and if it doesn't try to remove openrc or runit or such, then install it13:08
n4diropen it, search for ssh and make sure it is enabled.13:08
n4dir-s for apt-get means simulate, so do that to get an idea if it will remove another init system13:09
n4dirif it won't; do "apt-get install sysv-rc-conf" (or apt, if you prefer, or aptitude, or whatever else is out there)13:09
n4diror first do "/etc/init.d/ssh status"13:10
n4dirdid that at least make sense? The general approach?13:11
Guest17I     think sys-rc-conf worked fine here13:13
Guest17could add more help on this somewhere like a wiki.  search engines insist on finding doc for Debian often13:13
n4dirreally most you need to know is /etc/init.d/<service-name> ; then start, stop, status, and for a comfortable solution sysv-rc-conf13:14
n4diras long you don't plan to edit init scripts, or create them13:14
n4dirperhaps try the forum.13:15
cousin_luigin4dir: rcconf messed up things for me more than once13:19
cousin_luigiOh, you mean a different command.13:20
n4diri got to go. And others probably know more about init systems than i do. Later. :-)13:22
ham5urgI'm installing devuan as described in https://dev1galaxy.org/viewtopic.php?id=4919 but intel-microcode as well as linux-firmware is not in the repo. I did enable contrib and non-free. What am I missing?18:06
gnu_srs1ham5urg: Which release did you install?18:10
ham5urgdaedalus18:11
debdogmayhap non-free-firmware is missing (which is new since daedalus)18:13
ham5urgWill this affect the performance? power consumption, etc.18:17
ham5urgPackage firmware-linux missed too18:18
gnu_srs1firmware-linux is at: pool/DEBIAN/non-free-firmware/f/firmware-nonfree/firmware-linux_20230625-2_all.deb18:28
gnu_srs1And intel-microcode  is there too :)18:29
ham5urgI don't get it. I have three lines in my sources.list. daedalus, daedalus-security, daedalus-updates and each with main, contrib, non-free.18:49
ham5urgapt update does its job18:50
ham5urgBut when I do a apt search intel-microcode I get an empty result.18:50
debdogham5urg: main contrib non-free non-free-firmware18:57
debdogthe last one is new18:58
ham5urgAha19:02
ham5urgfirmware-linux is the old linux-firmware?19:07
ham5urgSeems to me that firmware-linux is not needed for a laptop. Just intel-microcode and firmware-iwlwifi19:10
ham5urgI installed 'gnome' but I miss sound. Do I need any extra packages?19:43
ham5urgrc-update show does not list any pulseaudio oder pipewire daemon.19:45
gnarfaceham5urg: can't help you with gnome, but try this to test sound: speaker-test -c 2 -t wav19:59
gnarfacei don't know if gnome requires pulseaudio but in general it's not a given that you need it20:07
ham5urggnarface, pulseaudio replaces pipewire-audio what removes gnone as a whole.20:10
gnarfaceham5urg: to be clear, i meant for you to try speaker-test without either of them20:11
ham5urghmm, I get an playback error -112, Host is down20:15
ham5urgmaybe a kernel module is missed20:15
gnarfaceham5urg: no, "host is down" isn't a kernel error, that's suggesting you still have part of the pulseaudio/pipewire monstrosity installed, but not the part it needs to work20:16
gnarfaceit's all or nothing on this shit, you do without or you adopt it all20:17
gnarfacewhen this had come up for someone else last time, they had removed pulseaudio but had forgotten to remove some parts of pipewire, i think, but there might be other combinations that cause it20:18
ham5urgthe main-distros broke it beyond repair20:18
gnarfaceuh, maybe, but probably not. probably you've misinterpereted some minor config glitch and panicked and made it worse, but probably it's not "broke beyond repair"20:19
gnarfacestart by removing ALL the pipewire+pulseaudio+jack+esd+sndio+arts+whatever else you might have, and test just bare alsa with speaker-test20:20
gnarfacethey all still need alsa, at a fundamental low level. once we get that working, the rest will work.20:20
gnarfaceand make sure your user is in the audio group20:21
gnarface99% of the time it's just a permissions issue or your audio devices changed order and it's trying to play sound out your fucking webcam or some stupid shit20:26
gnarface(and this is a problem you could still run into with a full working pipewire+pulseaudio stack installed if you don't know to run pavucontrol to change the default output device)20:27
gnarfaceham5urg: i'm trying to help but i can't unless you actively carry out these tests for me and feed back the responses20:34
ham5urggnarface, I tried to run pipewire as root but it tells me that libpipewire-module-protocol-native is not existent.20:36
ham5urgI will deinstall gnome and will try to play via alsa some sound on the command line.20:37
gnarfaceham5urg: all you should have to do is uninstall pipewire or install pulseaudio with it, afaik, but i don't know about gnome issues other than that most people who used to use gnome switched to mate or cinnamon to avoid gnome's broken power management and sensors implementation20:37
gnarfaceham5urg: as far as i know, with your current setup, sound won't work without gnome either. it's pipewire that's causing the problem.20:38
ham5urgYes20:39
ham5urgGive me some minutes, I will respond if I can play via alsa20:39
gnarfaceham5urg: don't forget you need to either be root or be in the audio group20:40
ham5urgespeaker-test works20:43
ham5urggnome is removed20:43
ham5urgPipewire and Pulseaudio too20:44
ham5urgPlain cli20:44
gnarfaceok, good that it works with no tweaking to alsa20:44
gnarfaceif you install gnome again, does it insist on carrying in pipewire and/or pulseaudio even if you use "--no-install-recommends" ?20:45
ham5urgYes, pipewire is getting pulled in. Even if no recommends are installed.20:46
gnarfacedamn, so a gnome problem. it might work if you also add pulseaudio, but i'm not sure20:47
ham5urgIt will collide20:47
gnarfacethat's weird to me, because i know they work together in many setups20:47
gnarfacehave you considered mate or cinnamon instead?20:48
gnarfacethey may be very similar but lack this problem20:48
ham5urgpipewire-alsa and pipewire-audio collide with pulseaudio20:48
gnarfaceis there a pipewire package that doesn't?20:49
gnarfacemaybe there are alternatives20:49
gnarfaceonly other idea i have is to stick around long enough to talk to someone who knows pulseaudio and pipewire better. mostly i've only practiced doing without them.20:50
ham5urgGnome is a waste of time20:51
gnarfacewell, i can make alternate recommendations20:53
gnarfacethe pulseaudio/pipewire mess is common though20:53
gnarfacemate and cinnamon seem to be popular with gnome refugees20:54
gnarfacei can't say i've used either myself though20:54
gnarfacekde is very professionally done but will probably force you to use pulseaudio, but at least will probably actually work20:55
gnarfaceblackbox won't but almost has no features20:55
gnarfaceenlightenment is very versatile and won't force it strictly, but i can't claim it hasn't still caused trouble by trying20:56
gnarfacexfce is the most popular around here, and will probably be the one you can get the most support for20:56
Wonkahttps://social.bitfolk.com/@grifferz/11178586949258152922:17
Wonka»The latest release of Linux PAM depends upon systemd-logind because utmp is not y2038-safe.22:18
WonkaSo if anyone in the Linux world has a problem with that, they have about 14 years to come up with a fix for utmp or else they will be using systemd and loving every minute of it.«22:18
nemoWonka: huh... wouldn't that impact devuan much sooner?  if latest release requires it, presumably once debian marks that as stable?22:24
WonkaI guess so...22:32
fsmithredor maybe the changes can be ported to elogind22:38
rwpI used to think PAM was a pretty reasonable thing.  I still think PAM is a pretty reasonable thing.  But the people who have weaponized PAM have made me consider them truly sociopathic people.22:55
nemohm "22:55
nemoThorsten suggestion would to replace wtmp with journald, which would require22:55
nemosome code rewrite since is has a different ABI. But I think this is the best22:55
nemoway to fix it.22:55
nemooops. sorry22:55
nemoI didn't realise that had line breaks. should have checked.22:55
nemothat was reading the response to Wonka's post which *seemed* optimistic at first22:55
rwpThis utmp issue reads to me to be a "tempest in a teacup" issue at the very worst.22:59
rwpAnd though I run who quite often on multi-user systems with other users logged in I just can't see how I would be mortally wounded by seeing an incorrect date listed, in the worst case that it is now 15 years from now and I am still running an unpatched OS from now in that time then.23:01
rwphttps://github.com/linux-pam/linux-pam/releases/tag/v1.5.3 says "configure: added --enable-logind option to use logind instead of utmp in pam_issue and pam_timestamp/23:04
nemohttps://inbox.sourceware.org/libc-alpha/20230801204618.GA415@suse.com/ "this is what we did already with openSUSE Tumbleweed and MicroOS and nobody noticed so far"23:04
nemothat sounds promising23:04
nemo(for "replace wtmp with (pam_)wtmpdb")23:05
rwpIt sounds like upstream is not quite so hard lined as the social posting suggests.23:06
nemooh. even better.. "> It could just re-interpret the timestamp field as an unsigned number. >> Thanks for suggesting that. Although it a hack, it's likely better than  the hack that was already in Gnulib, so I installed the attached patch  into Gnulib."23:06
nemothat doesn't sound too bad..23:06
nemoI wonder if it is abusable23:06
nemoheh. "This hack stops working at 2106-02-07 06:28:16 UTC."23:07
rwpThe hard-liners will insist that if it doesn't handle perfectly time in a relativist reference frame referenced from countries prior to the adoption of the Gregorian in regions opposing the pope and considering the changing rotational rate of the plent then anyone suggesting it should be vilified.23:12
nemorwp: so... worst case, debian packages with --enable-logind and devuan has yet another package to maintain with that flag turned off...23:13
rwpI think so.  But in the meantime it seems that elogind would handle it.  And that is always the solution for other things.  So...  Probably elogind for the moment.23:15
rwp*And that is **already** the solution for other things.  (my bad typing)23:15
rwpIt's definitely not always the solution.23:15

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