Re: grub2-mkconfig Strange Message

2023-06-16 Thread George N. White III
On Thu, Jun 15, 2023 at 8:03 PM Stephen Morris 
wrote:

>
>
> On 12/6/23 05:24, George N. White III wrote:
>
> On Fri, Jun 9, 2023 at 9:54 PM Stephen Morris 
> wrote:
>
>> Hi,
>> I have just used dnf to put on the currently available maintenance in
>> F38, having not put any on for a week or so, after upgrading from F37 via
>> dnf system-upgrade a couple of weeks ago.
>> After putting on the maintenance I used grub2-mkconfig to build the
>> grub.cfg file and got the message below after it notified of finding the
>> linux kernels, does anyone know what this means and why they are being
>> produced from the released version of grub2-mkconfig, the process I ran
>> after the maintenance I put on a week or so ago did not produce these
>> messages?
>>
>> fgrep: warning: fgrep is obsolescent; using grep -F
>>
>
>  /usr/sbin/grub2-mkconfig --help
> [...]
> Report bugs to .
>
> I haven't seen this warning since before COVID. There are lots of grub2-X
> scripts, it would be useful to identify the culprit.
> Maybe replace the current fgrep script with one that prints more details.
>
> The last update I did was the first time I have ever seen this message.
> Why are the grub maintainers not updating their scripts to avoid this?
>

Maybe they did and the change hasn't percolated down to Fedora yet -- I
need to check the srpms and upstream,
but I tend to rely on N. Hemisphere snowstorms for time to catch up on
neglected tasks.

-- 
George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: grub2-mkconfig Strange Message

2023-06-15 Thread Stephen Morris



On 12/6/23 05:24, George N. White III wrote:
On Fri, Jun 9, 2023 at 9:54 PM Stephen Morris 
 wrote:


Hi,
    I have just used dnf to put on the currently available
maintenance in F38, having not put any on for a week or so, after
upgrading from F37 via dnf system-upgrade a couple of weeks ago.
    After putting on the maintenance I used grub2-mkconfig to
build the grub.cfg file and got the message below after it
notified of finding the linux kernels, does anyone know what this
means and why they are being produced from the released version of
grub2-mkconfig, the process I ran after the maintenance I put on a
week or so ago did not produce these messages?

fgrep: warning: fgrep is obsolescent; using grep -F


 /usr/sbin/grub2-mkconfig --help
[...]
Report bugs to .

I haven't seen this warning since before COVID. There are lots of 
grub2-X scripts, it would be useful to identify the culprit.

Maybe replace the current fgrep script with one that prints more details.
The last update I did was the first time I have ever seen this message. 
Why are the grub maintainers not updating their scripts to avoid this?


regards,
Steve



--
George N. White III


___
users mailing list --users@lists.fedoraproject.org
To unsubscribe send an email tousers-le...@lists.fedoraproject.org
Fedora Code of 
Conduct:https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:https://fedoraproject.org/wiki/Mailing_list_guidelines
List 
Archives:https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report 
it:https://pagure.io/fedora-infrastructure/new_issue




OpenPGP_0x594338B1DE179AB2.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: grub2-mkconfig Strange Message

2023-06-15 Thread Stephen Morris

On 10/6/23 11:11, Tom Horsley wrote:

On Sat, 10 Jun 2023 10:53:58 +1000
Stephen Morris wrote:


fgrep: warning: fgrep is obsolescent; using grep -F

It means OCD linux geeks have decided they ought to remove an option used
for decades in uncounted thousands of shell scripts because they don't
like it. They've done the same with egrep and uname.

Here's my "big hammer" fix including the scripts I use to put back
the old behavior:

https://tomhorsley.com/game/Mjolnir.html

Thanks Tom, I'll have a look at that and see what I can do.

regards,
Steve

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue




OpenPGP_0x594338B1DE179AB2.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: grub2-mkconfig Strange Message

2023-06-11 Thread Michael D. Setzer II via users
On 11 Jun 2023 at 16:24, George N. White III wrote:

From:   "George N. White III" 
Date sent:  Sun, 11 Jun 2023 16:24:45 -0300
Subject:    Re: grub2-mkconfig Strange Message
To: Community support for Fedora users 
Send reply to:  Community support for Fedora users 


