Re: [gentoo-user] Installing windows on second drive

2022-04-10 Thread Adam Carter
>
> iirc (and I'm about to do it again), Windows just makes itself default,
> and sets boot timeout to 0.
>
> So no I wouldn't bother modifying grub - just set the EFI timeout to,
> say, 5 secs. You then choose between Windows and grub, and then let grub
> sort out the linux side for you.
>

Ok, will do.

>
> I notice you're using a second drive, though. At least linux is on drive
> 0, with a decent EFI partition. I had another system with linux on drive
> 1. Windows made the EFI partition on drive 0 tiny, and I never worked
> out how to chain the two EFI partitions together. Couldn't put grub on
> drive 0, the partition was too small.
>

Actually the free drive is nvme0n1... I was running out of space on that
device so added nvme1n1 and moved Gentoo to that drive. On nvme1n1
partition 1 is 1gig for both EFI and /boot (with a minimal .iso available
via grub as a rescue option if needed).

With regards to windows making a tiny EFI partition on drive 0, i dont
think I understand the issue. I'm thinking I can either;
1. Use the EFI boot loader to choose between Windows and Linux, as you
mention above, with the small downside of having two boot loaders/timeouts,
or
2. Use EFI to default to grub on the second drive with a very short timer
(so its like its not even there) and put an entry for Windows in the grub
config

I will probably try #1 first, then update the grub config to boot windows
and confirm that works, then change to #2.

Let me know if i'm misunderstanding anything.

Thanks!


[gentoo-user] [SOLVED] Problem with libcrypt transition

2022-04-10 Thread Walter Dnes
On Sun, Apr 10, 2022 at 04:39:21PM -0400, Walter Dnes wrote

> =
> 
> [thimk2][root][~] USE="static-libs" emerge -pv -1 virtual/libcrypt
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild U  ] sys-libs/glibc-2.34-r10:2.2::gentoo [2.33-r1:2.2::gentoo] 
> USE="multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales 
> (-crypt*) (-custom-cflags) -doc -gd -headers-only (-multilib) 
> -multilib-bootstrap -nscd -profile (-selinux) -static-pie -suid -systemd% 
> -systemtap -test (-vanilla)" 17,047 KiB
> [ebuild  N ] virtual/libcrypt-2:0/2::gentoo  USE="static-libs" 0 KiB
> [ebuild  N ] sys-libs/libxcrypt-4.4.27:0/1::gentoo  USE="(compat) 
> (split-usr) static-libs (system) -test" 605 KiB
> 
> Total: 3 packages (1 upgrade, 2 new), Size of downloads: 17,651 KiB
> 
> =
> 
>   Notes...
> 1) Updating glibc
> 2) pulling in virtual/libcrypt-2
> 3) pulling in sys-libs/libxcrypt-4.4.27
> 4) ***NO BLOCKER MESSAGES***
> 
>   I'll run it for real and let you guys know how things went.

  Now on to the world update...

  I have busybox with "static-libs".  That *DEMANDS* virtual/libcrypt
also have USE="static-libs" or else I run into problems.  Since I have
"-crypt" in make.conf, I added "virtual/libcrypt static-libs" to
package.use.  "emerge --changed-use --deep --update @world"
re-insralled 13 packages.  No upgrades or new packages, just 13
re-installs.

  After the re-installs, run it again...

=

[thimk2][root][~] emerge --changed-use --deep --update @world
Calculating dependencies... done!
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

=

  Successfully transitioned.  Thanks for everybody's help.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Problem with libcrypt transition

2022-04-10 Thread Walter Dnes
On Sun, Apr 10, 2022 at 05:32:26PM +0200, Arve Barsnes wrote
> On Sun, 10 Apr 2022 at 15:32, Walter Dnes  wrote:
> 
> >   I know that the news item gives dire warnings about not unmerging
> > glibc.  Can I safely unmerge virtual/libcrypt and replace it?
> >
> >
> Sure, but you would probably get the same errors. I'm suspecting you have
> some USE flags configured which creates the conflict. Possibly you have set
> the USE="crypt" for glibc.

  I removed virtual/libcrypt and asked a new build,  It whined about
requiring "static-libs".  So I tried that.  Lo and behold...

=

[thimk2][root][~] USE="static-libs" emerge -pv -1 virtual/libcrypt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U  ] sys-libs/glibc-2.34-r10:2.2::gentoo [2.33-r1:2.2::gentoo] 
USE="multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt*) 
(-custom-cflags) -doc -gd -headers-only (-multilib) -multilib-bootstrap -nscd 
-profile (-selinux) -static-pie -suid -systemd% -systemtap -test (-vanilla)" 
17,047 KiB
[ebuild  N ] virtual/libcrypt-2:0/2::gentoo  USE="static-libs" 0 KiB
[ebuild  N ] sys-libs/libxcrypt-4.4.27:0/1::gentoo  USE="(compat) 
(split-usr) static-libs (system) -test" 605 KiB

Total: 3 packages (1 upgrade, 2 new), Size of downloads: 17,651 KiB

=

  Notes...
1) Updating glibc
2) pulling in virtual/libcrypt-2
3) pulling in sys-libs/libxcrypt-4.4.27
4) ***NO BLOCKER MESSAGES***

  I'll run it for real and let you guys know how things went.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] zathura scroll bars

2022-04-10 Thread Jorge Almeida
On Sun, Apr 10, 2022 at 1:59 PM Neil Bothwick  wrote:
>
> On Sat, 9 Apr 2022 14:14:39 +0100, Jorge Almeida wrote:
>
> > > I have those, and I have installed zathura through emerge with the
> > > `doc` flag, but it should not be necessary to have it set...
> >
> > Ah, OK. I don't have "doc" as global USE, since it usually pulls
> > useless stuff. This is the first package I found for which it enables
> > building the man pages.
>
> File a bug report, this is a misuse of the doc flag, use.desc says this
>

Done

Jorge Almeida



Re: [gentoo-user] [offtopic] dual boot Windows 11 / Linux

2022-04-10 Thread Серега Филатов
Also if you've booted your live media in legacy mode then efibootmgr might
not do anything because efivars are not accessible in this mode. That could
explain the situation when you have grubx64.efi but no boot entry. So check
that you're booting live system in UEFI too.

On Sun, Apr 10, 2022, 20:02 Michael  wrote:

> On Sunday, 10 April 2022 14:58:26 BST Серега Филатов wrote:
> > If it's a similar laptop I assume you have grub2 installed in EFI mode.
> > Check if you have grubx64.efi in your EFI partition (usually / EFI
> > partition>/EFI/gentoo/).
> > Also check if you have efi boot entry for grub with efibootmgr utility.
> if
> > grub-install with EFI target was used on a new system it should call
> > efibootmgr to add a Gentoo entry in UEFI).
> >
> > If you are trying to install grub in legacy mode then look in UEFI
> settings
> > if CSM or legacy boot is enabled. But since you have win11 and you want
> > dual boot I don't think that it's what you want. Os-prober will not pick
> up
> > EFI win11 installation if grub is installed in legacy and you can't
> install
> > win11 in legacy since Microsoft made win11 UEFI-only.
>
> Some UEFI firmware is buggy and may not pick up a new OS bootloader in the
> ESP,
> at least not pick it up initially.  In these cases temporarily changing a
> UEFI
> setting to nudge the firmware to parse the ESP for boot menu entries will
> help.
> So /should/ running the efibootmgr to create an entry with grub's efi
> image.


Re: [gentoo-user] x11-misc/sddm-0.18.1-r6 exits inexplicably

2022-04-10 Thread Michael
On Sunday, 10 April 2022 16:31:01 BST Neil Bothwick wrote:
> On Sun, 10 Apr 2022 15:45:39 +0100, Michael wrote:
> > > The laptop has an ethernet NIC on the MoBo, which is gimped at
> > > 100Mbps. This is not used under normal circumstances.  Instead I use
> > > a USB 3.0 1Gbps ethernet adaptor.  Following your prompts I unplugged
> > > the USB ethernet adaptor, connected the ethernet cable to the NIC on
> > > the MoBo and rebooted. No problem.  SDDM launches as it should.
> > > 
> > > So this could be udev related?  While udev isrobing the USB adaptor
> > > and starting the dhcp negotiation, somehow this sequence interferes
> > > with the SSDM starting up?
> > 
> > I replaced  the USB ethernet adaptor with a USB wireless adaptor,
> > plugged into the same port.  Rebooted and SDDM starts normally.  So,
> > this problem only occurs when I have the wired USB adaptor plugged in.
> > What could be a possible cause?
> 
> Does it still do it when the USB adaptor is plugged in with no cable?

