Re: [gentoo-user] safe use of .gnupg

2019-12-17 Thread Andrew Udvare



> On Dec 17, 2019, at 20:51, Philip Webb  wrote:
> 
> When encrypting a file, I was told :
> 
>  root:552 root> gpg -c  
>  gpg: WARNING: unsafe ownership on homedir '/home/purslow/.gnupg'
> 
> The file is owned by my user, ie  : .
> This seems to be the default when 'gpg' is installed.

It's probably complaining if you're running as root and you've set the GPG home 
did to be in /home/purslow/.gnupg rather than /root/.gnupg (and owned by 
root:root). Otherwise try setting that directory to 0700 permission (u+rwx 
g-rwx o-rwx).

Andrew


Re: [gentoo-user] AMDGPU: firefox hangs the window manager [RESOLVED](kinda)

2019-12-17 Thread Adam Carter
On Tue, Dec 17, 2019 at 2:46 AM n952162  wrote:

> I rebuilt my kernel, taking AMDGPU out and using "ATI Radeon" instead.
> Now X works for me, and even my power-off issue is gone.
>
> I don't think it has anything to do with firefox, really, or performance,
> but rather a problem with the driver and hardware coordination.
>
> According to the gentoo AMDGPU webpage, the STONEY processor *should* be
> supported:
>
>
>   00:01.0 VGA compatible controller: Advanced Micro Devices, Inc.
> [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev da)
>
Did you setup your kernel to load the firmware when you were using AMDGPU?

Stoney looks like it might use the tonga or carrizo firmware.

# cd /lib/firmware/amdgpu/
# ls *tonga* *carr*
carrizo_ce.bincarrizo_mec.bin  carrizo_sdma1.bin  carrizo_vce.bin
 tonga_mc.bintonga_mec.bin  tonga_sdma1.bin  tonga_uvd.bin
carrizo_me.bincarrizo_pfp.bin  carrizo_sdma.bin   tonga_ce.bin
tonga_me.bintonga_pfp.bin  tonga_sdma.bin   tonga_vce.bin
carrizo_mec2.bin  carrizo_rlc.bin  carrizo_uvd.bintonga_k_smc.bin
 tonga_mec2.bin  tonga_rlc.bin  tonga_smc.bin


Re: [gentoo-user] how does the bond0 i/f get set up?

2019-12-17 Thread Adam Carter
On Wed, Dec 18, 2019 at 6:12 AM  wrote:

> how does the bond0 i/f get set up?
> And why do I have it?
>

Are you using systemd? Do you have another bond interface setup on this
box?


[gentoo-user] safe use of .gnupg

2019-12-17 Thread Philip Webb
When encrypting a file, I was told :

  root:552 root> gpg -c  
  gpg: WARNING: unsafe ownership on homedir '/home/purslow/.gnupg'

The file is owned by my user, ie  : .
This seems to be the default when 'gpg' is installed.
I don't see anything insecure inside the dir.

Is the msg perhaps caused by my doing the job inside  /root ?
-- I am always aware of the need not to abuse root access ;
this is a single-user system to which no-one else has physical access.

What is the recommended set-up ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Mounting USB sticks automagically.

2019-12-17 Thread Mick
On Tuesday, 17 December 2019 21:35:11 GMT Neil Bothwick wrote:
> On Tue, 17 Dec 2019 21:29:01 +0100, Dr Rainer Woitok wrote:
> > though I currently do not  find any relevant descriptions regarding this
> > topic on the web  I must formerly have found something there,  because I
> > had set my laptop up this way, and it worked until the last reboot.
> > 
> > Either I somehow  spoiled some configuration,  upgraded some package, or
> > inadvertently changed a package's USE flag :-(
> > 
> > Can someone please guide me to rig up my box  so it again mounts plugged
> > in USB sticks automatically to "/run/media/.../"?
> 
> This is normally handled by the desktop environment, which desktop are
> you using?

And ... usually by the sys-fs/udisks package, which performs the automounting.  
If for some reason you have uninstalled udisks, then the desktop environment 
will have trouble automounting removable block devices.