>
> On Fri, Jun 9, 2023 at 9:54 PM Stephen Morris 
> wrote:
> Hi,
>  I have just used dnf to put on the currently available
> maintenance in F38, having not put any on for a week or so,
> after upgrading from F37 via dnf system-upgrade a couple
> of weeks ago.
>  After putting on the maintenance I used grub2-mkconfig
> to build the grub.cfg file and got the message below after it
> notified of finding the linux kernels, does anyone know what
> this means and why they are being produced from the
> released version of grub2-mkconfig, the process I ran after
> the maintenance I put on a week or so ago did not produce
> these messages?
>
> fgrep: warning: fgrep is obsolescent; using grep -F
>
> /usr/sbin/grub2-mkconfig --help
> [...]
> Report bugs to .
>
> I haven't seen this warning since before COVID. There are lots of grub2-X
> scripts, it would be useful to identify the culprit.
> Maybe replace the current fgrep script with one that prints more details.

Did a quick check on my system with Fedora 37.
In /etc/grub.d
for a in *; do echo $a; grep "fgrep" <$a; done
00_header
01_users
08_fallback_counting
10_linux
  list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
10_reset_boot_success
12_menu_auto_hide
14_menu_show_once
20_linux_xen
list=`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '`
xen_list=`echo $xen_list | tr ' ' '\n' | fgrep -vx "$current_xen" | tr '\n' 
' '`
20_memtest86+
20_ppc_terminfo
30_os-prober
30_uefi-firmware
35_fwupd
40_custom
41_custom





>
> --
> George N. White III
>



++
 Michael D. Setzer II - Computer Science Instructor (Retired)
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer
 http://sourceforge.net/projects/g4l/
++


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: grub2-mkconfig Strange Message

2023-06-11 Thread George N. White III
On Fri, Jun 9, 2023 at 9:54 PM Stephen Morris 
wrote:

> Hi,
> I have just used dnf to put on the currently available maintenance in
> F38, having not put any on for a week or so, after upgrading from F37 via
> dnf system-upgrade a couple of weeks ago.
> After putting on the maintenance I used grub2-mkconfig to build the
> grub.cfg file and got the message below after it notified of finding the
> linux kernels, does anyone know what this means and why they are being
> produced from the released version of grub2-mkconfig, the process I ran
> after the maintenance I put on a week or so ago did not produce these
> messages?
>
> fgrep: warning: fgrep is obsolescent; using grep -F
>

 /usr/sbin/grub2-mkconfig --help
[...]
Report bugs to .

I haven't seen this warning since before COVID. There are lots of grub2-X
scripts, it would be useful to identify the culprit.
Maybe replace the current fgrep script with one that prints more details.

-- 
George N. White III
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: grub2-mkconfig Strange Message

2023-06-10 Thread Tom Horsley
On Sat, 10 Jun 2023 19:41:34 +0200
Ralf Corsépius wrote:

> You mean, after a 15 years period of deprecation

Yes, I always examine ever single shell script I have and google
for any potential deprecations for every command I use every time
there is an update. 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: grub2-mkconfig Strange Message

2023-06-10 Thread Ralf Corsépius



Am 10.06.23 um 03:11 schrieb Tom Horsley:

On Sat, 10 Jun 2023 10:53:58 +1000
Stephen Morris wrote:


fgrep: warning: fgrep is obsolescent; using grep -F


It means OCD linux geeks have decided they ought to remove an option used
for decades in uncounted thousands of shell scripts because they don't
like it. They've done the same with egrep and uname.


You mean, after a 15 years period of deprecation, they started to warn 
about it, but Fedora/RHAT-maintainers have missed to reflect this change 
to Fedora's packages.


My advice: BZ each of them, you encounter, so these package maintainers 
won't any longer have an excuse for their packages' out-datedness.


Ralf
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: grub2-mkconfig Strange Message

2023-06-09 Thread Tom Horsley
On Sat, 10 Jun 2023 10:53:58 +1000
Stephen Morris wrote:

> fgrep: warning: fgrep is obsolescent; using grep -F

It means OCD linux geeks have decided they ought to remove an option used
for decades in uncounted thousands of shell scripts because they don't
like it. They've done the same with egrep and uname.

Here's my "big hammer" fix including the scripts I use to put back
the old behavior:

https://tomhorsley.com/game/Mjolnir.html
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


grub2-mkconfig Strange Message

2023-06-09 Thread Stephen Morris

Hi,
    I have just used dnf to put on the currently available maintenance 
in F38, having not put any on for a week or so, after upgrading from F37 
via dnf system-upgrade a couple of weeks ago.
    After putting on the maintenance I used grub2-mkconfig to build the 
grub.cfg file and got the message below after it notified of finding the 
linux kernels, does anyone know what this means and why they are being 
produced from the released version of grub2-mkconfig, the process I ran 
after the maintenance I put on a week or so ago did not produce these 
messages?


fgrep: warning: fgrep is obsolescent; using grep -F

regards,
Steve



OpenPGP_0x594338B1DE179AB2.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue