LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2020, 07:02 AM   #6376
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,527

Rep: Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357

Quote:
Originally Posted by Didier Spaier View Post
Code:
Dec 25 21:31:29 UTC 2020 <snip> l/pulseaudio-14.0-x86_64-3.txz:  Rebuilt.
   Patched to support detecting elogind at compile time when built with meson.
   This restores PulseAudio exiting upon user logout.
   Thanks to LuckyCyborg for the bug report and patch.
Thanks LuckyCyborg and Pat. Incidentally I prefer not to start PulseAudio with the session, only when an app requests it, but that's somehow off topic.
Dear Mr. Spaier, honestly I would love to exists an elogind feature which permits it to handle "user target" daemons like is PulseAudio, then to start them on an user login and to stop them on the user logout.

Why? That will heavily simplify my struggle with the PipeWire daemons, which has yet? no way to be aware that an user login session ended, and it's time for them to exit.

Unfortunately, there is no such thing yet, and my patch proposal essentially just restores the PulseAudio behavior as was in a CK2 driven system - quickly exiting on user logout.

And for the same unfortunate reason we're about to invent an "elogind aware daemon supervisor" ... Hopefully.

Anyway, I hope that I can give you an useful hint: the PipeWire has no auto-spawn features, and it is supposed to be launched when user logins. And to stay alive until user logouts.

In my humble opinion, maybe is a good idea to consider carefully this particular behavior of PipeWire and to avoid now that auto-spawning at all costs, as PipeWire is the PulseAudio successor - in few months it even will already replace PulseAudio server in Fedora, and trust me: it will NOT be optional.

Last edited by LuckyCyborg; 12-26-2020 at 07:52 AM.
 
1 members found this post helpful.
Old 12-26-2020, 04:13 PM   #6377
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 355
Blog Entries: 1

Rep: Reputation: Disabled
>...PulseAudio exiting upon user logout.

Why not kill pulseaudio in .bash_logout?
/bin/killall pulseaudio 2> /dev/null
 
Old 12-26-2020, 05:01 PM   #6378
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,901

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
Quote:
Originally Posted by hpfeil View Post
>...PulseAudio exiting upon user logout.

Why not kill pulseaudio in .bash_logout?
/bin/killall pulseaudio 2> /dev/null
because one might login as the same user on more than one virtual console.
 
3 members found this post helpful.
Old 12-26-2020, 05:08 PM   #6379
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,527

Rep: Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357Reputation: 3357
Quote:
Originally Posted by hpfeil View Post
>...PulseAudio exiting upon user logout.

Why not kill pulseaudio in .bash_logout?
/bin/killall pulseaudio 2> /dev/null
This way cannot be used, because of some caveats:

1. The "user target" services like is PulseAudio should be stopped when the last login session closes. Simply to image, considering that the user can login in three consoles, from where the logouts may happen in whatever order - then the kill should happen when the last one is closed.

True, you may ask elogind - and so does even PulseAudio to find out this information, with no needs for supplementary scripting.

2. There is no bash login (and consequently no final bash logout) when the runlevel 4 is used - together with SDDM or whatever other DM.

BTW, the PulseAudo had this feature of "exiting on user logout" since long time while was used ConsoleKit2 - even into Slackware 14.2 is this particular PulseAudio feature.

And I seen no one protesting against it.

So, why we should NOT have it back now, when we use elogind, instead of ConsoleKit2?

Last edited by LuckyCyborg; 12-26-2020 at 05:47 PM.
 
1 members found this post helpful.
Old 12-26-2020, 07:25 PM   #6380
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,338

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
ssr-0.4.3 is out

https://github.com/MaartenBaert/ssr/...e/0.4.3.tar.gz
 
Old 12-27-2020, 04:30 AM   #6381
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,474
Blog Entries: 2

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
Quote:
Originally Posted by LuckyCyborg View Post
This way cannot be used, because of some caveats:

