[gentoo-user] Re: Permissions error on starting X.

2018-11-05 Thread Nikos Chantziaras

On 05/11/2018 18:35, Rich Freeman wrote:

On Mon, Nov 5, 2018 at 11:27 AM Nikos Chantziaras  wrote:


On 05/11/2018 17:30, Grant Edwards wrote:

On 2018-11-04, Nikos Chantziaras  wrote:

On 03/11/2018 16:01, Alan Mackenzie wrote:

The developers, in this instance, failed to raise the ebuild's version
number from 1.20.3 when making this change, and also didn't notify users
by a NEWS item, that I can see.


Emerge will catch this, no need for revbump. Unless you're not using -D
(--deep) when updating world. Which you should.


What do you mean "catch this"?

I always use -D, and the change broke my system.


I mean that a USE flag change will trigger a rebuild of the package


-D will not cause USE flag changes to trigger a rebuild of a package.

You're thinking of --newuse in this particular case. 


Oops, yes. I meant -N (--newuse). Not -D. Got confused. I always upgrade 
using:


emerge -auDN --changed-deps @world

The "N" was the important flag here, not the "D".




Re: [gentoo-user] Re: Permissions error on starting X.

2018-11-05 Thread Rich Freeman
On Mon, Nov 5, 2018 at 11:27 AM Nikos Chantziaras  wrote:
>
> On 05/11/2018 17:30, Grant Edwards wrote:
> > On 2018-11-04, Nikos Chantziaras  wrote:
> >> On 03/11/2018 16:01, Alan Mackenzie wrote:
> >>> The developers, in this instance, failed to raise the ebuild's version
> >>> number from 1.20.3 when making this change, and also didn't notify users
> >>> by a NEWS item, that I can see.
> >>
> >> Emerge will catch this, no need for revbump. Unless you're not using -D
> >> (--deep) when updating world. Which you should.
> >
> > What do you mean "catch this"?
> >
> > I always use -D, and the change broke my system.
>
> I mean that a USE flag change will trigger a rebuild of the package

-D will not cause USE flag changes to trigger a rebuild of a package.

You're thinking of --newuse in this particular case.  I'm not sure if
--changed-use would cause a rebuild if the previous flag was defaulted
to enabled and not explicitly enabled (of course, if it were
explicitly enabled you wouldn't have run into this issue).

-- 
Rich



[gentoo-user] Re: Permissions error on starting X.

2018-11-05 Thread Nikos Chantziaras

On 05/11/2018 17:30, Grant Edwards wrote:

On 2018-11-04, Nikos Chantziaras  wrote:

On 03/11/2018 16:01, Alan Mackenzie wrote:

The developers, in this instance, failed to raise the ebuild's version
number from 1.20.3 when making this change, and also didn't notify users
by a NEWS item, that I can see.


Emerge will catch this, no need for revbump. Unless you're not using -D
(--deep) when updating world. Which you should.


What do you mean "catch this"?

I always use -D, and the change broke my system.


I mean that a USE flag change will trigger a rebuild of the package, and 
the USE flag in question is shown by portage. So you'll know something 
has changed. If you went ahead and allowed it to rebuild, it would of 
course break xorg, but you'd know why since you've seen the USE flag 
change and know that the breakage most probably had something to do with 
that USE flag.





[gentoo-user] Re: Permissions error on starting X.

2018-11-05 Thread Grant Edwards
On 2018-11-04, Nikos Chantziaras  wrote:
> On 03/11/2018 16:01, Alan Mackenzie wrote:
>> The developers, in this instance, failed to raise the ebuild's version
>> number from 1.20.3 when making this change, and also didn't notify users
>> by a NEWS item, that I can see.
>
> Emerge will catch this, no need for revbump. Unless you're not using -D 
> (--deep) when updating world. Which you should.

What do you mean "catch this"?

I always use -D, and the change broke my system.

-- 
Grant Edwards   grant.b.edwardsYow! Why is everything made
  at   of Lycra Spandex?
  gmail.com




[gentoo-user] Re: Permissions error on starting X.

2018-11-05 Thread Grant Edwards
On 2018-11-03, Alan Mackenzie  wrote:
> Hello, Gentoo.
>
> HEADS UP!!!
>
> If you start your X server from the command line with, e.g. startx, you
> now need to set the new(?) suid USE flag for the xorg-server package.

Yep, I tripped over this yesterday, when all of a sudden I couldn't
start X anymore.  Thanks for the advanced notice on that one!

> The developers, in this instance, failed to raise the ebuild's version
> number from 1.20.3 when making this change, and also didn't notify users
> by a NEWS item, that I can see.

Yea, that seems like a major foul-up to me.  I had to log in as root
so that I could start X, so that I could use google to try to figure
out what went wrong.

-- 
Grant Edwards   grant.b.edwardsYow! My LESLIE GORE record
  at   is BROKEN ...
  gmail.com




Re: [gentoo-user] Re: Permissions error on starting X.

2018-11-04 Thread Daniel Frey
On 11/04/18 02:22, Neil Bothwick wrote:
> On Sun, 4 Nov 2018 03:11:45 +0200, Nikos Chantziaras wrote:
> 
>>> The developers, in this instance, failed to raise the ebuild's version
>>> number from 1.20.3 when making this change, and also didn't notify
>>> users by a NEWS item, that I can see.  
>>
>> Emerge will catch this, no need for revbump. Unless you're not using -D 
>> (--deep) when updating world. Which you should.
> 
> It didn't on my MythTV frontend, which runs X as the mythtv user, as
> xorg-server builds with -suid by default.
> 
> 

It didn't on my MythTV frontend either, I had to manually add "suid" to
package.use for it to start working again.

Dan



Re: [gentoo-user] Re: Permissions error on starting X.

2018-11-04 Thread Neil Bothwick
On Sun, 4 Nov 2018 03:11:45 +0200, Nikos Chantziaras wrote:

> > The developers, in this instance, failed to raise the ebuild's version
> > number from 1.20.3 when making this change, and also didn't notify
> > users by a NEWS item, that I can see.  
> 
> Emerge will catch this, no need for revbump. Unless you're not using -D 
> (--deep) when updating world. Which you should.

It didn't on my MythTV frontend, which runs X as the mythtv user, as
xorg-server builds with -suid by default.


-- 
Neil Bothwick

Every time I jump on the bandwagon all its wheels fall off.


pgpiRtcYXhYGN.pgp
Description: OpenPGP digital signature


[gentoo-user] Re: Permissions error on starting X.

2018-11-03 Thread Nikos Chantziaras

On 03/11/2018 16:01, Alan Mackenzie wrote:

The developers, in this instance, failed to raise the ebuild's version
number from 1.20.3 when making this change, and also didn't notify users
by a NEWS item, that I can see.


Emerge will catch this, no need for revbump. Unless you're not using -D 
(--deep) when updating world. Which you should.