Re: [gentoo-user] sddm-0.16.0 does not work with plain openrc

2017-10-14 Thread Dale
Arve Barsnes wrote:
> On 14 October 2017 at 08:37, Alan McKinnon  > wrote:
>
> A quick heads-up to anyone who like me uses sddm on a plain openrc box
> with USE="-elogind -systemd" and upgrades to sddm-0.16.0 (recently
> released)
>
> That combination does not work. The xdm service starts, sddm launches,
> logs a message that doesn't look too ominous and then does ...
> nothing.
> No sddm, No X-Server. Very confusing, took me a while to solve.
>
>
> That's interesting. This combination works just fine here. Installed
> 0.16.0 Wednesday, rebooted Thursday, sddm worked as normal.
> USE="consolekit pam -elogind -systemd"
>
> Arve


I wonder if a piece of hardware, video card for example, is also needed
to trigger this issue?  Something in the kernel config maybe? 

Just a thought.  Thanks for the heads up Alan.  Nothing like expecting
something to go wrong and have a plan B handy. 

Dale

:-)  :-) 


Re: [gentoo-user] [OT] emerge default opts

2017-10-14 Thread Dale
Michael Orlitzky wrote:
> On 10/14/2017 07:25 AM, Dale wrote:
>> EMERGE_DEFAULT_OPTS="--with-bdeps y ...
> You probably don't need this one any more... you'll have to consult a
> lawyer to figure out what `man emerge` says on the matter, but IIRC, the
> --with-bdeps-auto flag (enabled by default) now does the sensible thing,
> by default, for both updates and depcleans.
>
>


My make.conf is old.  Some of the entries there could be over a decade
old.  I also have commented out a lot of really old stuff, just to see
if it does anything.   I'll go check man emerge and friends and then see
if google does anything useful.  We all know how google is.  ;-)

While at it.  Is there a tool that tells when USE flags in make.conf is
either no longer used or doesn't even exist anymore?  I googled that a
while back and didn't find anything.  I don't think the eix tools does
that either.  It does for the other /etc/portage/ files but I don't
think it touches make.conf. 

Thanks for the heads up. 

Dale

:-)  :-) 



Re: [gentoo-user] What's up with larry the cow dot org?

2017-10-14 Thread Kent Fredric
On Fri, 13 Oct 2017 20:26:04 + (UTC)
Grant Edwards  wrote:

> Appropos of nothing, I accidentaly stumbled across larrythecow.org
> today.  It's oddly baffling.  The domain is registered to "Domain
> Protection Services", and (AFAICT) has been since 2005.

Wayback suggests that until Oct 2015 it was associated with Funtoo:

https://web.archive.org/web/20151005165316/http://larrythecow.org:80/

Sometime Nov 2015 it got nuked and replaced with a page with hints of ASP

https://web.archive.org/web/20151107212839/http://larrythecow.org:80/

Jan 2016 onwards is all laptop crap.

That's all I have for now, but I'd assume the site has been hacked.

Maybe somebody at funtoo knows what's up. 


pgpfHa46PkvEQ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] [OT] emerge default opts

2017-10-14 Thread Michael Orlitzky
On 10/14/2017 07:25 AM, Dale wrote:
> 
> EMERGE_DEFAULT_OPTS="--with-bdeps y ...

You probably don't need this one any more... you'll have to consult a
lawyer to figure out what `man emerge` says on the matter, but IIRC, the
--with-bdeps-auto flag (enabled by default) now does the sensible thing,
by default, for both updates and depcleans.



Re: [gentoo-user] [OT] In search of a certain program...

2017-10-14 Thread R0b0t1
On Sat, Oct 14, 2017 at 2:51 AM, Dale  wrote:
> We tried tho.  Radiators.  Good grief.  :/
>

Q is a variable used in thermodynamics.

I am kind of disappointed myself, I remember much the same program. I
thick ended up settling for bc despite coming across it some time ago.



Re: [gentoo-user] Why I can't I build systemd without ipv6?

2017-10-14 Thread Daniel Frey

On 10/13/2017 01:58 PM, Vadim A. Misbakh-Soloviov wrote:

