[gentoo-dev] [warning] the bug queue has 99 bugs

2016-10-05 Thread Alex Alexander
Our bug queue has 99 bugs!

If you have some spare time, please help assign/sort a few bugs.

To view the bug queue, click here: http://bit.ly/m8PQS5

Thanks!



Re: [gentoo-dev] Re: grub-2 configuration

2016-10-05 Thread William Hubbs
On Wed, Oct 05, 2016 at 04:52:31PM +, Martin Vaeth wrote:
> Mike Gilbert  wrote:
> >
> > I have added an example grub.cfg to the gentoo repository.
> 
> I finally made a repository of my grub.cfg "library"
> with a correpsonding example.
> This is a more sophisticated setup with a menu where
> one can choose resolution, init-program, etc.
> 
> It can be found here:
> https://github.com/vaeth/grub-cfg-mv/
> 
> Library and exmample can also be installed by portage:
> Package sys-boot/grub-cfg-mv in the mv overlay (over layman)

Here is another good example from the previous thread.

https://archives.gentoo.org/gentoo-dev/message/6ecb120a299300c0224be6b69000191c

This example uses UUIDS/PARTUUIDS instead of BIOS disk numbers.

William



signature.asc
Description: Digital signature


[gentoo-dev] Broken file protocol after KDE 5 upgrade

2016-10-05 Thread Jörg Schaible
Hi,

after upgrading to KDE 5, all remaining KDE 4 applications report a 
broken/unknown file protocol. This means:

- cannot save attachments in KMail
- cannot open HTML files FS in Konqueror
- cannot assign covers to albums from local FS in Amarok

Does anybody know how to fix this?

Cheers,
Jörg




Re: [gentoo-dev] rfc: the demise of grub:0

2016-10-05 Thread Patrick McLean
On Thu, 6 Oct 2016 01:54:51 +1300
Kent Fredric  wrote:

> On Wed, 5 Oct 2016 06:04:38 -0500
> Rich Freeman  wrote:
> 
> > What you really want is another template file.  
> 
> I'd be happy with that. See the other thread with "grub-2" In the
> title.
> 
> > I'm happy with mkconfig, but I did hand-roll my config files before
> > that.  The docs are out there.  However, for whatever reason, it is
> > very hard to find examples of simple config files online.  The
> > official docs try to point you in the direction of mkconfig, and
> > since 99% of linux users don't configure their own grub there isn't
> > much alternative documentation (and when a distro's solution does
> > break the solution usually is based on mkconfig anyway).  
> 
> Yeah, the only reason I suggested "a tool" instead of "a template" is
> that perhaps there could be a handful of easily detectable things that
> generate a more optimal "initial" template.
> 
> Particularly with regards to getting the hard-drive numbers and stuff
> right, that's what always concerns me.

I have attached a somewhat cleaned up and commented version of the
hand-written grub config I use at home. Feel free to use as an example
for your machines, add it to the wiki and/or the handbook, or make the
ebuild install it to /usr/share etc.

One of the nice things about grub2 is that you no longer need to know
or care about the BIOS disk numbers, you can simply use the UUID of the
filesystem (and/or the PARTUUID for the kernel).

grub.cfg
Description: Binary data


[gentoo-dev] Re: grub-2 configuration

2016-10-05 Thread Martin Vaeth
Mike Gilbert  wrote:
>
> I have added an example grub.cfg to the gentoo repository.

I finally made a repository of my grub.cfg "library"
with a correpsonding example.
This is a more sophisticated setup with a menu where
one can choose resolution, init-program, etc.

It can be found here:
https://github.com/vaeth/grub-cfg-mv/

Library and exmample can also be installed by portage:
Package sys-boot/grub-cfg-mv in the mv overlay (over layman)




Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in

2016-10-05 Thread Joakim Tjernlund
On Thu, 2016-10-06 at 00:18 +0800, konsolebox wrote:
> On Wed, Oct 5, 2016 at 10:58 PM, Joakim Tjernlund
>  wrote:
> > 
> > Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to 
> > "(null)". This
> > creates a /(null) dir. with various stuff in it.
> > 
> > I am trying to find out what sets XDG_RUNTIME_DIR?
> 
> It's pam_ck_connector.so.  Also see
> https://bugs.gentoo.org/show_bug.cgi?id=588840 for details.
> 

 Got it and consolekit-1.1.0-r1 works around the issue.

 Thanks


Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in