No, it only occurs when the ethernet cable is connected to the USB adaptor.  
Hmm ... is your DNS statement coming back to haunt me?  O_O

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [offtopic] dual boot Windows 11 / Linux

2022-04-10 Thread Michael
On Sunday, 10 April 2022 14:58:26 BST Серега Филатов wrote:
> If it's a similar laptop I assume you have grub2 installed in EFI mode.
> Check if you have grubx64.efi in your EFI partition (usually / partition>/EFI/gentoo/).
> Also check if you have efi boot entry for grub with efibootmgr utility. if
> grub-install with EFI target was used on a new system it should call
> efibootmgr to add a Gentoo entry in UEFI).
> 
> If you are trying to install grub in legacy mode then look in UEFI settings
> if CSM or legacy boot is enabled. But since you have win11 and you want
> dual boot I don't think that it's what you want. Os-prober will not pick up
> EFI win11 installation if grub is installed in legacy and you can't install
> win11 in legacy since Microsoft made win11 UEFI-only.

Some UEFI firmware is buggy and may not pick up a new OS bootloader in the ESP, 
at least not pick it up initially.  In these cases temporarily changing a UEFI 
setting to nudge the firmware to parse the ESP for boot menu entries will help. 
 
So /should/ running the efibootmgr to create an entry with grub's efi image.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Problem with libcrypt transition

2022-04-10 Thread Arve Barsnes
On Sun, 10 Apr 2022 at 15:32, Walter Dnes  wrote:

>   I know that the news item gives dire warnings about not unmerging
> glibc.  Can I safely unmerge virtual/libcrypt and replace it?
>
>
Sure, but you would probably get the same errors. I'm suspecting you have
some USE flags configured which creates the conflict. Possibly you have set
the USE="crypt" for glibc.

Regards,
Arve


Re: [gentoo-user] Problem with libcrypt transition

2022-04-10 Thread Neil Bothwick
On Sun, 10 Apr 2022 09:32:21 -0400, Walter Dnes wrote:

>   I know that the news item gives dire warnings about not unmerging
> glibc.  Can I safely unmerge virtual/libcrypt and replace it?

I don't see why not, it is only a virtual and doesn't actually install
anything.


-- 
Neil Bothwick

There is absolutely no substitute for a genuine lack of preparation.


pgpHpk_FbdCTT.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] x11-misc/sddm-0.18.1-r6 exits inexplicably

2022-04-10 Thread Neil Bothwick
On Sun, 10 Apr 2022 15:45:39 +0100, Michael wrote:

> > The laptop has an ethernet NIC on the MoBo, which is gimped at
> > 100Mbps. This is not used under normal circumstances.  Instead I use
> > a USB 3.0 1Gbps ethernet adaptor.  Following your prompts I unplugged
> > the USB ethernet adaptor, connected the ethernet cable to the NIC on
> > the MoBo and rebooted. No problem.  SDDM launches as it should.
> > 
> > So this could be udev related?  While udev isrobing the USB adaptor
> > and starting the dhcp negotiation, somehow this sequence interferes
> > with the SSDM starting up?  
> 
> I replaced  the USB ethernet adaptor with a USB wireless adaptor,
> plugged into the same port.  Rebooted and SDDM starts normally.  So,
> this problem only occurs when I have the wired USB adaptor plugged in.
> What could be a possible cause?

Does it still do it when the USB adaptor is plugged in with no cable?


-- 
Neil Bothwick

"Theory and practice are the same in theory, but different in practice"


pgpib4GeDgmZF.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] x11-misc/sddm-0.18.1-r6 exits inexplicably