So, ideally, you **SHOULD NOT** disable IPv6 on your side, but shame your ISP
support line (for either broken IPv6 routing or not having VLAN per customer,
depends on the real case) instead.



I don't want to waste hours/days/weeks trying to get past tier 1 
support. I've tried this before (I've had this ISP over 10 years ago.)


Dan



Re: [gentoo-user] Re: Why I can't I build systemd without ipv6?

2017-10-14 Thread Daniel Frey

On 10/14/2017 04:05 AM, Mick wrote:

On Friday, 13 October 2017 22:55:50 BST Daniel Frey wrote:

On 10/13/2017 02:48 PM, Grant Edwards wrote:

On 2017-10-13, Vadim A. Misbakh-Soloviov  wrote:

Well, actually, you was alread adviced about some working methods of
solving your issue (both right and wrong ones, but it is anyway your
decision to take ones to use), so I'll just clarify the simple
thing:

You can suffer on such problems in relation to IPv6 **ONLY** in the
case when your ISP **DO** have IPv6 support (say, announce IPv6
preffix to you via SLAAC or DHCPv6), but having **BROKEN** IPv6
routing.


It might not be the ISP that's broken.  It might be the user's
firewall/router.  A lot of the cheap consumer models are starting to
"support" IPv6 by default when it appears to them that the ISP
supports IPv6. But, the default IPv6 firewall/router settings aren't
always usable.


I'm currently using the ISP provided router, as I don't have anything
ATM that can handle 150 mbps symmetrical.

Dan


I'm guessing the delay is due to DNS resolution missing of being misconfigured
somewhere in your/your ISPs network.  Could you tweak your router's DNS
resolver addresses to point to OpenDNS resolvers, or some such if your ISP's
are not working properly?



No, the DNS was working. It was trying to connect to a specific ipv6 
address to sync, and failing (twice.)


That's what I initially thought too, but checked name resolution and it 
was returning proper addresses.


I even thought (before I started to remove systemd from my old laptop) I 
could save time by disabling ipv6 on the ISP router (my cell phone 
suffers the same delay), but then it wouldn't even connect to their network.


Dan



Re: [gentoo-user] Why I can't I build systemd without ipv6?

2017-10-14 Thread Daniel Frey

On 10/14/2017 12:37 AM, Tom H wrote:

On Fri, Oct 13, 2017 at 5:58 PM, Daniel Frey  wrote:

On 10/13/2017 11:05 AM, Canek Peláez Valdés wrote:


Have you tried to boot the systems with  the "disable_ipv6=1" kernel
parameter?


I just tried this, and it doesn't seem to help.

# cat /proc/cmdline
disable_ipv6=1 root=/dev/md126p3 rd.auto=1 quiet rootfstype=ext4
init=/usr/lib/systemd/systemd

But:

# dmesg | grep -i ipv6
[   22.218113] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.241260] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   26.421072] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready


it's "ipv6.disable_ipv6=1" not "disable_ipv6=1".



Argh, I shouldn't have assumed that it was the full parameter. Oh well, 
on that machine, I managed to switch back to openrc. That didn't go real 
smoothly, portage couldn't figure out how to do it on it's own after 
switching profiles, it was blindly removing and rebuilding some packages 
manually that eventually made it work and not want to pull in systemd again.


After that, I was able to reconfigure the kernel without ipv6 at all... 
rebooted... and openrc Just Worked(tm) with my network issue gone.


For the other two, I'll try again but this time with the proper kernel 
parameter. That could've saved me a lot of time, but oh well.


Dan



Re: [gentoo-user] Re: Plasma5: Missing shutdown, restart and suspend button

2017-10-14 Thread Ramon Fischer
It was so obvious...

I did the following:

1) Select the respective profile according to the currently used desktop 
(kde) and init system (openrc): "eselect profile set 6"
2) Update world packages: "emerge -auDN world"
3) Follow the steps here: 
https://wiki.gentoo.org/wiki/KDE/Troubleshooting#Missing_shutdown.2Freboot.2Fsuspend.2Fhibernate_buttons_.28with_consolekit.29
4) Reboot