-- 
Regards,

Mick

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


Re: [gentoo-user] Mounting USB sticks automagically.

2019-12-17 Thread Neil Bothwick
On Tue, 17 Dec 2019 21:29:01 +0100, Dr Rainer Woitok wrote:

> though I currently do not  find any relevant descriptions regarding this
> topic on the web  I must formerly have found something there,  because I
> had set my laptop up this way, and it worked until the last reboot.
> 
> Either I somehow  spoiled some configuration,  upgraded some package, or
> inadvertently changed a package's USE flag :-(
> 
> Can someone please guide me to rig up my box  so it again mounts plugged
> in USB sticks automatically to "/run/media/.../"?

This is normally handled by the desktop environment, which desktop are
you using?


-- 
Neil Bothwick

Deja Foobar: A feeling of having made the same mistake before.


pgpeUvkDq9buE.pgp
Description: OpenPGP digital signature


[gentoo-user] trying to upgrade some old, never upgraded image for an embedded system

2019-12-17 Thread Thomas Schweikle
trying to upgrade some old, never upgraded image for an embedded system I
ran into a problem I do not have a solution for:

!!! All ebuilds that could satisfy
">=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)]"
have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-lang/python-exec-::gentoo (masked by: EAPI 7)
- dev-lang/python-exec-2.4.6-r1::gentoo (masked by: EAPI 7)

The current version of portage supports EAPI '6'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
(dependency required by "sys-apps/portage-2.3.79::gentoo" [ebuild])
(dependency required by "portage" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Trying to unmask the given packages just does not help – it keeps telling
me about eapi versions not matching.

Searching the internet did not give any hints other than such not working.
Any idea?

I've tried:
emerge --sync
emerge -qav python
emerge -qav sys-kernel/gentoo-sources
emerge -qav sys-kernel/git-sources
emerge -qav sys-kernel/vanilla-sources
emerge -qav sys-kernel/genkernel
USE='-rsync-verify' emerge -qavO portage
emerge -qavN portage <- fails
emerge -qavuND @world <- fails too.

Any idea?

-- 
Thomas


[gentoo-user] Mounting USB sticks automagically.

2019-12-17 Thread Dr Rainer Woitok
Greetings,

though I currently do not  find any relevant descriptions regarding this
topic on the web  I must formerly have found something there,  because I
had set my laptop up this way, and it worked until the last reboot.

Either I somehow  spoiled some configuration,  upgraded some package, or
inadvertently changed a package's USE flag :-(

Can someone please guide me to rig up my box  so it again mounts plugged
in USB sticks automatically to "/run/media/.../"?

Sincerely,
  Rainer



[gentoo-user] how does the bond0 i/f get set up?

2019-12-17 Thread n952162
how does the bond0 i/f get set up?
And why do I have it?



Re: [gentoo-user] Gentoo's Python policy drives me crazy

2019-12-17 Thread Mike Gilbert
On Mon, Dec 16, 2019 at 2:07 PM Rich Freeman  wrote:
>
> On Mon, Dec 16, 2019 at 2:00 PM Helmut Jarausch  wrote:
> >
> > Today's updating involves some package which causes rebuilding
> > a package which needs Python2.7 and another one which needs
> > python_single_target_python3_8
> > required by that mysterious @__auto_slot_operator_replace_installed__
> >
> > To emerge the Python2.7 package (Scribus) I do need to set
> > PYTHON_SINGLE_TARGET="python2_7"
> > in /etc/portage/make.conf
> > which makes the whole update fail since the other packages needs
> > PYTHON_SINGLE_TARGET="python3_8"
> >
> > So, what can I brave Gentoo user do?
> >
>
> Set PYTHON_SINGLE_TARGET in package.env and not make.conf.  That is
> definitely a setting that can't be set globally.

Alternatively, you can set it in package.use:

app-office/scribus PYTHON_SINGLE_TARGET: python2_7

If the package supports several python versions, "-*" might come in handy.

app-editors/vim PYTHON_SINGLE_TARGET: -* python3_7