LinuxQuestions.org
Visit Jeremy's Blog.
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 06-26-2020, 12:04 AM   #5296
Panagiotis Nik
Member
 
Registered: Jul 2014
Distribution: Slackware64-Current, Slackware64-14.2
Posts: 32

Rep: Reputation: Disabled

When the /etc/ssl/openssl.cnf is modified openvpn throws an error:

Thu Jun 25 21:36:17 2020 OpenVPN 2.4.9 x86_64-slackware-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on May 16 2020
Thu Jun 25 21:36:17 2020 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10
Thu Jun 25 21:36:17 2020 OpenSSL: error:14187180:SSL routines:ssl_do_config:bad value
Thu Jun 25 21:36:17 2020 OpenSSL: error:0909006C:PEM routines:get_name:no start line
Thu Jun 25 21:36:17 2020 Error reading extra certificate
Thu Jun 25 21:36:17 2020 Exiting due to fatal error

There's a bug report for openvpn 2.4.9 here: https://www.mail-archive.com/debian-...sg1739703.html

and a patch that I didn't test it here: https://patchwork.openvpn.net/patch/1095/

I modified my openssl.cnf in order to disable TLS_AES_128_GCM_SHA256 in TLSv1.3

If anyone knows a more elegance way please let me know.
 
Old 06-26-2020, 12:21 AM   #5297
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,901

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
(If someone has a pre-PAM version of -current, they could check and see if chfn works as expected.)
I don't understand what is supposed to be wrong with chfn and I haven't fully updated my current since shortly before krb5, but looks fine here...

Code:
$ chfn
Password: 
Changing the user information for testuser
Enter the new value, or press ENTER for the default
	Full Name []: 
	Room Number []: 
	Work Phone []: 
	Home Phone []:
 
1 members found this post helpful.
Old 06-26-2020, 09:03 AM   #5298
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 -current (started with 13.37(32))
Posts: 555

Rep: Reputation: 240Reputation: 240Reputation: 240
chfn now shows all fields in the same line, maybe it is missing a new line character at the end of each field.
Code:
LANG=C chfn 
Changing finger information for paulo.
Password: 
Name []: Office []: Office Phone []: Home Phone []: 

Finger information not changed.
 
Old 06-26-2020, 10:05 AM   #5299
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware14.2 64-Bit Desktop, Devuan 2.0 ASCII Toshiba Satellite Notebook
Posts: 2,924

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Quote:
Originally Posted by orbea View Post
I don't understand what is supposed to be wrong with chfn and I haven't fully updated my current since shortly before krb5, but looks fine here...

Code:
$ chfn
Password: 
Changing the user information for testuser
Enter the new value, or press ENTER for the default
	Full Name []: 
	Room Number []: 
	Work Phone []: 
	Home Phone []:
Weird
 
Old 06-26-2020, 12:20 PM   #5300
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 7,237

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
So, it turns out that chfn used to come from shadow, but with the switch to PAM, it is now pulled from the util-linux package. So it's probably something that's just handled differently by those upstreams.

Maybe it'd be worth filing a bug report to util-linux and see if it's something they're willing to change (or maybe try and compare the two chfn.c files and see if there's an obvious culprit and see if Pat is willing to add a patch to fix the behavior). I know next to nothing about C programming, so hopefully someone with a bit more knowledge can figure it out.

Last edited by bassmadrigal; 06-26-2020 at 12:50 PM. Reason: I dropped a close parenthesis
 
Old 06-26-2020, 02:08 PM   #5301
gouttegd
Member
 
Registered: Nov 2019
Location: London, UK
Distribution: Slackware
Posts: 39

Rep: Reputation: 82
Quote:
Originally Posted by bassmadrigal View Post
see if there's an obvious culprit
The “obvious culprit” is libreadline, which the chfn from util-linux uses (if it is available) to get user input whereas the chfn from shadow does not. Compile util-linux with --without-readline and you get the expected behavior.

Specifically, the problem lies in calling readline with a NULL argument here (line 242 from chfn.c):

Code:
	while (true) {
		printf("%s [%s]: ", question, def_val);
		__fpurge(stdin);
#ifdef HAVE_LIBREADLINE
		rl_bind_key('\t', rl_insert);
		if ((buf = readline(NULL)) == NULL)
#else
		if (getline(&buf, &dummy, stdin) < 0)
#endif
			errx(EXIT_FAILURE, _("Aborted."));
		/* remove white spaces from string end */
That NULL argument tells readline not to display any prompt before capturing user input (which is what the developpers wanted here since they already displayed the prompt themselves just above). Unfortunately, when readline does not display a prompt it also does not send a newline character…

Giving readline anything to display (even a single space, but not an empty string) is enough to restore the expected behavior, so a simple fix could be the following patch:

Code:
diff --git a/login-utils/chfn.c b/login-utils/chfn.c
index 1b203a83e..8568036a2 100644
--- a/login-utils/chfn.c
+++ b/login-utils/chfn.c
@@ -235,12 +235,13 @@ static char *ask_new_field(struct chfn_control *ctl, const char *question,
 	if (!def_val)
 		def_val = "";
 	while (true) {
-		printf("%s [%s]: ", question, def_val);
+		printf("%s [%s]:", question, def_val);
 		__fpurge(stdin);
 #ifdef HAVE_LIBREADLINE
 		rl_bind_key('\t', rl_insert);
-		if ((buf = readline(NULL)) == NULL)
+		if ((buf = readline(" ")) == NULL)
 #else
+		printf(" ");
 		if (getline(&buf, &dummy, stdin) < 0)
 #endif
 			errx(EXIT_FAILURE, _("Aborted."));
 
5 members found this post helpful.
Old 06-27-2020, 02:22 AM   #5302
Lockywolf
Member
 
Registered: Jul 2007
Posts: 391

Rep: Reputation: 109Reputation: 109
Okay, after two weeks of testing, I can be almost sure.

xkeyboard-config-2.30 is broken on my machine.

It was updated from 2.29 on the 2020-06-05, and right after that update, I started to experience periodic freezes when the keyboard would just stop responding at all.

This behaviour continued until I downgraded xkeyboard-config two weeks ago, and I had no freezes since.

I have no other specific evidence to indicate where exactly is the problem, but it does seem to exist on my machine.

If anyone is interested, it's Dell Latitude E6420, the backlit keyboard. (There are two modifications, the one with the backlit keys and one with dark ones.)
 
1 members found this post helpful.
Old 06-27-2020, 05:03 AM   #5303
gouttegd
Member
 
Registered: Nov 2019
Location: London, UK
Distribution: Slackware
Posts: 39

Rep: Reputation: 82
Quote:
Originally Posted by Lockywolf View Post
If anyone is interested, it's Dell Latitude E6420, the backlit keyboard.
Speculating here, but it could be related to this commit, which happened between 2.29 and 2.30. Maybe the removed bits were not as unreachable as the author of that commit thought they were?

Last edited by gouttegd; 06-27-2020 at 05:04 AM. Reason: s/there/they/
 
Old 06-27-2020, 03:02 PM   #5304
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,442

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
mozilla-nss-3.54 is released

https://ftp.mozilla.org/pub/security..._3_54_RTM/src/
 
Old 06-27-2020, 06:16 PM   #5305
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 194
Blog Entries: 1

Rep: Reputation: Disabled
Potential conflict when KDE5 moves to Slackware: libdbusmenu-qt and libdbusmenu-qt5 both contain 4 files with the same name. Dbusmenuimporter.h and dbusmenuexporter.h have virtual destructors in qt5. Dbusmenuimporter contains an enum type missing in qt5. The other two are identical. Suggest keeping libdbusmenu-qt5?
 
1 members found this post helpful.
Old 06-27-2020, 07:07 PM   #5306
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,442

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
when kde5 moves to current , qt4 and realted stuff , goes out. --> no conflicts
 
Old 06-28-2020, 01:16 AM   #5307
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 1,802

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Quote:
Originally Posted by hpfeil View Post
Potential conflict when KDE5 moves to Slackware: libdbusmenu-qt and libdbusmenu-qt5 both contain 4 files with the same name. Dbusmenuimporter.h and dbusmenuexporter.h have virtual destructors in qt5. Dbusmenuimporter contains an enum type missing in qt5. The other two are identical. Suggest keeping libdbusmenu-qt5?
No conflict here, same name in the package, are not in the same directory.

Last edited by gmgf; 06-28-2020 at 01:22 AM.
 
2 members found this post helpful.
Old 06-29-2020, 06:21 AM   #5308
saxa
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 652

Rep: Reputation: 129Reputation: 129
Dear Patrick, please fix the mozilla-nss build. nspr-config is again empty in the mozlla-nss-3.54-x86_64-1 package.
Here is attached the slackbuld or the patch that works out for me here.

Rgds
Saxa
Attached Files
File Type: txt mozilla-nss.SlackBuild-empty-nspr-fix.patch.txt (1.0 KB, 5 views)
File Type: txt mozilla-nss.SlackBuild.txt (5.9 KB, 0 views)
 
2 members found this post helpful.
Old 06-29-2020, 06:40 AM   #5309
niksoggia
LQ Newbie
 
Registered: Apr 2015
Location: Italy
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
n/ca-certificates can be made simpler

The openssl in -current has the "rehash" applet, so in the ca-certificates.SlackBuild you can get rid of update-ca-certificates.c_rehash.diff.gz.
Since c_rehash is a perl script, you also drop a inconvenient dependency for free.

Another important improvement IMHO is to remove "-$VERSION" from "Automatically generated by $PKGNAM-$VERSION" in the ca-certificates.SlackBuild.
When I upgrade ca-certificates I have to "diff etc/ca-certificates.conf etc/ca-certificates.conf.new" just to dicover that the only change is the $VERSION.
I think that this modification will save a lot of effort to a lot of people.

Now that we don't depend on perl anymore we can let doinst.sh do its job during "installpkg --root" too.
Maybe it will come handy during recoveries to save some "wget --no-check-certificate". Who knows. Here is a trivial patch.

Ask me why I know c_rehash is a perl script.
Because update-ca-certificates didn't work on a 14.2 without perl installed.
Installing perl just for one script was not an option so I ported it to ash (the busybox bash shell, this is why you see strange things like "find | sed").
Here it is for posterity (or for inclusion in old openssl packages)
Cheers,
Attached Files
File Type: txt doinst.sh.txt (375 Bytes, 3 views)
File Type: txt c_rehash.txt (3.6 KB, 3 views)
 
1 members found this post helpful.
Old 06-29-2020, 06:45 AM   #5310
saxa
Member
 
Registered: Aug 2004
Distribution: Slackware
Posts: 652

Rep: Reputation: 129Reputation: 129
gtk+-3.24.21
https://download.gnome.org/sources/g...3.24.21.tar.xz
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:58 PM.

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