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 05-19-2022, 10:38 AM   #676
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750

Quote:
Originally Posted by jostber View Post
Get slackpkg to run lilo or eliloconfig after a Kernel Update so there will no be kernel panic if the laptop loses power or user forgetting to run it.
This seems easy on the surface, but it is nigh on impossible to achieve on a distribution wide scale. The permutations of bootloader, huge kernel, generic kernel with mkinitrd handled by mkinitrd.conf or directly. whether the user wants to replace the existing or retain the previously working configurations become too great.
The pfficial 'slackpkg' tool defaults to outputting a reminder and leaves it to the user. On balance, I think this is best.

I accept the argument that making slackpkg smarter to avoid problems such as forgetting to run mkinitrd and lilo can be a boon.
The design of slackpkg allows for local customisation of the lookkernel() function. This is an example which I have used successfully for many years on systems using lilo running the generic kernel with an initrd.

Last edited by allend; 05-19-2022 at 10:40 AM.
 
Old 05-19-2022, 10:44 AM   #677
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
NetworkManager 1.36.6

Changes:
https://gitlab.freedesktop.org/Netwo...ob/1.36.6/NEWS
 
1 members found this post helpful.
Old 05-19-2022, 05:43 PM   #678
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 443

Rep: Reputation: 229Reputation: 229Reputation: 229
GJS 1.72.0

GJS 1.72.0
Changes:
https://gitlab.gnome.org/GNOME/gjs/-/blob/master/NEWS
 
Old 05-19-2022, 05:51 PM   #679
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 443

Rep: Reputation: 229Reputation: 229Reputation: 229
Pango 1.50.7
Changes:
https://github.com/GNOME/pango/blob/main/NEWS
 
Old 05-19-2022, 05:54 PM   #680
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
some packages continue sending static libs under