Thank you very much for the help!
-Ramon

On 10/14/2017 03:27 AM, Michael Palimaka wrote:

On 10/14/2017 09:25 AM, Daniel Frey wrote:


On 10/13/2017 03:10 PM, Ramon Fischer wrote:


Hello everyone,

I successfully installed Gentoo with Plasma5 for the first time on
first try (yay!) and now I am going to fix stuff and ran into an issue
with missing buttons in the kde menu as mentioned in the subject.

I followed all these instructions: https://wiki.gentoo.org/wiki/KDE
One guess is that it could be OpenRC because I actually selected the
systemd profile for kde.

I am done with my debug-fu at this point. :)

In the attachment you will find a lot of information. Customized parts
are marked with "# custom".

Thanks!
-Ramon



Are you using openrc? It is possible it's looking for systemd to provide
the shutdown and reboot options.

If you're not using systemd, switch to the non-systemd plasma profile
and issue `emerge -auDN world`.

Dan





If openrc is being used, check out this article:
https://wiki.gentoo.org/wiki/KDE/Troubleshooting#Missing_shutdown.2Freboot.2Fsuspend.2Fhibernate_buttons_.28with_consolekit.29

Another option (that works well for me) is to use elogind.






Re: [gentoo-user] emerge --emptytree : how to ?

2017-10-14 Thread Dale
Helmut Jarausch wrote:
> Hi,
> I think I'm in need of doing 
> emerge --emptytree ...
> for the first time.
> Can I do it on a running Gentoo system?
> I expected it will take several days to complete.
> This poses some problems to me.
> First, I have to shut down my machine overnight.
> Second, I haven't made good experience with --keep-going
> nor with --resume.
> What can I do if 'emerge -e ...' fails by itself or because I have to
> shut my machine down?
>
> Many thanks for some hints,
> Helmut
>
>


I do this on occasion when some update makes things go weird.  I'll look
for anyone else having the issue and if not, then I do a emerge -e world
to see if it helps. 

First, I have entries in make.conf to help make it so that it doesn't
affect what I'm doing.  I use ionice, -j and friends to do that.  I also
use --keep-going as well.  Generally, I can't tell it is doing
anything.  There is a few packages that it slows things down for a few
minutes.  It doesn't do it for the whole compile process, just a few
minutes of it.  Firefox, Libreoffice is two that I recall. I'll post
some of my make.conf items below. 

Second, you can skip certain programs, large ones for example.  You can
for example add this:  --exclude libreoffice  That will let it skip
libreoffice but keep in mind, some dependencies may be skipped as well,
if nothing else depends on them.  I haven't tested that but that's my
thinking.  Maybe someone else has more ideas on that. 

Third, I'm almost certain --resume works even after a reboot.  Just keep
in mind, if it was in the middle of a package compile, it likely will
start over from scratch.  That's my experience at least. 

Some of my make.conf entries.  You may not need all of these so edit out
what you don't want or change values if you need to.  I have a four core
CPU. 

FEATURES="-usersync -userpriv -usersandbox buildpkg sandbox parallel-fetch"

MAKEOPTS="-j5"

EMERGE_DEFAULT_OPTS="--with-bdeps y --backtrack=100 --keep-going -v -j5
--quiet-build=n -1 --unordered-display"

PORTAGE_NICENESS=5

PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"

As for the command I use, emerge -ea world.  If you have to shutdown for
a while, once you reboot, try emerge --resume and see if it works.  It
should.  I've done it before but its been a good while back.

Hope that helps.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Why I can't I build systemd without ipv6?

2017-10-14 Thread Mick
On Friday, 13 October 2017 22:55:50 BST Daniel Frey wrote:
> On 10/13/2017 02:48 PM, Grant Edwards wrote:
> > On 2017-10-13, Vadim A. Misbakh-Soloviov  wrote:
> >> Well, actually, you was alread adviced about some working methods of
> >> solving your issue (both right and wrong ones, but it is anyway your
> >> decision to take ones to use), so I'll just clarify the simple
> >> thing:
> >> 
> >> You can suffer on such problems in relation to IPv6 **ONLY** in the
> >> case when your ISP **DO** have IPv6 support (say, announce IPv6
> >> preffix to you via SLAAC or DHCPv6), but having **BROKEN** IPv6
> >> routing.
> > 
> > It might not be the ISP that's broken.  It might be the user's
> > firewall/router.  A lot of the cheap consumer models are starting to
> > "support" IPv6 by default when it appears to them that the ISP
> > supports IPv6. But, the default IPv6 firewall/router settings aren't
> > always usable.
> 
> I'm currently using the ISP provided router, as I don't have anything
> ATM that can handle 150 mbps symmetrical.
> 
> Dan