2016-10-05 Thread Joakim Tjernlund
On Thu, 2016-10-06 at 00:04 +0800, Jason Zaman wrote:
> On Wed, Oct 05, 2016 at 03:58:44PM +, Joakim Tjernlund wrote:
> > 
> > On Wed, 2016-10-05 at 23:10 +0800, Jason Zaman wrote:
> > > 
> > > On Wed, Oct 05, 2016 at 02:58:20PM +, Joakim Tjernlund wrote:
> > > > 
> > > > 
> > > > I know this might be a bit off topic but I just want some clues
> > > > 
> > > > Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to 
> > > > "(null)". This
> > > > creates a /(null) dir. with various stuff in it.
> > > > 
> > > > I am trying to find out what sets XDG_RUNTIME_DIR?
> > > its https://bugs.gentoo.org/585688
> > > fixed in sys-auth/consolekit-1.1.0-r1
> > > 
> > > I'd forgotten to update the stablereq to that, will do it now.
> > 
> > Ah, I see that now.
> > Thou after installing sys-auth/consolekit-1.1.0-r1 I get XDG_RUNTIME_DIR
> > but no the directory is not created for root, seems to be fixed by:
> > https://github.com/ConsoleKit2/ConsoleKit2/commit/664d2fdbd966764836b1f4da2dbc5750c7f01f0f
> 
> Yep, that patch is what the -r1 bump was for. Did you remember to
> restart consolekit after updating?
> 
ehh, no. It worked after a restart(but I had to manually kill the daemon first)



Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in

2016-10-05 Thread konsolebox
On Wed, Oct 5, 2016 at 10:58 PM, Joakim Tjernlund
 wrote:
> Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to 
> "(null)". This
> creates a /(null) dir. with various stuff in it.
>
> I am trying to find out what sets XDG_RUNTIME_DIR?

It's pam_ck_connector.so.  Also see
https://bugs.gentoo.org/show_bug.cgi?id=588840 for details.

-- 
konsolebox



Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in

2016-10-05 Thread Jason Zaman
On Wed, Oct 05, 2016 at 03:58:44PM +, Joakim Tjernlund wrote:
> On Wed, 2016-10-05 at 23:10 +0800, Jason Zaman wrote:
> > On Wed, Oct 05, 2016 at 02:58:20PM +, Joakim Tjernlund wrote:
> > > 
> > > I know this might be a bit off topic but I just want some clues
> > > 
> > > Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to 
> > > "(null)". This
> > > creates a /(null) dir. with various stuff in it.
> > > 
> > > I am trying to find out what sets XDG_RUNTIME_DIR?
> > its https://bugs.gentoo.org/585688
> > fixed in sys-auth/consolekit-1.1.0-r1
> > 
> > I'd forgotten to update the stablereq to that, will do it now.
> 
> Ah, I see that now.
> Thou after installing sys-auth/consolekit-1.1.0-r1 I get XDG_RUNTIME_DIR
> but no the directory is not created for root, seems to be fixed by:
> https://github.com/ConsoleKit2/ConsoleKit2/commit/664d2fdbd966764836b1f4da2dbc5750c7f01f0f

Yep, that patch is what the -r1 bump was for. Did you remember to
restart consolekit after updating?



Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in

2016-10-05 Thread Joakim Tjernlund
On Wed, 2016-10-05 at 23:10 +0800, Jason Zaman wrote:
> On Wed, Oct 05, 2016 at 02:58:20PM +, Joakim Tjernlund wrote:
> > 
> > I know this might be a bit off topic but I just want some clues
> > 
> > Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to 
> > "(null)". This
> > creates a /(null) dir. with various stuff in it.
> > 
> > I am trying to find out what sets XDG_RUNTIME_DIR?
> its https://bugs.gentoo.org/585688
> fixed in sys-auth/consolekit-1.1.0-r1
> 
> I'd forgotten to update the stablereq to that, will do it now.

Ah, I see that now.
Thou after installing sys-auth/consolekit-1.1.0-r1 I get XDG_RUNTIME_DIR
but no the directory is not created for root, seems to be fixed by:
https://github.com/ConsoleKit2/ConsoleKit2/commit/664d2fdbd966764836b1f4da2dbc5750c7f01f0f