/usr/lib$LIBDIRSUFFIX/*.a

why ?

aalib , db4x , and much more.
 
Old 05-19-2022, 05:56 PM   #681
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 443

Rep: Reputation: 229Reputation: 229Reputation: 229
UPower 0.99.18
Changes:
https://gitlab.freedesktop.org/upowe...ob/master/NEWS
 
Old 05-19-2022, 06:08 PM   #682
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Quote:
Originally Posted by reddog83 View Post
https://www.linuxquestions.org/quest...ml#post6336871
 
Old 05-19-2022, 06:18 PM   #683
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 443

Rep: Reputation: 229Reputation: 229Reputation: 229
I understand me and a small group have been working on getting Gnome 42.1 compiled and we have a build script that you guys can take a look at if you want.
https://github.com/0xBOBF/gnome-42-s...wer.SlackBuild
 
Old 05-20-2022, 11:57 AM   #684
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by elcore View Post
Only the users who require this handholding process may want it, but that leaves each user with potential bugs.
Exactly! So why not have a script that everyone can use (and find/fix bugs in) that is included with the distro, and maybe even be a part of slackpkg? If it is not mandated to use it (I don't know how they could mandate it), those who want this handholding (many want it, few require it) can use it and others can ignore it.

Quote:
Originally Posted by elcore View Post
By that definition, it's also package manager job to handle BIOS.
How do you figure? Installing Slackware updates doesn't affect the BIOS. UEFI booting is only one that requires interaction with the motherboard's firmware, and it does not ever need to be "tampered" with once it is pointed to the EFI stub. The EFI bootloader handles any updates after that without requiring updates to the firmware. With legacy booting, you need to update the MBR, which is not the BIOS, to point to the new kernel/initrd sectors.

Quote:
Originally Posted by elcore View Post
Anyway, boot sectors aren't packages, and package distribution software should not tamper with them for security reasons.
The installer is "tampering" with them, so why shouldn't the updater? The installer creates an initrd and does the proper steps to ensure a proper boot at the end (either running lilo or registering the EFI stub to the firmware). If the installer does it, why not the updater? (The installer doing those functions is optional and I'm not saying that using this potential functionality should be mandatory when using slackpkg.)

Quote:
Originally Posted by elcore View Post
Of course there's people like debian council who think it is, but it's offtopic here since Slackware generally does not hold users' hands.
What is slackpkg if not holding users' hands? Users could just download the patches/ directory and run upgradepkg on packages themselves. Why do we have {install,upgrade}pkg? Those hold hands when we could just untar the packages on the root directory. Why even have packages? Users can run the build scripts themselves? Why even have build scripts when users can use the build systems from the programs themselves?

Every single level of automation will have someone complain and someone happy. Some will complain it is doing too much while others will complain it's not doing enough. Slackware has always been awesome in this regard by giving those who want it more automation but staying out of the way for those that don't want automation. I don't see anything bad with adding proper kernel update support to slackpkg as long as it remains optional. Those who have been asking for it for years will be happy. Those who don't want it can simply leave it disabled. I don't see this as anything other than a win-win.
 
Old 05-20-2022, 12:09 PM   #685
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
You contradict yourself, first you say:
Quote:
Originally Posted by bassmadrigal View Post
others can ignore it
And then you say:
Quote:
Originally Posted by bassmadrigal View Post
Installing Slackware updates doesn't affect the BIOS.
Well as it turns out, it does not affect the boot sector either, and IMO it shouldn't affect it for obvious reasons.
If it did affect it, it'd be kinda hard to ignore it.
Quote:
Originally Posted by bassmadrigal View Post
I'm not saying that using this potential functionality should be mandatory when using slackpkg.
Then, we agree on something. But see how it was suggested and for what reasons.
To fix a forgetful user, and a power failure, it'd have to be run automatically.
Which is a bad idea, and don't take my word for it, ask an auditor why it's bad to bolt low level disk access to networked program.
 
Old 05-20-2022, 12:47 PM   #686
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by elcore View Post
You contradict yourself, first you say:

And then you say:
Those aren't contradictory. They aren't even really related. If further automation is added to slackpkg, it will likely be optional for users to want to use it.

How is that related to Slackware updates don't affect the BIOS? They don't... ever. There isn't even a possibility of it to affect the BIOS if additional functionality was added to slackpkg.

Quote:
Originally Posted by elcore View Post
Well as it turns out, it does not affect the boot sector either, and IMO it shouldn't affect it for obvious reasons.
If it did affect it, it'd be kinda hard to ignore it.
Are you missing where it would be optional? Just as updating kernels through slackpkg is optional?

Quote:
Originally Posted by elcore View Post
Then, we agree on something.
You misunderstand again. If functionality to properly and fully update kernels and allow a reboot is added to slackpkg, it should not be mandatory to use. Just like it isn't mandatory to update kernels through slackpkg... but the functionality is there, and I have no issues with functionality being added to slackpkg to enable updating elilo or lilo, as long is its use is optional.

Quote:
Originally Posted by elcore View Post
But see how it was suggested and for what reasons.
To fix a forgetful user, and a power failure, it'd have to be run automatically.
Oh, you mean "automatically" like running slackpkg upgrade-all? Or maybe it could even be a separate slackpkg upgrade-kernel command to ensure users don't accidentally upgrade their kernel (but if it is handled properly by slackpkg, there should be no issue with upgrading the kernel).

Not to mention pretty much all modern systems support UEFI and that doesn't need low level disk access to update the boot process. It just needs to copy the new kernel (and optionally initrd) to the EFI partition and ensure the config is pointing to it (which is easy if it's always named the same). Once eliloconfig is ran during installation, it never needs to be run again (provided you don't change the location to the EFI stub).

And for those running legacy, why is it ok for the installer to have low level disk access but not the updater? You already showed that some low level disk access is handled outside of the installer (partitioning), so why are you ok with some low level disk access in the installer and not in the updater?
 
Old 05-20-2022, 01:11 PM   #687
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
How is that related to Slackware updates don't affect the BIOS? They don't... ever. There isn't even a possibility of it to affect the BIOS if additional functionality was added to slackpkg.
Of course they don't affect it, even though the updater could theoretically download a BIOS image and execute code to flash it.
Only reason why I even mentioned BIOS is because you insisted that it's package manager job to handle boot sectors.
My argument is that those sectors are just like BIOS, as far as package manager is concerned, and nothing more.

Quote:
Originally Posted by bassmadrigal View Post
why is it ok for the installer to have low level disk access but not the updater?
Both the installer and cfdisk are usable without network access. A major bug in those two could be (at most) local privilege escalation.
Even a minor bug inside the updater with such a vulnerable feature is instantly a remote privilege escalation, which is much worse.

Quote:
Originally Posted by bassmadrigal View Post
It just needs to copy the new kernel (and optionally initrd) to the EFI partition and ensure the config is pointing to it (which is easy if it's always named the same)
Congrats, you just described what the guy who originally suggested making slackpg vulnerable needs to do to fix his problem.
And also, more or less the thing I suggested to him in the first place, which you previously called "a unique solution".

Last edited by elcore; 05-20-2022 at 01:27 PM.
 
Old 05-20-2022, 01:57 PM   #688
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
let me chime in... The requests from jostber in this post was:
Quote:
Get slackpkg to run lilo or eliloconfig after a Kernel Update so there will no be kernel panic if the laptop loses power or user forgetting to run it.
I understand that the idea is that (maybe optionally) after a kernel upgrade a new initrd adapted to the new kernel be built and a corresponding boot entry be written in the boot menu, whichever it be. This feature that most distributions provide since a long time would make happy many Slackware users, I assume. I don't think we need to go into the implementation details at this point, but that's just my opinion.

Last edited by Didier Spaier; 05-20-2022 at 01:59 PM.
 
1 members found this post helpful.
Old 05-20-2022, 02:26 PM   #689
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Firefox 100.0.2

Release notes:
https://www.mozilla.org/en-US/firefo.../releasenotes/
 
Old 05-20-2022, 02:27 PM   #690
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Thunderbird 91.9.1

Release notes:
https://www.thunderbird.net/en-US/th.../releasenotes/
 
  


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
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[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:19 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