Re: Have one of 5 machines that no longer autoboots??

2022-03-29 Thread Michael D. Setzer II via users
Got it working, but no clue what did it??
Had booted and just got menu list again.
Then went to grub command prompt and echo timeout 
value and nothing showed? So set it to 5, and then did 
exit. 
It then went back to menu, but did the timeout, but then 
it got in some loop? So had to hard reset it.
Then it seemed to boot, but grubenv had saved value as 
0.

Found instructions to reset saved entry, but they didn't 
work, since they were getting menu enter from grub.cfg, 
which no longer has the kernel entries.

Did this to set the grubenv to list the latest kernel.
Don't know if this would always work.

grub2-editenv - set saved_entry=$(ls -1 
/boot/loader/entries/ | tail -n 1 | sed 's/.conf//')

But now grubenv has this as beginning lines.
cat grubenv
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than 
grub-editenv!!!
saved_entry=be4e5629d05040d192af245eeace0de2-5.16.
17-100.fc34.x86_64
boot_success=1
boot_indeterminate=0

Noticed in a number of places it still shows grub- instead 
of the grub2-
Did also notice that sometimes shows boot_success=0 
right after boot, but then it changes to the =1??



On 29 Mar 2022 at 12:32, Samuel Sieb wrote:

Date sent:  Tue, 29 Mar 2022 12:32:43 -0700
Subject:Re: Have one of 5 machines that no longer 
autoboots??
To: users@lists.fedoraproject.org
From:   Samuel Sieb 
Send reply to:  Community support for Fedora 
users 

> On 3/29/22 06:37, Michael D. Setzer II via users wrote:
> > Have 5 Fedora Linux machines at home. 3 with Fedora 34
> > and 2 with Fedora 35.
> > One of the Fedora 34 machines after kernel upgrade two
> > times ago has stopped auto booting?? Comes up with
> > grub menu and sits there doing nothing?
> > Pressing the Enter key has it boot the highlighted top
> > latest kernel, and it then works fine.
> 
> I haven't seen this with any of the many computers I've upgraded.  Is 
> this EFI or BIOS boot?  Look in /boot/grub2/grub.cfg and see if there is 
> a "set timeout=5" section somewhat near the top.
> ___
> 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 on the list, report it: 
> https://pagure.io/fedora-infrastructure


___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: How to retrieveve user's credential from IPA database?

2022-03-29 Thread Jonathan Billings
On Mar 28, 2022, at 22:08, Roger Seguin  wrote:
> 
> Actually, our software runs on several networked computers and our users, 
> which are all local (defined in /etc), are duplicated on each computer.
> This is not ideal and we would rather like to have all users managed by IPA 
> in a central place (dedicated computer as the IPA server) with our software 
> running in IPA clients. Therefore, our software won't be able to check users' 
> credentials using the local /etc/shadow file anymore.

Rather than looking at /etc/shadow you should be using PAM, and that way you 
could seamlessly migrate to IPA.

http://www.linux-pam.org/Linux-PAM-html/Linux-PAM_ADG.html

—
Jonathan Billings___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: How to retrieveve user's credential from IPA database?

2022-03-29 Thread Jonathan Billings
On Mar 29, 2022, at 03:08, Samuel Sieb  wrote:
> 
> You do an LDAP bind using the username and password.  If it's successful, 
> then the combination is valid.

If this is IPA, using the Kerberos libraries is significantly more secure than 
binding to LDAP.

—
Jonathan Billings
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Have one of 5 machines that no longer autoboots??

2022-03-29 Thread Michael D. Setzer II via users
On 29 Mar 2022 at 12:32, Samuel Sieb wrote:

Date sent:  Tue, 29 Mar 2022 12:32:43 -0700
Subject:Re: Have one of 5 machines that no longer 
autoboots??
To: users@lists.fedoraproject.org
From:   Samuel Sieb 
Send reply to:  Community support for Fedora 
users 

> On 3/29/22 06:37, Michael D. Setzer II via users wrote:
> > Have 5 Fedora Linux machines at home. 3 with Fedora 34
> > and 2 with Fedora 35.
> > One of the Fedora 34 machines after kernel upgrade two
> > times ago has stopped auto booting?? Comes up with
> > grub menu and sits there doing nothing?
> > Pressing the Enter key has it boot the highlighted top
> > latest kernel, and it then works fine.
> 
> I haven't seen this with any of the many computers I've upgraded.  Is 
> this EFI or BIOS boot?  Look in /boot/grub2/grub.cfg and see if there is 
> a "set timeout=5" section somewhat near the top.
In looking at stuff found something strange?
Don't recall any machine setup with efi boot, but found 
this?
On the machine that doesn't boot 
/boot/grub.env has
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than grub-editenv!!!
saved_entry=0
boot_success=1
boot_indeterminate=0

/boot/efi/EFI/fedora has
# GRUB Environment Block
saved_entry=be4e5629d05040d192af245eeace0de2-5.14.12-100.fc33.x86_64
boot_success=0
kernelopts=root=UUID=a6fe5146-7a91-4f6d-ad5f-b04f68d46316 ro 
resume=UUID=bb597a53-7ccc-44b5-bf2c-9ebc40564f7f rhgb quiet 
boot_indeterminate=1

Not sure what created that resume option, or why it 
would cause a change in boot, since it isn't EFI??


Machine that isn't auto booting has
Device Boot Start   End   Sectors   Size Id Type
/dev/sda1  * 2048   2099199   2097152 1G 83 Linux
/dev/sda2 2099200  17498111  15398912   7.3G 82 Linux swap / Solaris
/dev/sda317498112 164298751 14680064070G 83 Linux
/dev/sda4   164298752 976773119 812474368 387.4G  5 Extended
/dev/sda5   164300800 976773119 812472320 387.4G 83 Linux
So don't see an EFI partition?

On this noteboot
/boot/grub2/grubenv has
# GRUB Environment Block
# WARNING: Do not edit this file by tools other than grub-editenv!!!
saved_entry=189711f94e78436d9618b891a8fce70e-5.16.17-100.fc34.x86_64
boot_success=1
boot_indeterminate=0

/boot/efi/EFI/fedora has
# GRUB Environment Block
saved_entry=189711f94e78436d9618b891a8fce70e-5.14.12-100.fc33.x86_64
boot_success=0
boot_indeterminate=1
kernelopts=root=UUID=12b58c6d-c9f1-4ffe-ba7a-aa816f762ba3 ro rhgb quiet 

Original response I had started before I notice 
boot/efi/EFI/fedora/grubenv issue??
Thanks.

Bios boot on all 5 machines.

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style 
feature is
# unavailable.
else
  set timeout=5
fi

The grub.cfg file between two machines is identicle 
between two machines with exception of one machine 
having msdos5 instead of msdos1 because notebook 
original had windows 7 partition, and windows 7 boot 
option.

Only other difference are lines theses a6fe.. and 8410.. 
lines.

  set kernelopts="root=UUID=a6fe5146-7a91-4f6d-ad5f-b04f68d46316 ro rhgb quiet "

  search --no-floppy --fs-uuid --set=root 8410d98a-36ea-4189-80e0-8cd00f2eec66

The rest in the grub.cfg same.

> ___
> 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 on the list, report it: 
> https://pagure.io/fedora-infrastructure



___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: network mystery!!??

2022-03-29 Thread Jack Craig
On Mon, Mar 28, 2022 at 10:11 PM Samuel Sieb  wrote:

> On 3/28/22 12:10, Jack Craig wrote:
> > i needed more wifi service so i bought the nighthawk thinking to cascade
> > the NH behind(required)
> > arris bgw210700. in last years config, i had all traffic routed through
> > the ATT and did port mapping from the internet
> > from static ip external to internal network(10.0.0.0) on the NH.
> >
> > 10.0.0.0 was not shared with the public subnet and it all just worked.
> >
> > tracing ip's & networks, i get...
> >
> > 108.90.204.1   isp GW
> > 108.90.204.76 isp ATT rtr (WAN side)
> >
> > 192.168.1.254 ATT rtr access (LAN side)
> >
> > 10.0.0.1   NH  GW   (NH LAN )
> >
> > 10.0.0.101  (aka 108.220.213.121)  WS srvr.
> >
> > is this an unreasonable configuration given my goal?
> >
> > it was also asked what networks i used to transition public subnet to
> > private subnet as, ...
> >
> > 192.1
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *68.1.0 to 10.0.0.0 [Cloud to att broadband]][ATT rtr 192.168.1.254
>  device_id ]--lan port 1 connect to NH uplink --[NH rtr gateway
>  10.0.0.1  ][NH rtr gateway  uplink netgear switch ][-- netgear switch,
> port 15 ]  10.0.0.101 SRVR[-- netgear switch, port 14 ]  10.0.0.120 NVR[--
> netgear switch, port 13 ]  10.0.0.122 IP Camera[-- netgear switch, port 10
> ]  10.0.0.124 IP Camera[-- netgear switch, port 12 ]  10.0.0.126 IP
> Camera[-- netgear switch, port 12 ]  10.0.0.126 IP Camerai dont have a way
> to show the network as an image/ diagram as if i post with an included png
> or jpg, the post is dropped.wall broadband connection goes to ATT rtr.att
> rtr connects to the NH rtrNH rtr connects to switch*


if this isn't helpful, how might i improve it?

>
>
> Instead of all this random noise, can you please make a diagram of your
> devices, their ports and which IP is where.  Your questions and
> descriptions are mostly incomprehensible.  You had an almost useful
> diagram a couple of days ago, but with no IP addresses.
> ___
> 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 on the list, report it:
> https://pagure.io/fedora-infrastructure
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Have one of 5 machines that no longer autoboots??

2022-03-29 Thread Samuel Sieb

On 3/29/22 06:37, Michael D. Setzer II via users wrote:

Have 5 Fedora Linux machines at home. 3 with Fedora 34
and 2 with Fedora 35.
One of the Fedora 34 machines after kernel upgrade two
times ago has stopped auto booting?? Comes up with
grub menu and sits there doing nothing?
Pressing the Enter key has it boot the highlighted top
latest kernel, and it then works fine.


I haven't seen this with any of the many computers I've upgraded.  Is 
this EFI or BIOS boot?  Look in /boot/grub2/grub.cfg and see if there is 
a "set timeout=5" section somewhat near the top.

___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: DTS not respected in Fedora 35 EET zone

2022-03-29 Thread Alexander Kostadinov
Thanks a lot! I knew there was a `timedatectl` but couldn't figure out
its name and thought normal environment variables will show what I
need.

It turned out my timezone was set to Africa/Cairo which is also listed
as EET. But setting the correct timezone fixed the issue.

I don't know how this happened. I wonder if there was some change with
Fedora 35 because before upgrading to it, I'm sure DTS worked. And I'm
also sure that I didn't change my timezone. Which doesn't mean there
isn't a 1% chance I did something very strange without remembering.
But I tend to believe this happened on its own.

On Tue, Mar 29, 2022 at 7:43 PM Roberto Ragusa  wrote:
>
> On 3/29/22 3:15 PM, Alexander Kostadinov wrote:
> > Hi, since Saturday (when summer time applied) laptop shows one hour
> > behind for easter european time zone. What's wrong?
> >
> > LANG=bg_BG.UTF-8
> > LC_MESSAGES=en_US.utf8
> > LC_MONETARY=en_IE.utf8
> > LC_TELEPHONE=bg_BG.utf8
> >
> > Any ideas?
>
>
> At least you would have to show what you get with the "date" command.
> Regards.
>
> --
> Roberto Ragusamail at robertoragusa.it
> ___
> 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 on the list, report it: 
> https://pagure.io/fedora-infrastructure
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: DTS not respected in Fedora 35 EET zone

2022-03-29 Thread Roberto Ragusa

On 3/29/22 3:15 PM, Alexander Kostadinov wrote:

Hi, since Saturday (when summer time applied) laptop shows one hour
behind for easter european time zone. What's wrong?

LANG=bg_BG.UTF-8
LC_MESSAGES=en_US.utf8
LC_MONETARY=en_IE.utf8
LC_TELEPHONE=bg_BG.utf8

Any ideas?



At least you would have to show what you get with the "date" command.
Regards.

--
   Roberto Ragusamail at robertoragusa.it
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Have one of 5 machines that no longer autoboots??

2022-03-29 Thread Michael D. Setzer II via users
On 29 Mar 2022 at 8:51, stan via users wrote:

Date sent:  Tue, 29 Mar 2022 08:51:13 -0700
To: users@lists.fedoraproject.org
Subject:Re: Have one of 5 machines that no longer 
autoboots??
Organization:   zohofree
Send reply to:  Community support for Fedora 
users 
From:   stan via users 

Copies to:  stan 

> On Wed, 30 Mar 2022 00:59:54 +1000
> "Michael D. Setzer II via users"  wrote:
> 
> > Machine that doesn't timeout boot, before it has a similar 
> > saved_entry, but tried resetting it to 0 to boot from 1st 
> > one.
> > 
> > grub2-editenv list
> > saved_entry=0
> > boot_success=1
> > boot_indeterminate=0
> > 
> > This notebook that works fine
> > grub2-editenv list 
> > saved_entry=189711f94e78436d9618b891a8fce70e-5.16.
> > 17-100.fc34.x86_64
> > boot_success=1
> > boot_indeterminate=0
> 
> I haven't had to examine grub for a long time.  So, I'm not familiar
> enough with it to say what is incorrect.  What do the successful and
> failing system have in
> /etc/default/grub ?
> I think if you put the line
> GRUB_DEFAULT=saved
> in that file on the failing machine, and then run
> grub2-mkconfig -o grub.cfg 
> on the failing machine in the directory where the grub.cfg is,
> it will start booting properly again.  The location of grub.cfg
> *should* be in /boot/grub2/ unless the machines are booting EFI.  Then
> the grub.cfg will be in /boot/efi/EFI/fedora.  This has changed since
> f34 so that grub.cfg is *always* in /boot/grub2/ now.
the default grub was exactly the same.
Neither machine using EFI boot.

> 
> If you install / have installed pinfo, you can get lots of information
> about grub by running
> pinfo grub2
will take a look at pinfo. Only really reboot machine when 
new kernels come out. So not a big problem, but just 
strange...

> Arrow keys will move around, space will move to links.
> ___
> 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 on the list, report it: 
> https://pagure.io/fedora-infrastructure


___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: DTS not respected in Fedora 35 EET zone

2022-03-29 Thread stan via users
On Tue, 29 Mar 2022 15:15:41 +0200
Alexander Kostadinov  wrote:

> Hi, since Saturday (when summer time applied) laptop shows one hour
> behind for easter european time zone. What's wrong?
> 
> LANG=bg_BG.UTF-8
> LC_MESSAGES=en_US.utf8
> LC_MONETARY=en_IE.utf8
> LC_TELEPHONE=bg_BG.utf8
> 
> Any ideas?

This might help.

https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/basic-system-configuration/Configuring_the_Date_and_Time/

Perhaps your time is UTC instead of local, and is thus not changing
with the local time zone setting?

There is also man timedatectl with information about how to adjust the
time.
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Have one of 5 machines that no longer autoboots??

2022-03-29 Thread stan via users
On Wed, 30 Mar 2022 00:59:54 +1000
"Michael D. Setzer II via users"  wrote:

> Machine that doesn't timeout boot, before it has a similar 
> saved_entry, but tried resetting it to 0 to boot from 1st 
> one.
> 
> grub2-editenv list
> saved_entry=0
> boot_success=1
> boot_indeterminate=0
> 
> This notebook that works fine
> grub2-editenv list 
> saved_entry=189711f94e78436d9618b891a8fce70e-5.16.
> 17-100.fc34.x86_64
> boot_success=1
> boot_indeterminate=0

I haven't had to examine grub for a long time.  So, I'm not familiar
enough with it to say what is incorrect.  What do the successful and
failing system have in
/etc/default/grub ?
I think if you put the line
GRUB_DEFAULT=saved
in that file on the failing machine, and then run
grub2-mkconfig -o grub.cfg 
on the failing machine in the directory where the grub.cfg is,
it will start booting properly again.  The location of grub.cfg
*should* be in /boot/grub2/ unless the machines are booting EFI.  Then
the grub.cfg will be in /boot/efi/EFI/fedora.  This has changed since
f34 so that grub.cfg is *always* in /boot/grub2/ now.

If you install / have installed pinfo, you can get lots of information
about grub by running
pinfo grub2
Arrow keys will move around, space will move to links.
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Have one of 5 machines that no longer autoboots??

2022-03-29 Thread Michael D. Setzer II via users
Machine that doesn't timeout boot, before it has a similar 
saved_entry, but tried resetting it to 0 to boot from 1st 
one.

grub2-editenv list
saved_entry=0
boot_success=1
boot_indeterminate=0

This notebook that works fine
grub2-editenv list 
saved_entry=189711f94e78436d9618b891a8fce70e-5.16.
17-100.fc34.x86_64
boot_success=1
boot_indeterminate=0

I comparied the 2 grub.cfg files and they were pretty 
much identicle. Only difference is notebook has windows 
7 on hard disk originally, so the linux uses msdos5 
instead of msdos1 on the other. The only other thing was 
kernel number at front, but matches with the /boot/loader 
on each machine, and the blkid of machines, but those 
match with machines. 

So, strange generally do a dnf update on all machines, 
and for many years, they all reported normally with 
nothing needing to be done? 

Pressing the enter gets a normal boot with no message, 
but requires the manual step of physically hitting enter 
on the keyboard. 

Thanks for the quick reply. Hopefully, someone can figure 
something that might do it, or at least get something to 
show why it doesn't do the count down and autoboot.



On 29 Mar 2022 at 10:30, Tom Horsley wrote:

Date sent:  Tue, 29 Mar 2022 10:30:30 -0400
From:   Tom Horsley 
To: users@lists.fedoraproject.org
Subject:Re: Have one of 5 machines that no longer 
autoboots??
Send reply to:  Community support for Fedora 
users 

> On Tue, 29 Mar 2022 23:37:43 +1000
> Michael D. Setzer II via users wrote:
> 
> > Any ideals? Was planning on upgrading machine to 35, 
> > but with boot process acting up don't know. 
> 
> I had a lot of trouble with "helpful" logic in the grub scripts
> wanting to do a lot of nonsense based on info it stashed in
> the grub environment. I don't remember if there is logic to prevent
> a boot when it imagines you want to know something, but it
> wouldn't surprise me. The grub2-editenv tool can print the
> environment for you (and modify it if you get the confusing
> arguments in the right order), perhaps you can see something
> different in the environment file.
> ___
> 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 on the list, report it: 
> https://pagure.io/fedora-infrastructure


___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Have one of 5 machines that no longer autoboots??

2022-03-29 Thread Tom Horsley
On Tue, 29 Mar 2022 23:37:43 +1000
Michael D. Setzer II via users wrote:

> Any ideals? Was planning on upgrading machine to 35, 
> but with boot process acting up don't know. 

I had a lot of trouble with "helpful" logic in the grub scripts
wanting to do a lot of nonsense based on info it stashed in
the grub environment. I don't remember if there is logic to prevent
a boot when it imagines you want to know something, but it
wouldn't surprise me. The grub2-editenv tool can print the
environment for you (and modify it if you get the confusing
arguments in the right order), perhaps you can see something
different in the environment file.
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Have one of 5 machines that no longer autoboots??

2022-03-29 Thread Michael D. Setzer II via users
Have 5 Fedora Linux machines at home. 3 with Fedora 34 
and 2 with Fedora 35.
One of the Fedora 34 machines after kernel upgrade two 
times ago has stopped auto booting?? Comes up with 
grub menu and sits there doing nothing?
Pressing the Enter key has it boot the highlighted top 
latest kernel, and it then works fine.

Looked at log files, but didn't see anything. 
Did a reinstall of the kernel-core no change.
Did a reinstall of grub2 files and again no change.
Looked at /etc/defaults/grub seems same as other 
machines.

Saw some lines about hibernation in boot.log, but never 
have used hibernation. 

This machine is generally headless (no monitor).
Have a monitor hooked at moment, but anytime I do a 
reboot on it, have to manually hit the enter key. 

Today dnf update included another kernel, but same 
thing. New kernel shows at top, but no timeout, and only 
manually pressing enter gets it to boot.

Any ideals? Was planning on upgrading machine to 35, 
but with boot process acting up don't know. 

Thanks.

___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


DTS not respected in Fedora 35 EET zone

2022-03-29 Thread Alexander Kostadinov
Hi, since Saturday (when summer time applied) laptop shows one hour
behind for easter european time zone. What's wrong?

LANG=bg_BG.UTF-8
LC_MESSAGES=en_US.utf8
LC_MONETARY=en_IE.utf8
LC_TELEPHONE=bg_BG.utf8

Any ideas?
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: How to retrieveve user's credential from IPA database?

2022-03-29 Thread Samuel Sieb

On 3/28/22 19:08, Roger Seguin wrote:

We have a GUI-based computer program that drives an external device/machine.
By default our software only displays limited information on that external 
device.

However, when a power user (group defined in /etc) identifies himself by 
entering their credentials through our software GUI, our software then checks 
those credentials against /etc/shadow using crypt() and getspnam() and, if 
succesful, provides extra functions for configuring our external device/machine.

Actually, our software runs on several networked computers and our users, which 
are all local (defined in /etc), are duplicated on each computer.
This is not ideal and we would rather like to have all users managed by IPA in 
a central place (dedicated computer as the IPA server) with our software 
running in IPA clients. Therefore, our software won't be able to check users' 
credentials using the local /etc/shadow file anymore.

Basically, we would need to be able to query IPA programmatically (C language - 
or at least a shell script) to check that a username+password is correct.


You do an LDAP bind using the username and password.  If it's 
successful, then the combination is valid.


You could also look to see how sssd does it.
___
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 on the list, report it: 
https://pagure.io/fedora-infrastructure