2022-04-10 Thread Michael
On Sunday, 10 April 2022 12:12:43 BST Michael wrote:
> On Sunday, 10 April 2022 10:26:09 BST Neil Bothwick wrote:
> > On Sun, 10 Apr 2022 10:18:29 +0100, Michael wrote:
> > > > The PC is a laptop, which is usually connected to ethernet.  Following
> > > > Neil's prompt I just started it, without an ethernet cable connected,
> > > > to check what Xorg log shows . . .  O_O
> > > > 
> > > > Well, what do you know!  SDDM started properly, with mouse, GUI and
> > > > all.  No pam_unix problem.  I am now even more confused than before.
> > > > Why would the presence of an ethernet connection determine if SDDM
> > > > starts and then exits, or not?  :-/
> > > 
> > > This behaviour is repeatable.  Why would the presence of a network
> > > connection on this PC affect SDDM?!
> > 
> > When you don't have the cable, are you using wireless or no network? Have
> > you tried waiting a few minutes to see if SDDM comes up? I wonder if this
> > could be a DNS or IPv6 issue? Remember the old saying "The problem is
> > always DNS. Even when it's not DNS, it is DNS".
> 
> Thank you Neil for prompting my brain to work in a different direction.  :-)
> 
> (As it happens I've experienced some DNSSEC issues on a router following a
> buggy firmware update, but this would be seriously O/T for this M/L.)
> 
> I have waited for minutes to see if SDDM will eventually kick in.  It seems
> the pam_unix intervention is terminal.  SDDM does not start once session c1
> .
> 
> The laptop has an ethernet NIC on the MoBo, which is gimped at 100Mbps. 
> This is not used under normal circumstances.  Instead I use a USB 3.0 1Gbps
> ethernet adaptor.  Following your prompts I unplugged the USB ethernet
> adaptor, connected the ethernet cable to the NIC on the MoBo and rebooted. 
> No problem.  SDDM launches as it should.
> 
> So this could be udev related?  While udev isrobing the USB adaptor and
> starting the dhcp negotiation, somehow this sequence interferes with the
> SSDM starting up?

I replaced  the USB ethernet adaptor with a USB wireless adaptor, plugged into 
the same port.  Rebooted and SDDM starts normally.  So, this problem only 
occurs when I have the wired USB adaptor plugged in.  What could be a possible 
cause?

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] [offtopic] dual boot Windows 11 / Linux

2022-04-10 Thread Mark Knecht
On Sun, Apr 10, 2022 at 6:59 AM Серега Филатов  wrote:
>
> If it's a similar laptop I assume you have grub2 installed in EFI mode.
> Check if you have grubx64.efi in your EFI partition (usually / partition>/EFI/gentoo/).
> Also check if you have efi boot entry for grub with efibootmgr utility. if 
> grub-install with EFI target was used on a new system it should call 
> efibootmgr to add a Gentoo entry in UEFI).
>
> If you are trying to install grub in legacy mode then look in UEFI settings 
> if CSM or legacy boot is enabled. But since you have win11 and you want dual 
> boot I don't think that it's what you want. Os-prober will not pick up EFI 
> win11 installation if grub is installed in legacy and you can't install win11 
> in legacy since Microsoft made win11 UEFI-only.
>
> On Sun, Apr 10, 2022, 15:15 Helmut Jarausch  wrote:
>>
>> Hi,
>>
>> I have purchased a new Laptop with Windows 11 pre-installed.
>> I have managed to do (so far)
>>
>> - shrink the Windows partition (from within Windows since it's
>> encrypted)
>> - turned off secure boot to be able to boot a Linux rescue system from
>> USB
>> - created new partitions (boot, root and home)
>> - copied a gentoo system from a similar laptop onto the root partition
>> - reinstalled grub2 (after doing chroot)
>>
>> My problem now is that I can't select the Gentoo partition within BIOS
>> since this partition isn't offered as a boot option.
>>
>> Many thanks for any hints or pointers,
>> Helmut
>>

An example:

