LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-30-2021, 01:30 AM   #9151
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 590

Rep: Reputation: Disabled

Quote:
Originally Posted by HQuest View Post
Regarding MariaDB and user friendliness: any chance a reminder for users to run "mysql_upgrade" command[1] or related instructions after MariaDB is updated (in a similar fashion to run lilo after new kernel)? Maybe other tools out there too require similar manual steps?

[1] https://dev.mysql.com/doc/mysql-inst...y-package.html
Better to refer to a somewhat more relevant page like https://mariadb.com/kb/en/upgrading/ ? You point to MySQL 8.0 documentation but Slackware switched from MySQL 5.x to MariaDB 5.x eight years ago and Slackware 14.2 is now at 10.0.

But indeed, upgrading from Slackware 14.2 to 15.0 will require some careful reading of that page I linked, since the upgrade will probably not be trivial for anyone who makes serious use of this SQL database server. It cost me quite some headaches and an export/re-import of all my data to migrate to -current.
 
1 members found this post helpful.
Old 11-30-2021, 02:37 AM   #9152
cycojesus
Member
 
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 116

Rep: Reputation: 79
Quote:
Originally Posted by Qury View Post
@volkerdi
Please replace PHP 8.0.x with 8.1 in extra.
Nextcloud doesn't support 8.1 yet and actively throws an error 500 for it: https://github.com/nextcloud/server/issues/29287
 
Old 11-30-2021, 03:11 AM   #9153
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by cycojesus View Post
Nextcloud doesn't support 8.1 yet and actively throws an error 500 for it: https://github.com/nextcloud/server/issues/29287
But Nextcloud supports php-7.4. which is shipped by -current. You also may run diffrent php Versions in parallel.

Quote:
ap/cdrtools-3.02a09-x86_64-1.txz: Upgraded.
Thanks!
 
Old 11-30-2021, 06:04 AM   #9154
HQuest
Member
 
Registered: Jan 2018
Location: 2001:470:c2d0::/56
Distribution: Anyone that I can interface with
Posts: 87

Rep: Reputation: Disabled
Quote:
Originally Posted by Windu View Post
Better to refer to a somewhat more relevant page like https://mariadb.com/kb/en/upgrading/ ? You point to MySQL 8.0 documentation but Slackware switched from MySQL 5.x to MariaDB 5.x eight years ago and Slackware 14.2 is now at 10.0.

But indeed, upgrading from Slackware 14.2 to 15.0 will require some careful reading of that page I linked, since the upgrade will probably not be trivial for anyone who makes serious use of this SQL database server. It cost me quite some headaches and an export/re-import of all my data to migrate to -current.
I agree 100% with using relevant information, however as you mention, the export/re-import is not covered on the MariaDB KB pages, whereas the steps on the MySQL 8 are still applicable. Now, there may be better directions - I’m no database expert myself. Perhaps those who are already know what needs to be done whenever they see an upgrade to their most beloved tool. Or perhaps one can chime in with the right place to point. My intention is towards folks who have simple database based apps that all of a sudden begin to misbehave, with a fix being something that takes a couple seconds and could be easily pointed out.

The message “don’t forget to run lilo” is my reference point. In theory, one can crash his/her own system by not updating the boot loader with the new kernel before rebooting. Whereas other distros run things and rebuild your initrd/boot loader, Slackware only notifies the user. So to keep within this alignment, my suggestion was about adding another set of reminders whenever applicable - perhaps a simple “consult the documentation on how to upgrade MariaDB database files” reminder/hint message would suffice.
 
1 members found this post helpful.
Old 11-30-2021, 10:49 AM   #9155
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Quote:
Originally Posted by HQuest View Post
The message “don’t forget to run lilo” is my reference point. In theory, one can crash his/her own system by not updating the boot loader with the new kernel before rebooting. Whereas other distros run things and rebuild your initrd/boot loader, Slackware only notifies the user. So to keep within this alignment, my suggestion was about adding another set of reminders whenever applicable - perhaps a simple “consult the documentation on how to upgrade MariaDB database files” reminder/hint message would suffice.
That's not the same situation. lilo needs to be run any time the kernel is updated. mysql_upgrade only needs to run on mariadb minor version bumps, not patch level bumps. This is something that squarely falls into the responsibility of the admin.
 
Old 11-30-2021, 11:04 AM   #9156
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,362

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
Plasma 5.23.4

https://kde.org/announcements/plasma/5/5.23.4/

https://download.kde.org/stable/plasma/5.23.4/

Complete changelog

Last edited by marav; 11-30-2021 at 11:06 AM.
 
1 members found this post helpful.
Old 11-30-2021, 11:17 AM   #9157
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,213

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
cups-2.4.0 is ready:

https://github.com/OpenPrinting/cups/releases

(it work here)
 
Old 11-30-2021, 12:20 PM   #9158
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,362

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
Quote:
Originally Posted by volkerdi View Post
I think they forgot to mention the changes to the udev rules that seem to be trying to call out to systemd-run.
I may be wrong (as I am not very familiar with lvm). And this is probably a very (too) simplistic interpretation
but :

69-dm-lvm.rules. L 75
Code:
...
# pvscan will check if this device completes a VG,
# i.e. all PVs in the VG are now present with the
# arrival of this PV.  If so, it prints to stdout:
# LVM_VG_NAME_COMPLETE='foo'
#
# When the VG is complete it can be activated, so
# vgchange -aay <vgname> is run.  It is run via
# systemd since it can take longer to run than
# udev wants to block when processing rules.
# (if there are hundreds of LVs to activate,
# the vgchange can take many seconds.)
#
# pvscan only reads the single device specified,
# and uses temp files under /run/lvm to check if
# other PVs in the VG are present.
#
# If event_activation=0 in lvm.conf, this pvscan
# (using checkcomplete) will do nothing, so that
# no event-based autoactivation will be happen.
#
# TODO: adjust the output of vgchange -aay so that
# it's better suited to appearing in the journal.

IMPORT{program}="/sbin/lvm pvscan --cache --listvg --checkcomplete --vgonline --udevoutput --journal=output $env{DEVNAME}"
ENV{LVM_VG_NAME_COMPLETE}=="?*", RUN+="/usr/bin/systemd-run -r --no-block --property DefaultDependencies=no --unit lvm-activate-$env{LVM_VG_NAME_COMPLETE} lvm vgchange -aay --nohints $env{LVM_VG_NAME_COMPLETE}"
...
lvm.conf. L 1165
Code:
...
	# event_activation = 1
...
So, if we provide a lvm.conf with event_activation = 0
From what I understand, this rule (69-dm-lvm.rules), and more specifically the pvscan, does nothing, right?

Last edited by marav; 11-30-2021 at 12:22 PM. Reason: typo
 
Old 11-30-2021, 07:02 PM   #9159
biker_rat
Member
 
Registered: Feb 2010
Posts: 369

Rep: Reputation: 220Reputation: 220Reputation: 220
Bump for cups-2.4.0. Supposed to be a big release. I just dumped it in the official volderki slackbuild folder and it compiled. I installed it, I uninstalled a printer , installed a printer, printed a test page. Smooth. Maybe testing or extra?
 
1 members found this post helpful.
Old 12-01-2021, 01:05 AM   #9160
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,213

Rep: Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999Reputation: 999
Quote:
Originally Posted by biker_rat View Post
Bump for cups-2.4.0. Supposed to be a big release. I just dumped it in the official volderki slackbuild folder and it compiled. I installed it, I uninstalled a printer , installed a printer, printed a test page. Smooth. Maybe testing or extra?
Many build options are obsolets in the cups.SlackBuild for cups-2.4.0:

obsolets build options:
--enable-ssl \
--enable-gnutls=yes \
--enable-cdsassl=no \
--disable-avahi \
--disable-dnssd \


--docdir=/usr/doc \ ,replaced here, by: --with-docdir=/usr/doc/cups-$VERSION \ ( fix docdir )

added this option:
--mandir=/usr/man \ , ( fix mandir )

Last edited by gmgf; 12-01-2021 at 01:25 AM.
 
4 members found this post helpful.
Old 12-01-2021, 03:07 AM   #9161
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Built Cups-2.4.0 with gmgf's mods to the SlackBuild and it is running fine. Fully functional in testing so far.
 
Old 12-01-2021, 04:29 AM   #9162
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,972

Rep: Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551Reputation: 1551
Quote:
Originally Posted by HQuest View Post
Regarding MariaDB and user friendliness: any chance a reminder for users to run "mysql_upgrade" command[1] or related instructions after MariaDB is updated (in a similar fashion to run lilo after new kernel)? Maybe other tools out there too require similar manual steps?

[1] https://dev.mysql.com/doc/mysql-inst...y-package.html
I will guess that you might be using slackpkg for upgrading. If you use slackpkg+ you can set this up using notifymsg.conf

Code:
NOTIFYMSG[on_upgrade@mariadb]="Package(s) \$NV_MATCHPKGS has(have) been updated.\n\
\n\
Remember to update run mysql_upgrade."
Should work, change to suit.
 
8 members found this post helpful.
Old 12-01-2021, 04:39 AM   #9163
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 590

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisretusn View Post
I will guess that you might be using slackpkg for upgrading. If you use slackpkg+ you can set this up using notifymsg.conf

Code:
NOTIFYMSG[on_upgrade@mariadb]="Package(s) \$NV_MATCHPKGS has(have) been updated.\n\
\n\
Remember to update run mysql_upgrade."
Should work, change to suit.
Wow, I did not know that this was possible at all with slackpkg+.
 
Old 12-01-2021, 03:55 PM   #9164
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,362

Rep: Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075Reputation: 4075
strace 5.15

https://github.com/strace/strace/rel...ce-5.15.tar.xz

Changelog
Code:
Bug fixes
    - Fixed printing of struct bpf_prog_info.map_ids array.
    - Fixed behaviour of "dev", "pidfd", and "socket" arguments of the --print-fds
    option to no longer imply the "path" argument.
    - Fixed insufficient buffer size used for network interface name printing,
    that previously led to assertions on attempts of printing interface names
    that require quoting, for example, names longer than 4 characters in -xx
    mode (addresses RHBZ bug #2028146).
 
1 members found this post helpful.
Old 12-02-2021, 05:19 AM   #9165
opty
Member
 
Registered: Mar 2021
Posts: 175

Rep: Reputation: Disabled
sysklogd 2.3.0
 
  


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 08:48 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