1. The "user target" services like is PulseAudio should be stopped when the last login session closes. Simply to image, considering that the user can login in three consoles, from where the logouts may happen in whatever order - then the kill should happen when the last one is closed.

True, you may ask elogind - and so does even PulseAudio to find out this information, with no needs for supplementary scripting.

2. There is no bash login (and consequently no final bash logout) when the runlevel 4 is used - together with SDDM or whatever other DM.

BTW, the PulseAudo had this feature of "exiting on user logout" since long time while was used ConsoleKit2 - even into Slackware 14.2 is this particular PulseAudio feature.

And I seen no one protesting against it.

So, why we should NOT have it back now, when we use elogind, instead of ConsoleKit2?
I for one consider a tidy state of a running system quite high on the priority list - having various "services" be run and shut down orderly at all times and in all cases is something Slackware is renowned since it's inception - the "slack" in its name implies exactly that.

Also, recent GNU/Linux-es resorting to less transparent systems like message buses and the accompanying frameworks supporting that run quite the opposite way - making simple tasks awkward and tedious to master and comprehend, so there it is i said it out loud.

So, yes, if we opted for elogind, let's make the most use of it for all things practical ad let's master it the best we can?
 
2 members found this post helpful.
Old 12-27-2020, 05:21 AM   #6382
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,024

Rep: Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213
Code:
[   13.079598] atomisp: module is from the staging directory, the quality is unknown, you have been warned.
[   13.118568] **********************************************************
[   13.120732] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[   13.122932] **                                                      **
[   13.125064] ** trace_printk() being used. Allocating extra memory.  **
[   13.127197] **                                                      **
[   13.129337] ** This means that this is a DEBUG kernel and it is     **
[   13.131492] ** unsafe for production use.                           **
[   13.133647] **                                                      **
[   13.135883] ** If you see this message and you are not debugging    **
[   13.138098] ** the kernel, report this immediately to your vendor!  **
[   13.140391] **                                                      **
[   13.142672] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[   13.144963] **********************************************************
[   13.150004] atomisp-isp2 0000:00:03.0: Support for Cherrytrail (ISP2401) was disabled at compile time
As instructed by the fresh upgraded Kernel 5.10.x which unconditionally demands me to contact immediately the vendor:

Minnesota, we have a problem!

Last edited by ZhaoLin1457; 12-27-2020 at 05:25 AM.
 
2 members found this post helpful.
Old 12-27-2020, 05:54 AM   #6383
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by ZhaoLin1457 View Post
Code:
[   13.079598] atomisp: module is from the staging directory, the quality is unknown, you have been warned.
[   13.118568] **********************************************************
[   13.120732] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[   13.122932] **                                                      **
[   13.125064] ** trace_printk() being used. Allocating extra memory.  **
[   13.127197] **                                                      **
[   13.129337] ** This means that this is a DEBUG kernel and it is     **
[   13.131492] ** unsafe for production use.                           **
[   13.133647] **                                                      **
[   13.135883] ** If you see this message and you are not debugging    **
[   13.138098] ** the kernel, report this immediately to your vendor!  **
[   13.140391] **                                                      **
[   13.142672] **   NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE   **
[   13.144963] **********************************************************
[   13.150004] atomisp-isp2 0000:00:03.0: Support for Cherrytrail (ISP2401) was disabled at compile time
As instructed by the fresh upgraded Kernel 5.10.x which unconditionally demands me to contact immediately the vendor:

Minnesota, we have a problem!
I think here is a related discussion (the whole thread, actually)

http://driverdev.linuxdriverproject....st/146641.html
http://driverdev.linuxdriverproject....st/146675.html
http://driverdev.linuxdriverproject....st/146672.html

Last edited by ponce; 12-27-2020 at 09:08 AM.
 
Old 12-27-2020, 08:49 AM   #6384
Markus Wiesner
Member
 
Registered: Mar 2016
Distribution: Slackware
Posts: 146