I'm guessing the delay is due to DNS resolution missing of being misconfigured 
somewhere in your/your ISPs network.  Could you tweak your router's DNS 
resolver addresses to point to OpenDNS resolvers, or some such if your ISP's 
are not working properly?

-- 
Regards,
Mick

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


[gentoo-user] emerge --emptytree : how to ?

2017-10-14 Thread Helmut Jarausch
Hi,
I think I'm in need of doing
emerge --emptytree ...
for the first time.
Can I do it on a running Gentoo system?
I expected it will take several days to complete.
This poses some problems to me.
First, I have to shut down my machine overnight.
Second, I haven't made good experience with --keep-going
nor with --resume.
What can I do if 'emerge -e ...' fails by itself or because I have to
shut my machine down?

Many thanks for some hints,
Helmut



Re: [gentoo-user] sddm-0.16.0 does not work with plain openrc

2017-10-14 Thread Arve Barsnes
On 14 October 2017 at 08:37, Alan McKinnon  wrote:

> A quick heads-up to anyone who like me uses sddm on a plain openrc box
> with USE="-elogind -systemd" and upgrades to sddm-0.16.0 (recently
> released)
>
> That combination does not work. The xdm service starts, sddm launches,
> logs a message that doesn't look too ominous and then does ... nothing.
> No sddm, No X-Server. Very confusing, took me a while to solve.
>

That's interesting. This combination works just fine here. Installed 0.16.0
Wednesday, rebooted Thursday, sddm worked as normal. USE="consolekit pam
-elogind -systemd"

Arve


Re: [gentoo-user] [OT] In search of a certain program...

2017-10-14 Thread Dale
tu...@posteo.de wrote:
>
> Hi Dale,
>
> thanks for googling qcalc from "the other side" :)
>
> The first qcalc is described as
> "QCalc today is a simple calculator for the T-Mobile Hiptop, with the 
> potential to be so much more."
> ...so since "T-Mobile" is involved it seems an app. Chances are very
> small, that this a "nerds only" application, who run a linux
> commandline on their phones... :)
>
> The second qcalc is a link to a german company, which build radiator
> installations and such (sorry, my english is limited). Their qcalc
> is a "heat dissapation and delivery calculation software" ... very
> specialized and no commandline thingy.
>
> Thanks a lot for your googling, Sir ! :)))
>
> Cheers
> Meino
>
>

Radiators.  Now that is funny.  I was hopeful that one of them would
lead to something.  I've read weird stories about how google makes
searches return different results depending on where you are. 

We tried tho.  Radiators.  Good grief.  :/

Dale

:-)  :-) 



Re: [gentoo-user] Why I can't I build systemd without ipv6?

2017-10-14 Thread Tom H
On Fri, Oct 13, 2017 at 5:58 PM, Daniel Frey  wrote:
> On 10/13/2017 11:05 AM, Canek Peláez Valdés wrote:
>>
>> Have you tried to boot the systems with  the "disable_ipv6=1" kernel
>> parameter?
>
> I just tried this, and it doesn't seem to help.
>
> # cat /proc/cmdline
> disable_ipv6=1 root=/dev/md126p3 rd.auto=1 quiet rootfstype=ext4
> init=/usr/lib/systemd/systemd
>
> But:
>
> # dmesg | grep -i ipv6
> [   22.218113] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   22.241260] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> [   26.421072] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

it's "ipv6.disable_ipv6=1" not "disable_ipv6=1".



Re: [gentoo-user] [OT] In search of a certain program...

2017-10-14 Thread tuxic
On 10/14 06:28, Dale wrote:
> tu...@posteo.de wrote:
> > On 10/14 04:02, John Campbell wrote:
> >> On 10/13/2017 08:19 PM, R0b0t1 wrote:
>  Hi all,
> 
>  thanks for all the input! :)
> 
>  I am searching for a program called qcalc. I know bc and several
>  others but -- sorry -- this time it has to be qcalc.
> 
>  Does someone knows about this specific program?
> 
>  Cheers
>  Meino
> 
> >>> I remember a "qcalc," but really it seems like I am not remembering
> >>> the name properly, and you are looking for
> >>> https://packages.debian.org/wheezy/qalc.
> >> qalc is included in sci-libs/libqalculate.  Try emerging
> >> sci-calculators/qalculate-gtk, which as far as I know is the only thing
> >> that pulls in libqalculate.
> >>
> >
> >  I am searching for a program called qcalc. I know bc and several
> >  others but -- sorry -- this time it has to be qcalc.
> >
> 
> I did a quick google and found these hits.
> 
> https://sites.math.rutgers.edu/~asbuch/qcalc/
> 
> https://sourceforge.net/projects/qcalc/
> 
> This next one isn't English but the name matches. 
> 
> http://www.q-solutions-gmbh.de/produkte/qcalc.shtml
> 
> It may be that google isn't returning those results for you for some
> regional reason or something.  Hopefully that will help.  If not, I
> tried.  ;-) 
> 
> Dale
> 
> :-)  :-) 
> 

Hi Dale,

thanks for googling qcalc from "the other side" :)

The first qcalc is described as
"QCalc today is a simple calculator for the T-Mobile Hiptop, with the potential 
to be so much more."
...so since "T-Mobile" is involved it seems an app. Chances are very
small, that this a "nerds only" application, who run a linux
commandline on their phones... :)

The second qcalc is a link to a german company, which build radiator
installations and such (sorry, my english is limited). Their qcalc
is a "heat dissapation and delivery calculation software" ... very
specialized and no commandline thingy.

Thanks a lot for your googling, Sir ! :)))

Cheers
Meino






[gentoo-user] sddm-0.16.0 does not work with plain openrc

2017-10-14 Thread Alan McKinnon
Hi

A quick heads-up to anyone who like me uses sddm on a plain openrc box
with USE="-elogind -systemd" and upgrades to sddm-0.16.0 (recently released)

That combination does not work. The xdm service starts, sddm launches,
logs a message that doesn't look too ominous and then does ... nothing.
No sddm, No X-Server. Very confusing, took me a while to solve.

Masking sddm-0.16.0 and downgrading back to sddm-0.15.0 restores
functionality. More info and the Gentoo bug report:

https://bugs.gentoo.org/show_bug.cgi?id=633920

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] [OT] In search of a certain program...

2017-10-14 Thread Dale
tu...@posteo.de wrote:
> On 10/14 04:02, John Campbell wrote:
>> On 10/13/2017 08:19 PM, R0b0t1 wrote:
 Hi all,

 thanks for all the input! :)

 I am searching for a program called qcalc. I know bc and several
 others but -- sorry -- this time it has to be qcalc.

 Does someone knows about this specific program?

 Cheers
 Meino

>>> I remember a "qcalc," but really it seems like I am not remembering
>>> the name properly, and you are looking for
>>> https://packages.debian.org/wheezy/qalc.
>> qalc is included in sci-libs/libqalculate.  Try emerging
>> sci-calculators/qalculate-gtk, which as far as I know is the only thing
>> that pulls in libqalculate.
>>
>
>  I am searching for a program called qcalc. I know bc and several
>  others but -- sorry -- this time it has to be qcalc.
>

I did a quick google and found these hits.

https://sites.math.rutgers.edu/~asbuch/qcalc/

https://sourceforge.net/projects/qcalc/

This next one isn't English but the name matches. 

http://www.q-solutions-gmbh.de/produkte/qcalc.shtml

It may be that google isn't returning those results for you for some
regional reason or something.  Hopefully that will help.  If not, I
tried.  ;-) 

Dale

:-)  :-)