root@science2:~# ls -al /boot/efi/
total 6
drwx-- 3 root root 1024 Dec 31  1969 .
drwxr-xr-x 4 root root 4096 Mar 29 14:37 ..
drwx-- 5 root root 1024 Feb 13 15:35 EFI
root@science2:~# ls -al /boot/efi/EFI/
total 5
drwx-- 5 root root 1024 Feb 13 15:35 .
drwx-- 3 root root 1024 Dec 31  1969 ..
drwx-- 2 root root 1024 Feb 13 15:35 Boot
drwx-- 4 root root 1024 Dec  1 20:43 Microsoft
drwx-- 2 root root 1024 Feb 13 15:35 ubuntu
root@science2:~# ls -al /boot/efi/EFI/Boot/
total 1857
drwx-- 2 root root   1024 Feb 13 15:35 .
drwx-- 5 root root   1024 Feb 13 15:35 ..
-rwx-- 1 root root 955656 Feb 13 15:35 bootx64.efi
-rwx-- 1 root root  85672 Feb 13 15:35 fbx64.efi
-rwx-- 1 root root 856232 Feb 13 15:35 mmx64.efi
root@science2:~# ls -al /boot/efi/EFI/Microsoft/
total 8
drwx--  4 root root 1024 Dec  1 20:43 .
drwx--  5 root root 1024 Feb 13 15:35 ..
drwx-- 40 root root 5120 Dec  1 20:43 Boot
drwx--  2 root root 1024 Dec  1 20:44 Recovery
root@science2:~# ls -al /boot/efi/EFI/ubuntu/
total 3457
drwx-- 2 root root1024 Feb 13 15:35 .
drwx-- 5 root root1024 Feb 13 15:35 ..
-rwx-- 1 root root 108 Feb 13 15:35 BOOTX64.CSV
-rwx-- 1 root root 117 Feb 13 15:35 grub.cfg
-rwx-- 1 root root 1722240 Feb 13 15:35 grubx64.efi
-rwx-- 1 root root  856232 Feb 13 15:35 mmx64.efi
-rwx-- 1 root root  955656 Feb 13 15:35 shimx64.efi
root@science2:~#



Re: [gentoo-user] [offtopic] dual boot Windows 11 / Linux

2022-04-10 Thread Серега Филатов
If it's a similar laptop I assume you have grub2 installed in EFI mode.
Check if you have grubx64.efi in your EFI partition (usually //EFI/gentoo/).
Also check if you have efi boot entry for grub with efibootmgr utility. if
grub-install with EFI target was used on a new system it should call
efibootmgr to add a Gentoo entry in UEFI).

If you are trying to install grub in legacy mode then look in UEFI settings
if CSM or legacy boot is enabled. But since you have win11 and you want
dual boot I don't think that it's what you want. Os-prober will not pick up
EFI win11 installation if grub is installed in legacy and you can't install
win11 in legacy since Microsoft made win11 UEFI-only.

On Sun, Apr 10, 2022, 15:15 Helmut Jarausch  wrote:

> Hi,
>
> I have purchased a new Laptop with Windows 11 pre-installed.
> I have managed to do (so far)
>
> - shrink the Windows partition (from within Windows since it's
> encrypted)
> - turned off secure boot to be able to boot a Linux rescue system from
> USB
> - created new partitions (boot, root and home)
> - copied a gentoo system from a similar laptop onto the root partition
> - reinstalled grub2 (after doing chroot)
>
> My problem now is that I can't select the Gentoo partition within BIOS
> since this partition isn't offered as a boot option.
>
> Many thanks for any hints or pointers,
> Helmut
>
>


Re: [gentoo-user] Problem with libcrypt transition

2022-04-10 Thread Walter Dnes
On Sun, Apr 10, 2022 at 08:02:30AM +0200, Arve Barsnes wrote
> 
> Hard to tell from your output what the status of any conflicts are
> on your system. As the message correctly indicates, it cannot upgrade
> glibc because virtual/libcrypt-1 requires the older version.
> 
> What would portage complain about before you excluded it?

  I got the exact same error message.

> As mentioned in the news item, most upgrades should have just happened on
> its own without user interference, so it might also be as simple as
> re-running the @world command with --backtrack=1000

  See attachment world.txt.gz

> What is the output from:
> emerge -1va =virtual/libcrypt-2

  See attachment lc2.txt.gz

  I know that the news item gives dire warnings about not unmerging
glibc.  Can I safely unmerge virtual/libcrypt and replace it?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications


world.txt.gz
Description: application/gzip


lc2.txt.gz
Description: application/gzip


Re: [gentoo-user] [offtopic] dual boot Windows 11 / Linux

2022-04-10 Thread Wol

On 10/04/2022 12:14, Helmut Jarausch wrote:

Hi,

I have purchased a new Laptop with Windows 11 pre-installed.
I have managed to do (so far)

- shrink the Windows partition (from within Windows since it's encrypted)
- turned off secure boot to be able to boot a Linux rescue system from USB
- created new partitions (boot, root and home)
- copied a gentoo system from a similar laptop onto the root partition
- reinstalled grub2 (after doing chroot)

My problem now is that I can't select the Gentoo partition within BIOS
since this partition isn't offered as a boot option.


Because, as Windows is installed, BIUS isn't an option?

Look at UEFI boot. You can install grub into UEFI, but probably not here 
because Windows will have given you pretty much no space. If you can get 
the kernel and initramfs into the UEFI partition you should hopefully be 
okay. Your problem will be squeezing ANYthing into the space Windows has 
left.


As for helping you do it, sorry I haven't. My two laptops that came with 
linux, one I've added Windows, the other I have yet to configure. The 
one that came with Windows still has no linux ...


Cheers,
Wol



Re: [gentoo-user] zathura scroll bars

2022-04-10 Thread Neil Bothwick
On Sat, 9 Apr 2022 14:14:39 +0100, Jorge Almeida wrote:

> > I have those, and I have installed zathura through emerge with the
> > `doc` flag, but it should not be necessary to have it set...  
> 
> Ah, OK. I don't have "doc" as global USE, since it usually pulls
> useless stuff. This is the first package I found for which it enables
> building the man pages.

File a bug report, this is a misuse of the doc flag, use.desc says this

doc - Add extra documentation (API, Javadoc, etc)...

man/info pages should be installed by default.


-- 
Neil Bothwick

She's fine, upstanding, and wonderful laying down.


pgpsMLIo2w01g.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: [SOLVED] Footer line with LibreOffice's Calc?

2022-04-10 Thread Dr Rainer Woitok
Dan,

On Sunday, 2022-04-10 13:06:46 +0200, you wrote:

> ...
> In LO-Calc:
> 
> Tools -> Options -> LibreOffice Calc -> General -> Input Settings -> "Expand 
> references when new columns/rows are inserted"

Oops ... let me politely put it this way: apparently it was too late and
I was too tired yesterday to see the obvious :-/

To summ it up: the option is not only there but also solves my problem.

Many thanks to the responders :-)

Sincerely,
  Rainer



[gentoo-user] [offtopic] dual boot Windows 11 / Linux

2022-04-10 Thread Helmut Jarausch

Hi,

I have purchased a new Laptop with Windows 11 pre-installed.
I have managed to do (so far)

- shrink the Windows partition (from within Windows since it's  
encrypted)
- turned off secure boot to be able to boot a Linux rescue system from  
USB

- created new partitions (boot, root and home)
- copied a gentoo system from a similar laptop onto the root partition
- reinstalled grub2 (after doing chroot)

My problem now is that I can't select the Gentoo partition within BIOS
since this partition isn't offered as a boot option.

Many thanks for any hints or pointers,
Helmut



Re: [gentoo-user] x11-misc/sddm-0.18.1-r6 exits inexplicably

2022-04-10 Thread Michael
On Sunday, 10 April 2022 10:26:09 BST Neil Bothwick wrote:
> On Sun, 10 Apr 2022 10:18:29 +0100, Michael wrote:
> > > The PC is a laptop, which is usually connected to ethernet.  Following
> > > Neil's prompt I just started it, without an ethernet cable connected,
> > > to check what Xorg log shows . . .  O_O
> > > 
> > > Well, what do you know!  SDDM started properly, with mouse, GUI and
> > > all.  No pam_unix problem.  I am now even more confused than before.
> > > Why would the presence of an ethernet connection determine if SDDM
> > > starts and then exits, or not?  :-/
> > 
> > This behaviour is repeatable.  Why would the presence of a network
> > connection on this PC affect SDDM?!
> 
> When you don't have the cable, are you using wireless or no network? Have
> you tried waiting a few minutes to see if SDDM comes up? I wonder if this
> could be a DNS or IPv6 issue? Remember the old saying "The problem is
> always DNS. Even when it's not DNS, it is DNS".

Thank you Neil for prompting my brain to work in a different direction.  :-)

(As it happens I've experienced some DNSSEC issues on a router following a 
buggy firmware update, but this would be seriously O/T for this M/L.)

I have waited for minutes to see if SDDM will eventually kick in.  It seems 
the pam_unix intervention is terminal.  SDDM does not start once session c1 .

The laptop has an ethernet NIC on the MoBo, which is gimped at 100Mbps.  This 
is not used under normal circumstances.  Instead I use a USB 3.0 1Gbps 
ethernet adaptor.  Following your prompts I unplugged the USB ethernet 
adaptor, connected the ethernet cable to the NIC on the MoBo and rebooted.  No 
problem.  SDDM launches as it should.

So this could be udev related?  While udev isrobing the USB adaptor and 
starting the dhcp negotiation, somehow this sequence interferes with the SSDM 
starting up?

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Footer line with LibreOffice's Calc?

2022-04-10 Thread Dan Johansson

On 10.04.22 12:33, Dr Rainer Woitok wrote:

Stefan,

On Saturday, 2022-04-09 18:46:00 +0200, you wrote:


...
Excel automatically adjusts the formular to include the newly added line,
while LibreCalc does not ... by default. However, there is
a setting (Extras -> Optionen -> LibreOffice Calc -> Allgemein -> 
Eingabe-Einstellungen)
called "Bezüge beim Einfügen von Zeilen/Spalten an deren Rändern ausdehnen",
which does the trick.


Thanks for the quick response.  However, I can nowhere find anything re-
sembling this sequence of sub-menus  (apart from the LibreOffice I'm us-
ing is talking English).  When I just enter "libreoffice" on the command
line, the list of pull-down menus  is "File Tools Help",  and when I run
"libreoffice --calc"  the list of pull-down menus is "File Edit View In-
sert Format Styles Sheet Data Tools Window Help".   But up to now  I did
not find anything  in the various cascaded sub-menus  which would trans-
late to "Eingabe-Einstellungen".

In case it matters: "libreoffice --version" returns "LibreOffice 7.2.6.2
20(Build:2)" here, and this is the USE string returned by "eix":

USE: bluetooth branding cups dbus gtk mariadb pdfimport postgres
 -accessibility -base -clang -coinmp -custom-cflags -debug -eds
 -firebird -googledrive -gstreamer -java -kde -ldap -odk -test
 -vulkan
 LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
 -scripting-javascript -wiki-publisher"
 PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"

Am I missing some USE flag?

Sincerely,
   Rainer


In LO-Calc:

Tools -> Options -> LibreOffice Calc -> General -> Input Settings -> "Expand 
references when new columns/rows are inserted"



--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Footer line with LibreOffice's Calc?

2022-04-10 Thread Dr Rainer Woitok
Stefan,

On Saturday, 2022-04-09 18:46:00 +0200, you wrote:

> ...
> Excel automatically adjusts the formular to include the newly added line,
> while LibreCalc does not ... by default. However, there is
> a setting (Extras -> Optionen -> LibreOffice Calc -> Allgemein -> 
> Eingabe-Einstellungen)
> called "Bezüge beim Einfügen von Zeilen/Spalten an deren Rändern ausdehnen",
> which does the trick.

Thanks for the quick response.  However, I can nowhere find anything re-
sembling this sequence of sub-menus  (apart from the LibreOffice I'm us-
ing is talking English).  When I just enter "libreoffice" on the command
line, the list of pull-down menus  is "File Tools Help",  and when I run
"libreoffice --calc"  the list of pull-down menus is "File Edit View In-
sert Format Styles Sheet Data Tools Window Help".   But up to now  I did
not find anything  in the various cascaded sub-menus  which would trans-
late to "Eingabe-Einstellungen".

In case it matters: "libreoffice --version" returns "LibreOffice 7.2.6.2
20(Build:2)" here, and this is the USE string returned by "eix":

   USE: bluetooth branding cups dbus gtk mariadb pdfimport postgres
-accessibility -base -clang -coinmp -custom-cflags -debug -eds
-firebird -googledrive -gstreamer -java -kde -ldap -odk -test
-vulkan
LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
-scripting-javascript -wiki-publisher"
PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10"

Am I missing some USE flag?

Sincerely,
  Rainer



Re: [gentoo-user] x11-misc/sddm-0.18.1-r6 exits inexplicably

2022-04-10 Thread Neil Bothwick
On Sun, 10 Apr 2022 10:18:29 +0100, Michael wrote:

> > The PC is a laptop, which is usually connected to ethernet.  Following
> > Neil's prompt I just started it, without an ethernet cable connected,
> > to check what Xorg log shows . . .  O_O
> > 
> > Well, what do you know!  SDDM started properly, with mouse, GUI and
> > all.  No pam_unix problem.  I am now even more confused than before.
> > Why would the presence of an ethernet connection determine if SDDM
> > starts and then exits, or not?  :-/  
> 
> This behaviour is repeatable.  Why would the presence of a network
> connection on this PC affect SDDM?!

When you don't have the cable, are you using wireless or no network? Have
you tried waiting a few minutes to see if SDDM comes up? I wonder if this
could be a DNS or IPv6 issue? Remember the old saying "The problem is
always DNS. Even when it's not DNS, it is DNS".


-- 
Neil Bothwick

But I thought YOU did the backups...


pgpB_HHdhJKY7.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] x11-misc/sddm-0.18.1-r6 exits inexplicably

2022-04-10 Thread Michael
On Saturday, 9 April 2022 11:36:45 BST Michael wrote:
> On Saturday, 9 April 2022 11:26:13 BST Neil Bothwick wrote:
> > On Sat, 09 Apr 2022 10:13:00 +0100, Michael wrote:
> > > I'm trying to understand why one PC in particular fails to start SDDM
> > > since an update to x11-misc/sddm-0.18.1-r6 and ends up with a blank
> > > page on VT7.  I suspect some pam module malfunction, but I don't
> > > understand why this happens or how to troubleshoot it.  Interestingly,
> > > if I restart the display-manager service manually, SDDM starts and no
> > > longer exits.  :-/
> > 
> > Anything in Xorg.0.log?
> 
> The PC is a laptop, which is usually connected to ethernet.  Following
> Neil's prompt I just started it, without an ethernet cable connected, to
> check what Xorg log shows . . .  O_O
> 
> Well, what do you know!  SDDM started properly, with mouse, GUI and all.  No
> pam_unix problem.  I am now even more confused than before.  Why would the
> presence of an ethernet connection determine if SDDM starts and then exits,
> or not?  :-/

This behaviour is repeatable.  Why would the presence of a network connection 
on this PC affect SDDM?!

I also checked Xorg.0.log with and without ethernet/SDDM and there is no 
difference and no errors.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Installing windows on second drive

2022-04-10 Thread Wols Lists

On 10/04/2022 01:30, Miles Malone wrote:

That is correct, yeah. Wouldnt do you any harm to backup your ESP
beforehand, though it's unlikely to be more than a precaution

On Sun, 10 Apr 2022 at 10:13, Adam Carter  wrote:


I'm assuming that windows will modify the EFI configuration and i will need to 
boot, say, a minimal cd image to run efibootmgr to set it back, then add a 
Windows entry to the grub config.

Is that correct? Anything else i should be concerned about?


iirc (and I'm about to do it again), Windows just makes itself default, 
and sets boot timeout to 0.


So no I wouldn't bother modifying grub - just set the EFI timeout to, 
say, 5 secs. You then choose between Windows and grub, and then let grub 
sort out the linux side for you.


I notice you're using a second drive, though. At least linux is on drive 
0, with a decent EFI partition. I had another system with linux on drive 
1. Windows made the EFI partition on drive 0 tiny, and I never worked 
out how to chain the two EFI partitions together. Couldn't put grub on 
drive 0, the partition was too small.


So, yes. In theory it's easy. In practice...?

Cheers,
Wol



Re: [gentoo-user] Problem with libcrypt transition

2022-04-10 Thread Arve Barsnes
On Sun, 10 Apr 2022 at 04:35, Walter Dnes  wrote:

> To quote Rowan and Martin "Later... that very same evening" (7 hours
> and 265 packages) it finished.  Now to tackle libcrypt.  How do I handle
> the following?  As near as I can tell from the news item, glibc's
> internal libcrypt is being replaced by an external libxcrypt but the
> details are vague..
>


Hard to tell from your output what the status of any conflicts are on your
system. As the message correctly indicates, it cannot upgrade glibc because
virtual/libcrypt-1 requires the older version.

What would portage complain about before you excluded it? What is the
output from:
emerge -1va =virtual/libcrypt-2

As mentioned in the news item, most upgrades should have just happened on
its own without user interference, so it might also be as simple as
re-running the @world command with --backtrack=1000

Regards,
Arve