Rep: Reputation: 237Reputation: 237Reputation: 237
The udev rules file from sane needs a higher priority. It sets ENV{libsane_matched}="yes" and is currently named 80-libsane.rules – that's too late for 70-uaccess.rules and some others (69-libmtp.rules, 56-hpmud.rules and maybe more) which check this variable to e.g. add ACLs for the currently logged-in user. The original libsane.rules is installed as 49-sane.rules by Gentoo Arch and as 41-libsane.rules by Arch Gentoo.

[Edit: Mixed up Gentoo/Arch filenames, thx @gmgf!]


Additionally there is still a little issue with mariadb since we have PAM: /etc/security/user_map.conf is not installed as a .new file so user-changes to this file will be overwritten on update!

Last edited by Markus Wiesner; 12-27-2020 at 12:13 PM.
 
3 members found this post helpful.
Old 12-27-2020, 11:43 AM   #6385
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,224

Rep: Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012Reputation: 1012
Actually in 'Arch' current (with lasted packages), the file '80-libsane.rules' it's, named, '49-sane.rules', but in openSUSE, it's named like, slackware.

Last edited by gmgf; 12-27-2020 at 10:28 PM.
 
1 members found this post helpful.
Old 12-27-2020, 12:25 PM   #6386
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 542

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Can we get dovecot-pigeonhole included by chance?
 
4 members found this post helpful.
Old 12-27-2020, 04:38 PM   #6387
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
It's probably time to reassess upgrading fluidsynth to 2.x. That's been the version up on SlackBuilds.org for a few months now, and it seems like everything works with minimal intervention. I'm not sure what all depends on it in -current, or I'd play around with it in a VM for you.
 
1 members found this post helpful.
Old 12-28-2020, 12:48 AM   #6388
walecha
Member
 
Registered: Jan 2010
Location: Malang, +62
Distribution: slackware
Posts: 174

Rep: Reputation: 42
About initrd

Since -current already enabling zstd in the kernel for compressing initrd, why not using it as default in mkinitrd and also remove some of compression type:
Code:
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y -> unset
CONFIG_RD_LZMA=y -> unset
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y -> unset
CONFIG_RD_LZ4=y -> unset
CONFIG_RD_ZSTD=y
I've been using zstd as initrd compression (replacing gzip -9 in /sbin/mkinitrd with ztsd -19) for last two month. Initrd size is smaller than gzip-based and boot time is significantly reduced with the same hardware.
 
Old 12-28-2020, 04:40 AM   #6389
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Quote:
Originally Posted by walecha View Post
About initrd
I've been using zstd as initrd compression (replacing gzip -9 in /sbin/mkinitrd with ztsd -19) for last two month. Initrd size is smaller than gzip-based and boot time is significantly reduced with the same hardware.
It's just need a small patching of grub /etc/grub.d/10_linux adding "initrd.xz" "initrd-${version}.xz" to add the option in grub-mkconfig.

EDIT :
Two patch files added
Attached Files
File Type: txt grub-10_linux.patch.txt (453 Bytes, 20 views)
File Type: txt grub-mkinitrd.patch.txt (1.8 KB, 26 views)

Last edited by Tonus; 12-28-2020 at 10:31 AM. Reason: Add patchs to 10_linux and mkinitrd
 
2 members found this post helpful.
Old 12-28-2020, 06:13 AM   #6390
TheTKS
Member
 
Registered: Sep 2017
Location: Ontario, Canada
Distribution: Slackware, X/ubuntu, OpenBSD, OpenWRT
Posts: 361

Rep: Reputation: 243Reputation: 243Reputation: 243
tigervnc-1.11.0, please.
https://github.com/TigerVNC/tigervnc/releases
Quote:
This is a new major release of TigerVNC, but also a security release. Users that rely on the TLS feature in the viewers are recommended to upgrade as soon as possible.
fltk-1.3.5 (fltk required by tigervnc) is still release - no update needed.

Requested previously, re-requesting in case it was missed.

Update for 14.2 also, if it's possible.

TKS

Last edited by TheTKS; 12-28-2020 at 06:14 AM.
 
3 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration