LinuxQuestions.org
Review your favorite Linux distribution.
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 01-24-2022, 11:19 AM   #9676
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54

Quote:
Originally Posted by marav View Post
keyservers are apparently hard coded (cf. dirmngr/server.c in source code)

But you can make your own gpg.conf
Code:
$ echo "keyserver hkps://keyserver.ubuntu.com:443" > ~/.gnupg/gpg.conf
Thanks
I already did this of course, only suggest a patch because the default gpg keyserver is not working anymore
 
Old 01-24-2022, 11:28 AM   #9677
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by camerabambai View Post
Thanks
I already did this of course, only suggest a patch because the default gpg keyserver is not working anymore
the part of the server.c file:
Code:
  /* We used to have DNS CNAME redirection from the URLs below to
   * sks-keyserver. pools.  The idea was to allow for a quick way to
   * switch to a different set of pools.  The problem with that
   * approach is that TLS needs to verify the hostname and - because
   * DNS is not secured - it can only check the user supplied hostname
   * and not a hostname from a CNAME RR.  Thus the final server all
   * need to have certificates with the actual pool name as well as
   * for keys.gnupg.net - that would render the advantage of
   * keys.gnupg.net useless and so we better give up on this.  Because
   * the keys.gnupg.net URL are still in widespread use we do a static
   * mapping here.
   */
  if (!strcmp (uri, "hkps://keys.gnupg.net")
      || !strcmp (uri, "keys.gnupg.net"))
    uri = "hkps://keyserver.ubuntu.com";
  else if (!strcmp (uri, "https://keys.gnupg.net"))
    uri = "hkps://keyserver.ubuntu.com";
  else if (!strcmp (uri, "hkp://keys.gnupg.net"))
    uri = "hkp://pgp.surf.nl";
  else if (!strcmp (uri, "http://keys.gnupg.net"))
    uri = "hkp://pgp.surf.nl:80";
  else if (!strcmp (uri, "hkps://http-keys.gnupg.net")
           || !strcmp (uri, "http-keys.gnupg.net"))
    uri = "hkps://keyserver.ubuntu.com";
  else if (!strcmp (uri, "https://http-keys.gnupg.net"))
    uri = "hkps://keyserver.ubuntu.com";
  else if (!strcmp (uri, "hkp://http-keys.gnupg.net"))
    uri = "hkp://pgp.surf.nl";
  else if (!strcmp (uri, "http://http-keys.gnupg.net"))
    uri = "hkp://pgp.surf.nl:80";

  item = xtrymalloc (sizeof *item + strlen (uri));
  if (!item)
    return gpg_error_from_syserror ();

  item->next = NULL;
  item->parsed_uri = NULL;
  strcpy (item->uri, uri);
 
Old 01-24-2022, 12:00 PM   #9678
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 542

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by Sl4ck3ver View Post
A start/stop script for the "dhcp" package (rc.dhcpd), please :-)
In the meantime you might use /etc/rc.d/rc.dnsmasq
 
Old 01-24-2022, 01:18 PM   #9679
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,823

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Quote:
Originally Posted by chrisretusn View Post
Before that message is displayed, this one is shown.
Code:
Your kernel image was updated, and your /etc/lilo.conf indicates
the use of an initrd for at least one of your kernels. Be sure to
regenerate the initrd for the new kernel and handle any needed
updates to your bootloader.

Press the "Enter" key to continue...
True, but that is a lot of words and they could just "Enter" their way to the short and sweet debug message that tells them to reboot and focus on that. The Debug should say something short and sweet for kernel updates like, "Update your initrd and bootloader, and then reboot for changes to take effect" for kernel updates. There should be a way to parse the updates to see if kernels are updated and split them off from the rest of that message. The guy from Linus Tech Tips uninstalled his DE despite the warnings.

The message is about lilo and people with newer systems probably don't use it. A path to a document to explain this stuff would be helpful to users that are confused. I think it should instill fear in people before they "Enter" it away,
Code:
"*WARNING KERNEL UPDATED!* 
Please immediately check "/usr/../../" for more information. 
"*FAILURE TO UPDATE BOOTLOADER BEFORE RESTARTING WILL BREAK SYSTEM!*"

Press the "Enter" key to continue...
That is my reasoning and my opinion.

Last edited by RadicalDreamer; 01-24-2022 at 01:19 PM.
 
Old 01-24-2022, 01:35 PM   #9680
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by RadicalDreamer View Post
True, but that is a lot of words and they could just "Enter" their way to the short and sweet debug message that tells them to reboot and focus on that. The Debug should say something short and sweet for kernel updates like, "Update your initrd and bootloader, and then reboot for changes to take effect" for kernel updates. There should be a way to parse the updates to see if kernels are updated and split them off from the rest of that message. The guy from Linus Tech Tips uninstalled his DE despite the warnings.

The message is about lilo and people with newer systems probably don't use it. A path to a document to explain this stuff would be helpful to users that are confused. I think it should instill fear in people before they "Enter" it away,
Code:
"*WARNING KERNEL UPDATED!* 
Please immediately check "/usr/../../" for more information. 
"*FAILURE TO UPDATE BOOTLOADER BEFORE RESTARTING WILL BREAK SYSTEM!*"

Press the "Enter" key to continue...
That is my reasoning and my opinion.
Honestly, I clearly don’t know why this initrd.gz is not auto generated after each kernel updates ( ditto with lilo)
Even if you have a custom one, at least it doesn’t fail on reboot
 
1 members found this post helpful.
Old 01-24-2022, 01:39 PM   #9681
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,480
Blog Entries: 2

Rep: Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986Reputation: 986
Quote:
Originally Posted by LuckyCyborg View Post
How about to abandon those ancient technologies used by Tutankhamen when he built piramides and just to use the modern Grub2 ?

Grub2 is smart enough to not need additional liloconfig/eliloconfig runs, assuming that an eventual initrd is properly generated in place.

I remember that years ago here was an user who said many times: do not complicate your life in the name of simplicity!
By the time You persuaded them into modernism, rEFInd has become the more modern, working and simpler to indefinitely maintain alternative.

Join me into the future of effortless booting with rEFInd
 
1 members found this post helpful.
Old 01-24-2022, 02:24 PM   #9682
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,605

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Quote:
Originally Posted by SCerovec View Post
By the time You persuaded them into modernism, rEFInd has become the more modern, working and simpler to indefinitely maintain alternative.

Join me into the future of effortless booting with rEFInd
I known about rEFInd. And I use it often - in some boxes, even I setup an UEFI DUET (which is an UEFI layer for BIOS computers) then I use rEFInd.

The reason is not only the easiness to select the boot devices, but also to make bootable the USB 3.0 PCIE cards which I use in many of my boxes, because they have no native USB 3.0 support.

In the attached screenshots is rEFInd running on top of UEFI DUET, running on top of BIOS from a RS780 motherboard with Athlon x4 605e. And the selected item is one of the USB 3.0 hard drives which I have with a full installation of Slackware-current (and a local Slackware mirror) on them, and which I use as recovery tools.

HOWEVER, this rEFInd is UEFI only and many times is not feasible or is way very difficult to setup an UEFI DUET layer just for it. I for one, I do not managed to setup UEFI DUET on motherboards with DDR2, for example. Just on some with DDR3.

So, Grub2 is the single modern bootloader which support both the (legacy) BIOS and UEFI.
Attached Thumbnails
Click image for larger version

Name:	screenshot1.png
Views:	74
Size:	66.9 KB
ID:	38198   Click image for larger version

Name:	screenshot0.png
Views:	65
Size:	66.2 KB
ID:	38199  

Last edited by LuckyCyborg; 01-24-2022 at 03:24 PM.
 
5 members found this post helpful.
Old 01-24-2022, 04:32 PM   #9683
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,051

Rep: Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266Reputation: 1266
Quote:
Originally Posted by LuckyCyborg View Post
I known about rEFInd. And I use it often - in some boxes, even I setup an UEFI DUET (which is an UEFI layer for BIOS computers) then I use rEFInd.

The reason is not only the easiness to select the boot devices, but also to make bootable the USB 3.0 PCIE cards which I use in many of my boxes, because they have no native USB 3.0 support.

In the attached screenshots is rEFInd running on top of UEFI DUET, running on top of BIOS from a RS780 motherboard with Athlon x4 605e. And the selected item is one of the USB 3.0 hard drives which I have with a full installation of Slackware-current (and a local Slackware mirror) on them, and which I use as recovery tools.

HOWEVER, this rEFInd is UEFI only and many times is not feasible or is way very difficult to setup an UEFI DUET layer just for it. I for one, I do not managed to setup UEFI DUET on motherboards with DDR2, for example. Just on some with DDR3.

So, Grub2 is the single modern bootloader which support both the (legacy) BIOS and UEFI.
I agree that an UEFI boot manager could not be considered as a default solution for an operating system supposed to boot also from legacy hardware using classical BIOS.

As an aside, I wonder how this UEFI DUET works. It's like a kernel started by a boot loader?
 
Old 01-24-2022, 05:05 PM   #9684
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,605

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
Quote:
Originally Posted by ZhaoLin1457 View Post
As an aside, I wonder how this UEFI DUET works. It's like a kernel started by a boot loader?
Well, technically you can consider the UEFI DUET as being a kernel launched by a dedicated bootloader.

The UEFI DUET "kernel" itself is a file named "Efildr20" which lives in the root of EFI partition, and which is loaded by a special partition MBR.

Essentially, in a way or other (a disk MBR looking for the active partition or even LILO) is started the boot right from EFI partition, then the partition MBR looks for EFI kernel file, loads and starts it.

Honestly, kinda remembers me of how {MS,Free}DOS is loaded, BUT this time the "kernel" is 64bit.

After this file "Efildr20" is launched, you are in 64bit EFI mode, with the usual basic features - the UEFI system looks for /EFI/Boot/Bootx64.efi and execute it, etc...

The really nice part is that beyond EFI (and its framebuffer, as some video cards requires EFI) with a convenient setup, you can load various EFI drivers - aka DXEs, and initialize and power up things unavailable directly from BIOS, like USB 3.0 PCIE cards or NVME hard drives.

Last edited by LuckyCyborg; 01-24-2022 at 05:16 PM.
 
Old 01-24-2022, 05:33 PM   #9685
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 ZhaoLin1457 View Post
I agree that an UEFI boot manager could not be considered as a default solution for an operating system supposed to boot also from legacy hardware using classical BIOS.
This could be handled the same way as elilo... it only prompts the user if the installer detects it is running in EFI mode, otherwise it defaults to the legacy option (currently lilo).
 
1 members found this post helpful.
Old 01-24-2022, 07:17 PM   #9686
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Thunderbird 91.5.1

Release notes:
https://www.thunderbird.net/en-US/th.../releasenotes/
 
Old 01-24-2022, 08:07 PM   #9687
perrin4869
Member
 
Registered: Dec 2014
Location: Japan
Distribution: slackware64-current
Posts: 60

Rep: Reputation: Disabled
gtk4 to 4.5.0 and libadwaita

libadwaita 1.0 won't build under gtk4-4.4 that is available in -current right now, this might limit usability of applications that rely on libadwaita.
Even if libadwaita is not included, without upgrading gtk4 to 4.5 we will not be able to add a SlackBuild for it...
 
1 members found this post helpful.
Old 01-24-2022, 08:53 PM   #9688
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Quote:
Originally Posted by perrin4869 View Post
libadwaita 1.0 won't build under gtk4-4.4 that is available in -current right now, this might limit usability of applications that rely on libadwaita.
Even if libadwaita is not included, without upgrading gtk4 to 4.5 we will not be able to add a SlackBuild for it...
No, sorry.

EDIT: I was almost willing to entertain this request, but it also requires (or pulls from git) a newer version of pango, just as 4.6.x does. For the record, since IMHO gtk4 was barely ready to be included at all, I have no problem whatsoever with SBo providing a SlackBuild for a newer version. But it's not happening in-tree on my end for 15.0.

Last edited by volkerdi; 01-24-2022 at 09:09 PM.
 
1 members found this post helpful.
Old 01-24-2022, 09:05 PM   #9689
perrin4869
Member
 
Registered: Dec 2014
Location: Japan
Distribution: slackware64-current
Posts: 60

Rep: Reputation: Disabled
Ah, I missed the discussion in previous pages, sorry ><;;
What about the fix to mkinitrd_command_generator.sh that I've been pushing since last year though :P
https://www.linuxquestions.org/quest...es-4175688858/
 
Old 01-24-2022, 09:10 PM   #9690
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Quote:
Originally Posted by perrin4869 View Post
Ah, I missed the discussion in previous pages, sorry ><;;
What about the fix to mkinitrd_command_generator.sh that I've been pushing since last year though :P
https://www.linuxquestions.org/quest...es-4175688858/
Use -R.
 
  


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 10:59 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