Re: [gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in

2016-10-05 Thread Jason Zaman
On Wed, Oct 05, 2016 at 02:58:20PM +, Joakim Tjernlund wrote:
> I know this might be a bit off topic but I just want some clues
> 
> Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to 
> "(null)". This
> creates a /(null) dir. with various stuff in it.
> 
> I am trying to find out what sets XDG_RUNTIME_DIR?
its https://bugs.gentoo.org/585688
fixed in sys-auth/consolekit-1.1.0-r1

I'd forgotten to update the stablereq to that, will do it now.

-- Jason

> 
> We auth. against Windows AD using sssd, but root is a local UNIX user 
> only(not in AD)
> 
> Any clues?
> 
>   Jocke 



[gentoo-dev] XDG_RUNTIME_DIR=(null) when root logs in

2016-10-05 Thread Joakim Tjernlund
I know this might be a bit off topic but I just want some clues

Whenever root logs in(ssh or on text console) XDG_RUNTIME_DIR is set to 
"(null)". This
creates a /(null) dir. with various stuff in it.

I am trying to find out what sets XDG_RUNTIME_DIR?

We auth. against Windows AD using sssd, but root is a local UNIX user only(not 
in AD)

Any clues?

  Jocke 


Re: [gentoo-dev] grub-2 configuration

2016-10-05 Thread Mike Gilbert
On Wed, Oct 5, 2016 at 1:09 AM, Kent Fredric  wrote:
> On Wed, 5 Oct 2016 17:46:29 +1300
> Kent Fredric  wrote:
>
>> On Tue, 4 Oct 2016 22:34:11 -0500
>> William Hubbs  wrote:
>>
>> > You don't have to use grub-mkconfig. You can write /boot/grub/grub.cfg
>> > by hand if you want, and it appears that the syntax is documented in the
>> > grub info pages.
>> >
>> > William
>>
>> Just saying, it would be really nice to have some documented example cases
>> ship with grub-2, like it did with grub:0
>>
>> grub-2 via qlist grub | grep -i conf
>>
>> Its pretty clear which of these we're getting pushed to use.
>
>
> There does however exist a /usr/portage/sys-boot/grub/files/grub.conf.gentoo 
> on my system,
> It just has to be
>
> a) Updated to stay relevant
> b) Placed in a place I expect to find it
> c) Be referenced in the grub-2 post-install messages or at very least, more 
> prevalent in
> https://wiki.gentoo.org/wiki/GRUB2_Quick_Start
>
> Because encouraging everyone to use it the way that has clearly seen
> resistance in gentoo doesn't seem to be helping.
>
> Though I do see the documentation is better than it was when I
> switched, the message that you can use a simpler configuration scheme
> is not prevalent enough for people to be noticing it.

I have added an example grub.cfg to the gentoo repository.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec629c23a6e8cf6c18fa51d69ae11932c7ada3cc

Please feel free to commit any obvious improvements or corrections. If
you have a common scenario you would like to see added, feel free to
ping me about it.



Re: [gentoo-dev] rfc: the demise of grub:0

2016-10-05 Thread Kent Fredric
On Wed, 5 Oct 2016 06:04:38 -0500
Rich Freeman  wrote:

> What you really want is another template file.

I'd be happy with that. See the other thread with "grub-2" In the title.

> I'm happy with mkconfig, but I did hand-roll my config files before
> that.  The docs are out there.  However, for whatever reason, it is
> very hard to find examples of simple config files online.  The
> official docs try to point you in the direction of mkconfig, and since
> 99% of linux users don't configure their own grub there isn't much
> alternative documentation (and when a distro's solution does break the
> solution usually is based on mkconfig anyway).

Yeah, the only reason I suggested "a tool" instead of "a template" is
that perhaps there could be a handful of easily detectable things that
generate a more optimal "initial" template.

Particularly with regards to getting the hard-drive numbers and stuff
right, that's what always concerns me.


pgpcmDSP8mKcS.pgp
Description: OpenPGP digital signature


Re: [gentoo-dev] rfc: the demise of grub:0

2016-10-05 Thread Rich Freeman
On Tue, Oct 4, 2016 at 9:57 PM, Kent Fredric  wrote:
> On Tue, 4 Oct 2016 22:22:12 -0400
> Rich Freeman  wrote:
>
>> How do you generate your grub-0 config files?
>
> I didn't, it came as a stock example file with comments which I edited
> in a minimal fashion until it worked.
>

Not a surprise, that is how most did it.

>>
>> You can just use the same method to generate the grub-2 ones...
>
> No, I regenerated it with mkconfig, replacing the file.

And that is my point.

In the past you were given a template file and some instructions and
simply edited it.

Now you're given a fancy file-generator tool which you don't like.
So, instead of a template file you ask for another simpler
file-generator tool, which I think is the wrong approach.

What you really want is another template file.

I'm happy with mkconfig, but I did hand-roll my config files before
that.  The docs are out there.  However, for whatever reason, it is
very hard to find examples of simple config files online.  The
official docs try to point you in the direction of mkconfig, and since
99% of linux users don't configure their own grub there isn't much
alternative documentation (and when a distro's solution does break the
solution usually is based on mkconfig anyway).

Unfortunately, I deleted the last copy of my manually-generated config
files eons ago, otherwise I'd happily post one.  The syntax is ALMOST
identical to grub-0, but not quite.  The syntax is documented though,
and you can get a sense for how it works in the mkconfig-generated
ones, but I'll go ahead and point out that 99% of the stuff in those
is unnecessary.  The essential elements are basically the same as they
were before.

-- 
Rich