[gentoo-user] Re: Lowest common denominator compile

2017-09-04 Thread Ian Zimmerman
On 2017-09-04 13:55, Grant wrote:

> ansible does sound pretty cool.  I'll check it out if I outgrow my
> script but as long as I can keep using Dell XPS 13 laptops I don't
> think it will have any trouble scaling.

For those dug in minimalists among us, there is also app-admin/cdist.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Lowest common denominator compile

2017-09-05 Thread Ian Zimmerman
On 2017-09-05 06:54, Grant wrote:

> Have you tried ansible?

ansible was in use at one of my jobs.

I feel that it is overkill for my personal use, and possibly for yours.

OTOH, your case _is_ different from mine: I don't admin PCs for other
folks to use.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Sendmail confused by network change

2017-09-20 Thread Ian Zimmerman
On 2017-09-20 11:45, Bas Zoutendijk wrote:

> When I boot at home, Cron sends mail to root@hostname.homedomain.
> ‘homedomain’ is automatically added to all host names on my home
> network by the router.  It can only be resolved inside the network; it
> is not a registered domain name.  I can receive mail from Cron just
> fine.
> 
> When I boot at work, Cron sends mail to root@hostname.  Note that the
> domain name ‘workdomain’ is not added to the host name.  I can still
> receive Cron mail.  However, when I take the laptop home without
> rebooting and connect to the home network, Sendmail is unable to
> deliver the Cron mail for root@hostname.homedomain and sends
> notifications of this to root@hostname.homedomain, which somehow do
> seem to arrive without problems.  The error message is “config error:
> mail loops back to me”.

According to crontab(5), you can configure where the mail is sent, by
setting the MAILTO variable in the crontab file.  [This is for cronie, I
am not sure if other cron variants do this.]  So, you could tell it to
send to ; presumably this would solve the problem.

Despite being one of the retro/traditionalist guys on this list, I have
to say installing sendmail just for this purpose doesn't seem
proportionate.  Even if you don't want to look into the smallish MTA
packages (nullmailer etc.), you can make /usr/sbin/sendmail to be a
pretty trivial script (or a link to one) that just locks the destination
mailbox and appends the input to it.  Heck, procmail could do that.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Multiple network interfaces and openrc

2017-09-20 Thread Ian Zimmerman
When I add multiple net.* services to a single runlevel (basic example:
both a net.en* and a net.wl* service in default runlevel), it has a
surprising and undesirable effect: when I bring one of them down by
stopping the service, dnsmasq also gets stopped.

It is as if openrc thinks dnsmasq "depends" in the openrc sense on
_both_ the net.* services, instead of just one.  Is there a way to hack
the dependency machinery to teach openrc the right way?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Pure Data (Pd) can't access ALSA device

2017-09-22 Thread Ian Zimmerman
On 2017-09-22 23:13, Lasse Pouru wrote:

> I don't (and won't) use PulseAudio and haven't set up dmix or anything
> like it. The weird thing is the simultaneous audio works with every
> other program I use (Qutebrowser, mpd, Audacity etc.) -- it's only Pd
> that gives the error.

AFAIK dmix has been the default output for libasound for quite a while.
Normally you don't have to set up anything for dmix to be used - that's
why your other programs work, I think.

Maybe pd is trying to use the underlying sound card directly as a
libasound output?  I don't know abything about puredata, unfortunately.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Changing dependencies without upping version ??

2017-09-24 Thread Ian Zimmerman
I think this is the first time a package tried to play this trick on me:

--- /var/db/pkg/dev-libs/qcustomplot-1.3.2/qcustomplot-1.3.2.ebuild 
2017-05-21 13:38:15.482740587 -0700
+++ /usr/portage/dev-libs/qcustomplot/qcustomplot-1.3.2.ebuild  2017-09-22 
19:27:30.0 -0700
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,19 +14,13 @@
 SLOT="0"
 LICENSE="GPL-3"
 KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
-IUSE="qt5"
+IUSE=""
 
 RDEPEND="
-   !qt5? (
-   dev-qt/qtcore:4
-   dev-qt/qtgui:4
-   )
-   qt5? (
-   dev-qt/qtcore:5
-   dev-qt/qtgui:5
-   dev-qt/qtprintsupport:5
-   dev-qt/qtwidgets:5
-   )
+   dev-qt/qtcore:5
+   dev-qt/qtgui:5
+   dev-qt/qtprintsupport:5
+   dev-qt/qtwidgets:5
 "
 DEPEND="${RDEPEND}"
 
@@ -42,7 +36,7 @@
 }
 
 src_configure() {
-   use qt5 && eqmake5 || eqmake4
+   eqmake5
 }
 
 src_install() {


Is this an officially approved technique??  it is DIRTY.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Changing dependencies without upping version ??

2017-09-24 Thread Ian Zimmerman
On 2017-09-24 21:05, Neil Bothwick wrote:

> If the change doesn't affect the installed code, it is encouraged to
> avoid unnecessary rebuilding.
> 
> For example, a new version of LibreOffice or Chromium depends on
> libfoo, but the dev doesn't notice and already has libfoo installed so
> it works for him. You also have it installed so the upgrade works for
> you, then it fails for me and I file a bug report. If the dev
> revbumped the ebuild, you would have to spend a couple of hours
> rebuilding Chromium to get exactly the same code you had before. By
> not revbumping it, he fixes the problem for me without inconveniencing
> you.

I see, but of course in this case the effect would be exactly the
opposite - forcing me to rebuild the core qt packages and everything
that depends on them.  And if this was not a mistake, it must have been
clear that would happen.

It feels like a sneaky way to finally get the few remaining qt4 stragglers
out of the way.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Changing dependencies without upping version ??

2017-09-25 Thread Ian Zimmerman
On 2017-09-25 22:24, Michael Palimaka wrote:

> I see a few complaints in this thread, but nobody so far has
> elaborated on the problem they have with this change.

The problem is that if I want to complete the upgrade the way portage
suggests, I have to (newly) allow in and time-consumingly build _all_
the qt5 core libraries, since they depend on one another in nearly
circular fashion, and the updated qtcustomplot becomes the "camel's
nose".

I dealt with this by unmerging the few qt using apps I had installed and
finding alternatives for them.  Some of the alternatives are inferior,
but it beats this "eternal transition" qt stuff.  I'll make a prediction
but I don't expect anyone to bet: by the time all useful packages
migrate to qt5, the qt6 transition will already be in full swing.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.




[gentoo-user] Re: Changing dependencies without upping version ??

2017-09-26 Thread Ian Zimmerman
On 2017-09-26 22:01, Michael Palimaka wrote:

> If the only argument is you don't want to upgrade, I'm afraid there's
> not much we can do to help you.

You're right that I don't want to upgrade, and I have already explained
my workaround for that.  But that is _not_ what I'm complaining about in
this thread.  Rather, my complaint is that such a major change is hidden
in an ebuild edit with no version/revision bump, which means I cannot
use the normal means (ie. package.mask) to prevent it.  Before I decided
to drop Qt completely, I had to make a local package of qtcustomplot in
my own repo.

Surely there are other reasons against this kind of thing?  What if
someone reports a bug in the package?  Now you don't know from the
version/rev number if it's linked with Qt4 or Qt5.  Is that not
important?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Changing dependencies without upping version ??

2017-09-26 Thread Ian Zimmerman
On 2017-09-27 02:38, Kai Krakow wrote:

> If you don't want (or cannot) upgrade, you have two options:
> 
>   1. Prepare to maintain your own overlay and deal with it
> 
>   2. Don't use a rolling release distribution
> 
> Personally, and since you seem to know enough to manage your own
> overlay, I'd stick to #1.

I do so already, and in fact my initial workaround was to fork the
ebuild in my repo, pretty much like you recommend.

But I didn't know that this was the official way of stopping upgrades.
I thought package.mask was that, and I think that's what the Handbook
(or maybe some other part of the wiki) recommends.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] ephemeral keyword override?

2017-10-03 Thread Ian Zimmerman
When I'm thinking about installing a package, I can say

USE='foo' emerge -p some-cat/some-package

to see what would happen, without changing any /etc files.  Is there a
similar way to specify a keyword override, without changing
/etc/portage/package.accept_keywords?  Something along the lines of

ACCEPT_KEYWORDS='<=some-cat/some-package- ~amd64' \
USE='foo' emerge -p some-cat/some-package

or am I dreaming?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: ephemeral keyword override?

2017-10-03 Thread Ian Zimmerman
On 2017-10-03 17:51, Neil Bothwick wrote:

> > When I'm thinking about installing a package, I can say
> > 
> > USE='foo' emerge -p some-cat/some-package
> > 
> > to see what would happen, without changing any /etc files.  Is there a
> > similar way to specify a keyword override, without changing
> > /etc/portage/package.accept_keywords?  Something along the lines of
> > 
> > ACCEPT_KEYWORDS='<=some-cat/some-package- ~amd64' \
> > USE='foo' emerge -p some-cat/some-package
> 
> ACCEPT_KEYWORDS="~amd64" emerge somepkg

Thanks for the reply, I did learn something new from it.  Nonetheless it
should be quite obvious that it does something different from what I was
"dreaming".

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: ephemeral keyword override?

2017-10-03 Thread Ian Zimmerman
On 2017-10-03 21:14, Neil Bothwick wrote:

> > > > ACCEPT_KEYWORDS='<=some-cat/some-package- ~amd64' \
> > > > USE='foo' emerge -p some-cat/some-package  
> > > 
> > > ACCEPT_KEYWORDS="~amd64" emerge somepkg  
> 
> You included the package atom on the env var, al la
> /etc/portage/package.* syntax, which you should have included only the
> setting.

The difference is that in my hypothetical syntax, the unfiltering is
scoped _only_ to the specific package I am installing, and not to any of
the dependencies.  I should have said so explicitly, sorry for that.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Block multiple IP addresses; iptables or route...reject?

2017-10-04 Thread Ian Zimmerman
On 2017-10-04 17:21, Alan McKinnon wrote:

> I'd suggest you use a packet filter, but not on Linux and certainly not
> iptables. That thing is a god-awful mess looking like it was built by
> unsupervised schoolkids masquerading as internes. The best tool for this
> is the pf packet filter, but it runs on FreeBSD. Get yourself a spare
> machine, load pfsense on it (it's an appliance like wrt) and drop the
> traffic from all offensive addresses. Drop, not reject.

FWIW, I have considered doing what you suggest here, but the problem
with pfsense (and its fork opnsense as well) is it only runs on x86; I
think one of them won't even run on amd64, or perhaps the other way
around.  But definitely no arm at cetera, so you can't install them on a
Pi or something.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: eth over usb

2017-10-05 Thread Ian Zimmerman
On 2017-10-05 21:39, p...@xvalheru.org wrote:

> I'm installing gentoo on new laptop which doesn't have eth slot. I
> have i-tec usb-eth adapter which works fine (tested on linux live
> distribution).

Can you get 100Mbit/s with it?

The laptop I use also has no ethernet.  I bought a USB dongle for that
but it turns out it can only do the original 10Mbit/s, half-duplex; much
slower than wifi and even somewhat slower than the WAN connection here.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Tab stepping order in Pale Moon

2017-10-09 Thread Ian Zimmerman
On 2017-10-09 10:31, Peter Humphrey wrote:

> Recent discussion of Pale Moon has inspired me to try it (actually
> www- client/palemoon-bin). It seems fine, except for one annoying
> feature. I usually have several tabs open at a time and I want to step
> between them with the keyboard, but it has a bizarre method of
> deciding which tab to go to next. I've had a look in about:config but
> not found anything relevant.
> 
> Is there a way to fix the stepping so that it goes 1, 2, 3, 4, ... ?

Which key are you trying to use for this?

I use either Control+PageUp/PageDown to move in cyclic fashion, or
Alt+1, Alt+2 etc. to switch directly to a particular tab.  Both work as
I expect.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Slightly OT: FreeBSD migration, what to do with /usr/local

2017-10-11 Thread Ian Zimmerman
I think I have written here previously that I want to move my _server_
to FreeBSD.  I am still thinking about that.  But now I hit an
obstacle.  For a long time, I have put my local kiddie scripts in
/usr/local.  For better or worse, they are written in my dense style
where any code duplication is avoided, and so they call one another a
lot.

But as you know FreeBSD directory hierarchy is different: /usr/local is
for Packages and Ports.  I must move my scripts somewhere else to not
conflict with P & P.  So the first problem is to come up with a
location.  What does a typical BSD admin do in this situation?  I don't
want to put them in my home directory because they're general purpose;
at the very least I use them both as root and as an unprivileged user.

A more serious problem is how to find all the situations where
/usr/local is baked in.  It's not as simple as grep because when I
could, I relied on the implicit PATH which would be configured somewhere
else, or it might not even be configured - it might be compiled in (I
think this is the case for some programs in the shadow package, and
perhaps PAM modules).

I don't think I can expect a simple answer, but if you ever faced such
transition yourself, how did you approach it?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Slightly OT: FreeBSD migration, what to do with /usr/local

2017-10-12 Thread Ian Zimmerman
On 2017-10-12 08:36, Alan McKinnon wrote:

> > A more serious problem is how to find all the situations where
> > /usr/local is baked in.  It's not as simple as grep because when I
> > could, I relied on the implicit PATH which would be configured
> > somewhere else, or it might not even be configured - it might be
> > compiled in (I think this is the case for some programs in the
> > shadow package, and perhaps PAM modules).
> 
> Not sure what the context is here. Are you talking about packages and
> ports code, or your own stuff you compiled yourself?
> 
> Either way, what problem were you asking about by writing that
> paragraphs?

GNU/Linux packages that set the PATH, on which my script stuff ends up
relying.  If I just move my scripts to, say, /opt/foobar, and edit the
all the occurences of "/usr/local", something will still break because a
script that is found now by virtue of the ambient PATH won't be found in
the new world.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: FreeBSD migration, what to do with /usr/local

2017-10-12 Thread Ian Zimmerman
On 2017-10-12 07:11, Thomas Mueller wrote:

> You could possibly copy Gentoo scripts to /usr/local/gentoo-scripts,
> or would that not work with your scripts as set up?
> 
> You would have to be careful setting up your PATH in .profile and
> /etc/profile , to make sure it includes the proper LOCALBASE.

But this is not enough: this is exactly what I mean in my penultimate
paragraph.  What about cron, for example?  I think the Linux crons put
/usr/local/{bin,sbin} in the PATH of the jobs.  Now I have to worry
about the new location also being included.

Similarly with ssh (when not interactive, so .profile is not read), and
so on yada yada.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: monit and friends.

2017-10-16 Thread Ian Zimmerman
On 2017-10-16 14:11, Alan McKinnon wrote:

> My needs here are pretty simple:
> local watchdog that checks if a program is running and restart it if
> not. If that fails 3 times or so, alert me.
> Maybe a few file/dir/fifo monitors as well. Not much else.
> 
> I don't need any of monit's graphing features or M/monit, I have other
> tools for that. And mostly don't even need it's http API either.

supervisor (aka supervisord)

http://supervisord.org/

python based, not sure if that's okay with you

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] The uselessness of equery

2017-10-16 Thread Ian Zimmerman
~$ time equery -Cq b /usr/bin/equery
app-portage/gentoolkit-0.4.0

real0m27.594s
user0m8.780s
sys 0m0.456s

Has anyone a better way?  As Alan recently wrote in a different but
related context, surely a hack in bash / awk /perl would do better, and
that's what I'll do if I must, but I can't believe gentoo lacks a usable
tool for questions like this.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Mutt not displaying encrypted attachments

2017-10-17 Thread Ian Zimmerman
On 2017-10-17 11:49, Mick wrote:

> Lucas may want to try these settings which seem to work here, but I am
> no mutt guru to know if they are optimal:

I'm now a neomutt user and this may make a difference, but ...

> set crypt_use_gpgme

This should make all the rest redundant at best, and conflicting at worst.

> set pgp_use_gpg_agent = yes
> 
> set pgp_decode_command="gpg --status-fd=2 %?p?--passphrase-fd 0? --no-verbose 
> --quiet --batch --output - %f"

... etc ...

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Key reinstallation attack on WPA2 - new vulnerability discovered

2017-10-19 Thread Ian Zimmerman
On 2017-10-19 15:39, Lucas Ramage wrote:

> LEDE has already patched this issue.

Indeed, and this made me try them for the first time.  It was totally
painless and I can recommend it.  OTOH some other router oriented
distros seem lagging behind, or don't even have a stable upgrade
mechanism in place [cough .. openwrt].

> android? I doubt my phone would be getting an update if I wasn't running
> lineageos.

My tablet is 4 years old.  When I asked on IRC how to get lineageos on
it, the answer was brief: "Get a new device".

Well, I turned it into a media player with no network connection
some time before that, so no big loss.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: Mutt not displaying encrypted attachments

2017-10-20 Thread Ian Zimmerman
On 2017-10-20 10:08, Mick wrote:

> I suspect something in my configuration has deviated from vanilla and
> this is causing the problem of 'set crypt_use_gpgme' not being enough.
> This is what I'm running here:

> mail-client/mutt-1.7.2

> I haven't tried troubleshooting gpgme when running mutt to see what
> the logs spew out.  xsession-errors and syslog does not reveal
> anything.  I should give this some attention when I get a free moment.

Classic mutt had known problems in this area.  For example, from the
mutt.org frontpage:

 Mutt 1.8.2 was released on April 18, 2017. This is a bug-fix release,
 fixing a regression involving GnuPG agent in the 1.8.1 release.

You may want to try upgrading to latest (1.9.1), or to neomutt if you
feel like an adventure.

Otherwise, if you really want to debug your current configuration, I
would start by commenting out the gpgme line.  That should give you the
original environment where mutt interacts with GPG directly; one fewer
variable to consider.  Then, once you get that working, uncomment gpgme
and comment out all the hairy gpg command lines.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: How to set up claws mail

2017-10-20 Thread Ian Zimmerman
On 2017-10-20 15:50, Peter Humphrey wrote:

> > In the response to the STAT command, the server says there is no mail.
> 
> Then it's wrong, or else something in my config is wrong.
> 
> > What is it that you expect claws to do when there is no mail?
> 
> The same as KMail does when I run it just afterwards.

I was a claws user once but now it's a distant memory.

Is there something else on your system that checks for new mail, like a
notifier pop-up or an icon in your DE?  If so, it is possible that this
makes the mail appear "old" to POP, and that claws is interested (maybe
by default) only in new mail.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Slightly OT: palemoon cloudless, rodent-less bookmark sync

2017-10-23 Thread Ian Zimmerman
palemoon on gentoo users may find this discussion interesting.  I just
found the key part of the solution.

https://github.com/MoonchildProductions/Pale-Moon/issues/1303

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-10-29 Thread Ian Zimmerman
On 2017-10-29 09:16, Michael Orlitzky wrote:

> Do you need something smarter? Install anacron, fcron, cronie, or
> whatever. But the worst thing we can do is try to mimic those
> intelligent crons and have it fail to do so randomly. That's still
> your best option, by the way: rewrite your crontab to avoid run-crons,
> and install a smart cron implementation that does what you want.

I was glad to find run-crons on gentoo when I migrated from debian,
which does (and always has done, AFAIR) what you suggest.  The main
reason was that anacron is also _stupid_: it thinks all months are 30
days.  If you schedule a monthly job with anacron, it will run on
January 1st, then on January 31st, then on March 2nd (in most years!)
etc.  Which may not be too bad when you consider one host by itself,
but the schedule will get all out of sync with other hosts if they run
real (non-anacron) monthly cronjobs.

So, for hosts that are not up 24h per day, anacron is _not_ a full
solution.  Something like run-crons is needed.  If the gentoo
implementation is too opaque or buggy, it should be rewritten, not
discarded.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] mostly OT: qemu sparc64 emulation

2017-10-30 Thread Ian Zimmerman
I built the gentoo qemu package [1] with support for a couple of non-x86
arches.  Trying the sparc64 one, I installed FreeBSD-11.1 into it.  It
kind of works, but:

1.  It's very slow - I estimate about 5x-10x slower than an emulated x86_64,
also running FreeBSD-11.1.

2.  1 processor on the host (a 4-way Phenom) is always at 100%, even
when the guest is completely idle.  This makes me think there is a
virtual interrupt line that is always on, and this probably is the cause
of #1.  Again, this doesn't happen when the guest CPU is x86_64.

3.  There is no emulated network device.  This could be related to the
ne2k_pci issue mentioned at [2].  I'd be willing to debug this, _if_ it
were not for #1 and #2 ...

anyone has a guess what is happening here?

[1]
the one in gentoo "stable" i.e. app-emulation/qemu-2.10.0

[2]
https://wiki.qemu.org/Documentation/Platforms/SPARC

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-01 Thread Ian Zimmerman
On 2017-11-01 10:25, Marc Joliet wrote:

> It's nice that anacron apparently sucks, but what about fcron and
> cronie?  I've always wondered why people who need these features don't
> just one of those.  Is there any reason not to?
> 
> (FTR: I used fcron for several years before migrating to systemd
> timers specifically because of its support for running missed jobs.)

I actually run cronie, and AFAICT it has no built-in anacron-like
offline schedule support, claims in the Handbook/wiki notwithstanding.
The writer of those claims may have been misled by run-crons :-)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-01 Thread Ian Zimmerman
On 2017-11-01 13:42, Michael Orlitzky wrote:

> If you build cronie with USE=anacron, I think it also comes with an
> "anacron" executable:
> 
> https://github.com/cronie-crond/cronie/blob/master/README.anacron

I see, you're quite right.  The flag is off here, probably because I
built it when I was bootstrapping gentoo as a total newbie and never
updated it.

I'll investigate if it is smarter than the standalone anacron.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-03 Thread Ian Zimmerman
On 2017-11-03 02:53, Kai Peter wrote:

> 2. the shell script have to do some checks, e.g. the last run - I did
> wrote a small 'include' script for that

Isn't your 'small include script' just another implementation of run-crons?

If not: how does it handle _missed_ jobs, if at all?

If you want to run a monthly job on a host that is not always on, do you
have to pretend it's an hourly job and check in the script itself?

> Thus it's portable. The job have to be done once.

If you want your _entire_ configuration to be portable, and my above point
about monthly schedule sticks, then you have to ignore the monthly
feature of all the crons on all your systems, because you cannot rely on
it in any one system.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-04 Thread Ian Zimmerman
On 2017-11-04 01:39, Kai Peter wrote:

> > If you want to run a monthly job on a host that is not always on, do
> > you have to pretend it's an hourly job and check in the script
> > itself?
> 
> This is a special case to me. IMHO special cases have to be handled
> special or much better: avoid it.

Sorry, I don't get this.  How do you avoid this situation?  By not
having any monthly jobs?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Ian Zimmerman
On 2017-11-05 07:11, Rich Freeman wrote:

> But, I agree that it makes far more sense to just have desktop users
> use an appropriate cron implementation designed to handle the machine
> being off most of the time vs trying to use shell scripting to make
> vixie cron into such an implementation.
> 
> FWIW this is probably the reasoning behind including cron-like
> functionality in systemd, and having it support optionally running
> jobs if the system was down during a calendar-based event.  It was
> considered bare-bones functionality that any desktop or generic server
> would need.

If Kai is right that fcron handles it, the reason is probably systemd
people thought that had to match the functionality to be considered a
full replacement.  Especially since fcron is the normal system cron on
Fedora/RH, right?

> I personally use systemd-cron which basically is a wrapper+generator
> around /etc/crontab and the various /etc/cron.*/ scripts.

If your dislike for having this in cron itself comes down to shell
script vs. C code, and it appears so from the above, I'm not at all sure
I agree.  This to me seems one of the few tasks where shell script is in
fact a good fit: mainly looking at files, timestamps, and running other
programs. 

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Ian Zimmerman
On 2017-11-05 14:22, Rich Freeman wrote:

> Second, my actual objection is more to sticking wrappers around an
> upstream program just to extend its capabilities, when other software
> is maintained upstream that already does what you're re-inventing.
> When you already have 47 different cron implementations out there, I'm
> not sure it adds a lot to have a distro-specific solution.  The distro
> should certainly be providing stuff like /etc/cron.*/ and the scripts
> inside when upstream isn't providing them.  By all means include a
> stock wrapper /etc/crontab that runs that stuff at set times for those
> running 24x7 with vixie cron.  If run-scripts was implemented in
> python instead of shell this objection wouldn't go away.

I really want to stop prologing the agony of this thread, but I just
have to point out that when you install cronie with the anacron flag (as
I just did, if only to know what I'm talking about), you _still_ get a
wrapper: it's called /etc/cron.hourly/0anacron.  Simpler than run-crons
for sure, but the principle is the same.

After all distros exist for a reason (over and above building packages).
If upstreams always did the glue job right, a bot could handle all the
package builds and you gentoo devs could go home ;-)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-05 Thread Ian Zimmerman
On 2017-11-05 21:40, Alan McKinnon wrote:

> Agreed again. My desktop cronjobs are all empty and when I had some
> they were of the "do this once a week or once a day" variety. I didn't
> care when they ran, just that they did every so often

What about the synchronization and predictability aspect, which I
mentioned in my 1st entry in this thread?

I want _all_ my machines to do a full fsck when I turn them on the 1st
of a month.  (if a month seems too long, substitute "Sunday").  Anything
else is madness.

And yeah, desktops matter to me.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: FYI: Daily / weekly / monthly cron jobs run twice on DST - non-DST transition

2017-11-06 Thread Ian Zimmerman
On 2017-11-05 17:17, Rich Freeman wrote:

> Distros will always have to do integration work, and that is fine.
> That is the role of a distro.  And sometimes distros have to roll
> their own tools when they just aren't available.  Once upon a time
> service managers fell into that category.  Now this is less the case.

What's a service manager?  Is making cron care about missed jobs service
management, but running daily/weekly/monthly jobs isn't?  I'd find such
a distinction quite tenuous.

> There is of course nothing wrong if people want to implement things.
> I just tend to prefer to stick with stuff that has an upstream that is
> bigger than one distro.

Well that's another thing.  I will tend to agree when upstream is an
independent project.  But here the development seems to be driven 99% by
RedHat.  Look at the ChangeLog.

I know of another project that's bigger than a distro ... now that it
forced its way into all the others.

And now I really shut up!

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Linux USB security holes.

2017-11-08 Thread Ian Zimmerman
On 2017-11-08 05:53, J. Roeleveld wrote:

> From what I read, you need physical access.

According to Solar, for whom I have developed great respect, this is not
necessarily so:

http://www.openwall.com/lists/oss-security/2017/11/08/5

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Help...can't decipher emerge oracle...

2017-11-15 Thread Ian Zimmerman
On 2017-11-15 18:40, Neil Bothwick wrote:

> Why is it trying to install the  version? Is that unmasked?
> 
> Are you running stable or testing?
> 
> What does "grep -r glibc /etc/portage" say?
> 
> I don't think you posted the command that started all of this?

For some reason, these horrible dependency dumps never seem to happen to
me.  Why is that?  Maybe because I run a "mostly stable" system?  I do
have some very few "testing" packages enabled (ie. with ~amd64 flag).
They all fit into a single terminal screen.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Annoying X server message

2017-11-16 Thread Ian Zimmerman
I run X the stone age way with startx/xinit.  Each time I switch to
another VT with Alt-Ctl-Fn, X mutters this on the original VT:

Suspending AIGLX clents for VT switch

and then a similar one when I switch back.  This happens when the
original VT is in raw mode, apparently, so the terminating newline is
not cooked and I get the staircase effect, messing up the display (after
I return from X) and wasting screen space.

Can I silence these messages?  I tried adding "-logverbose 2" to my
server init file, that didn't help.  IIRC I cannot redirect the output
to /dev/null or anywhere else because X looks at stdout/stderr and makes
inferences from where they point.

Maybe I ought to try -logverbose 0 ?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] scope of user patches via epatch

2017-11-18 Thread Ian Zimmerman
Is there any way to make the patches under /etc/portage/patches
applicable to more than a single exact version of each package?  Right
now, every time I emerge -u I have to check if I have patches for a
package on the updated list, and if so make a new subdirectory for the
new version and copy or link the patches there [1].  This is a chore I
could live without.  So my question is if there's any wildcard mechanism
to match multiple versions.

[1] Some fail to apply of course but that's ok, still less work to see
which ones fail than to try checking separately each patch if it applies
or not.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Just when is portage/bashrc sourced?

2017-11-23 Thread Ian Zimmerman
Package P bypasses applying user patches (by not calling
default_src_prepare).  I have patches I need to apply to P, and in this
case I really don't want to fork the ebuild.  So, I'm hell bent on
doing it the hacky way with /etc/portage/bashrc (which, IIRC, I have
been told on this list not to do, but now I don't have much choice).

To make it work I need to know how the bashrc file is spliced into the
ebuild.  For a given ebuild phase PH, does the bashrc code come before
the rest of PH, after PH, or does it replace PH?  wiki and even the dev
guide are silent about this.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Looking for a pre-compiled Linux distribution

2017-11-23 Thread Ian Zimmerman
On 2017-11-23 18:11, Helmut Jarausch wrote:

> I'd like to recommend a Linux distribution to someone who needs an as
> simple Linux distribution as possible.

> Since I am going to help that person from time to time, it should be
> as similar as possible to Gentoo.

"simple" has multiple meanings.

For at least one possible meaning, I recommend devuan.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Just when is portage/bashrc sourced?

2017-11-24 Thread Ian Zimmerman
On 2017-11-24 08:32, Neil Bothwick wrote:

> > Package P bypasses applying user patches (by not calling
> > default_src_prepare).  I have patches I need to apply to P, and in
> > this case I really don't want to fork the ebuild.  So, I'm hell bent
> > on doing it the hacky way with /etc/portage/bashrc (which, IIRC, I
> > have been told on this list not to do, but now I don't have much
> > choice).
> 
> You do have a choice, use /etc/portage/env. here's one I have to patch
> a specific version of a package
> 
> % cat env/app-cdr/cdrdao-1.2.3
> post_src_unpack() {
> cd "${S}"
> epatch_user
> }

Again IIRC, when I tried using env for a similar purpose, it didn't work
at all, it seemed the only things valid in those files were variable
assignments.  If possible, I would of course much prefer this way, as is
avoids an ugly switch on the package name.

Do you know what I could've been doing wrong?  I think I brought it up
on the list, I'll try to dig up the thread.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Just when is portage/bashrc sourced?

2017-11-24 Thread Ian Zimmerman
On 2017-11-24 22:21, Neil Bothwick wrote:

> Are you mixing portage/env up with portage/package.env? The latter
> loads conf files from env that contain variable assignments.

I don't think I'm mixing them up: one of them is a directory, so hardly
can contain any code at all ;-)

(Well, the other _can_ also be a directory, but YSWIM).

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Setting up fetchmail to feed postfix

2017-11-26 Thread Ian Zimmerman
On 2017-11-26 11:00, Ralph Seichter wrote:

>   Received: from [82.69.80.10] (helo=peak.localnet)
> by smarthost03d.mail.zen.net.uk with esmtps 
> (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
> (Exim 4.80)
> (envelope-from )
> id 1eImhw-IJ-SK
> for gentoo-user@lists.gentoo.org; Sun, 26 Nov 2017 02:30:12 +
> 
> Message #2:
> 
>   Received: from [82.69.80.10] (helo=peak.localnet)
> by smarthost03a.mail.zen.net.uk with esmtps 
> (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
> (Exim 4.80)
> (envelope-from )
> id 1eImhw-0002XH-8v
> for gentoo-user@lists.gentoo.org; Sun, 26 Nov 2017 02:30:12 +
> 
> Note the different host names and different IDs, these are two distinct
> emails sent by you.

No, those are Exim's local IDs, assigned by the list server host.  Those
are distinct from RFc 5322 Message-IDs, which are the closest thing to
uniquely identify a message.

So from the above it cannot be concluded that Peter's system sent the
message twice: it might have, but it might equally have been the fault
of the list server.

FWIW, I am _not_ seeing any duplicates on this list, but I am currently
struggling with dupes on another one:

http://minnie.tuhs.org/mailman/listinfo/tuhs

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Setting up fetchmail to feed postfix

2017-11-26 Thread Ian Zimmerman
On 2017-11-26 16:46, Rich Freeman wrote:

> You'll find this recipe all over the place, but with procmail you can
> do this:
> https://mymegabyte.com/2010/03/filter-duplicate-emails-with-procmail/

I don't trust procmail anymore after CVE-2017-16844.  It took me a long
time, I had a weak spot for it, you might say, despite its horrible
looking source.  But now it's over.  I have rewritten my delivery
framework using Perl and Mail::Audit, and I feel very relieved.

> I highly recommend using it.  Works on lists/direct/etc.  You won't
> find yourself complaining about crossposts, being on CC, or whatever
> again.

On the other list I mentioned, I am getting dupes after a _month_.
It would take a huge .msgid file to detect that, and remember formail
does a linear search through it.

I'm experimenting with using the filesystem as a hashtable, creating an
empty file based on each Message-ID header (of course I munge it to get
a valid filename).

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Just when is portage/bashrc sourced?

2017-11-27 Thread Ian Zimmerman
On 2017-11-27 07:59, Michael Orlitzky wrote:

> > That came up in the OP, but the question was about doing it for
> > selected ebuilds, which is exactly what this must shorter option
> > does.
> 
> You should update the wiki, your way is better.

Ah, now I see why I was so confused.  the /etc/portage/env/ directory
serves two purposes, only distantly related:

- houses the environment files, referenced from /etc/portage/package.env
  These can apparantly contain only variable settings.

- houses the package specific bashrc files, as $CATEGORY/$PN and so on.
  These can contain hook definitions and perhaps even more general shell
  code.

Both man portage(5) and the wiki treat the two cases separately, so the
fact that the ultimate data files are in the same directory is lost on
the careless reader (such as me).  Michael or Neil, if you do edit the
docs please improve this aspect.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Setting up fetchmail to feed postfix

2017-11-27 Thread Ian Zimmerman
On 2017-11-27 17:13, Ralph Seichter wrote:

> These few lines save you from all the potential hassle that sharing
> read/write access to the same files could bring. Dovecot will ensure
> that indexes are up to date when mail is delivered, and that alone is
> reason enough for me.

Do you really need lmtp for that, though?  As far as I remember simply
piping the messages to the /usr/lib/dovecot/deliver program, as the
deilivery mechanism, will ensure the same thing.  I don't know postfix
much though, so maybe that's hard to do with postfix, unlike my pet
exim.

Also, even if you completely ignore dovecot at delivery time and write
the mailbox behind its back, it will update the index as soon as you
connect via IMAP.  I remember wondering about this when I saw such a
setup and musing how it could possibly work, but it does.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: mesa build failure

2017-11-27 Thread Ian Zimmerman
On 2017-11-27 21:07, Alan McKinnon wrote:

> mesa has 18 versions in-tree and mesa-17.1.8 is the second oldest. Any
> special reason you are stuck so far back? A package.mask you no longr
> actually need maybe?

All the later ones are ~arch ?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: grub-0.97-r16 and profile 17.0 change

2017-12-02 Thread Ian Zimmerman
This profile change seems to have hit a few people in sensitive
locations.

What is the upshot of this change?  Can I eyeball the diff _before_ I
sync ?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: grub-0.97-r16 and profile 17.0 change

2017-12-02 Thread Ian Zimmerman
On 2017-12-02 20:14, Michael Orlitzky wrote:

> >> You're seeing a lot of reports because there is a news item telling
> >> people to switch to the new profile and run "emerge -e @world".
> > 
> > Does this mean that "emerge -e @world" should be run or that the
> > news item is wrong in this point?
> 
> You do need to run "emerge -e @world", unless you happened to be using
> a hardened toolchain already.

But only if you in fact switch the new profile on, right?

There seems to be another thing afoot, though.  All (or nearly so)
python libraries are due for rebuild because of

PYTHON_TARGETS="python3_5 -python3_4"

Where does that come from?  I have never fully understood this and
similar variables.  It seems to be kind of like USE but also separate
from USE.  Is it something I can control, as a user?  Where is it
configured?  Is this change tied to the above profile transition?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Emerge does want to tell me...what?

2017-12-03 Thread Ian Zimmerman
On 2017-12-03 06:46, Heiko Baums wrote:

> 1. It can't find >=sys-devel/gcc-6.4.0 but only older gcc versions.
> 
> 2. You have installed a package that depend on sys-devel/gcc-5.4.0-r3
> or sys-devel/gcc-4.9.4.
> 
> I already explained what you can do in the first case. In the second
> case I would try to fix (uninstall, rebuild, upgrade or whatever)
> those packages which depend on an outdated gcc. I guess equery is your
> friend.

Those include palemoon.  GL with fixing that.

I'm keeping the old profile for now, but when I switch I'll have to
unmask one of the old compilers.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Emerge does want to tell me...what?

2017-12-03 Thread Ian Zimmerman
On 2017-12-03 18:58, Simon Thelen wrote:

> Palemoon builds fine with gcc 6.4.0 (just not with gcc 7.2.0), if the
> ebuild you're using requires an older gcc it's either wrong or doing
> something weird.

It builds, but the result binary crashes every 10 minutes.  Have you
tried it?

The ebuild from the palemoon overlay explicitly checks for the gcc
version and refuses to proceed if it's newer then 4.9.4.  I have
wondered why, but now I know.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] palemoon and gcc [Was: Emerge does want to tell me...what?]

2017-12-03 Thread Ian Zimmerman
On 2017-12-03 22:45, Simon Thelen wrote:

> It might be that palemoon has issues with certain
> optimizations/instruction sets that are aggravated by using newer gcc
> versions (which could turn on optimizations by default etc).

Yes, this is my provisional explanation too.

> I tried checking when/why the GCC_SUPPORTED_VERSIONS was added to the
> palemoon overlay ebuilds, but can't find an issue or commit introducing
> it (didn't spend that long checking), but if I'm not the only one
> affected by this it might be worth it to open an issue with upstream.

Unfortunately I'm a really shy person and I'm easily turned off by any
shade of hostility.  And this is what I meant by my "good luck" remark.
Upstream isn't quite overtly hostile but still I sense the message that
the Linux port is a stepchild, just as it is with Firefox.

All of which is a way of saying: if it's worth raising an issue, I'd
rather not be the one to do it.

> If you are on Ryzen (or potentially any architecture that isn't
> Nehalem-Haswell) you could try seeing if it's the same issue I
> experienced (testing with `ulimit -c unlimited', recompiling with -O1),

> otherwise you could try out the ebuild I maintain at [1] which may have
> some differences from the one in the palemoon overlay.

My cpu is AMD Phenom.  I'll do both of these things at some point when
things are quiet here.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Will profile 17.0 break 3rd party binaries?

2017-12-04 Thread Ian Zimmerman
On 2017-12-05 00:05, Holger Hoffstätte wrote:

> > There are a number of third-party binary executables that I use
> > regularly on my Gentoo systems.  These are dynamically linked,
> > x86-64, programs that typically depend on various X11 and Qt/Gtk
> > libraries.  They were either extracted from .rpm/.deb files or
> > distributed as shell-archive self-installers by their respective
> > vendors.
> > 
> > Is switching to the new 17.0 profile likely to break them?
> 
> Good question. I've been using a pie-enabled gcc 7.2 for months before
> the 17.0 profile switch and both acroread and skype (the new one)
> still work, so chances are your stuff will too.

Years ago when I used acroread I found it quite irritating that it came
with its own bundled gtk and pretty much everything else.  If it's still
that way it's probably the reason why it is unaffected by the change.

I don't know if Grant's binaries are of similar persuasion.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: grub-0.97-r16 and profile 17.0 change

2017-12-04 Thread Ian Zimmerman
On 2017-12-04 18:13, Daniel Frey wrote:

> I guess I'll have to remember to use 500M+ /boot partitions now. Sigh.

I don't get it.

 matica!7 rc$ du /boot/grub
2022/boot/grub/i386-pc
1340/boot/grub/fonts
2785/boot/grub/themes/starfield
2786/boot/grub/themes
3163/boot/grub/locale
9317/boot/grub

~10MB.  This is with grub2.

Maybe you use some heavily graphical theme?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Emerge does want to tell me...what?

2017-12-05 Thread Ian Zimmerman
On 2017-12-05 14:02, Peter Humphrey wrote:

> > [0] http://people.redhat.com/drepper/dsohowto.pdf
> 
> Ah. Right. I see now.

The error message you're showing probably means that -fpic is in effect
when in fact -fPIC is needed.  Quoting the gcc manual:

 If the GOT size for the linked executable exceeds a machine-specific
 maximum size, you get an error message from the linker indicating that
 `-fpic' does not work; in that case, recompile with `-fPIC' instead.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: git wants a password to portage sync

2017-12-05 Thread Ian Zimmerman
On 2017-12-06 05:53, Bill Kenworthy wrote:

> No, all machines are set up as keyless ssh - git has never needed it
> there.  In frustration I created keys and set portage up as a keyless
> ssh account as well, no change.

ssh messages are sometimes misleading.  For instance, ssh would say
something like "pubkey authentication failed" when in fact I prohibited
root logins on the server.

I'd try connecting with bare ssh as the user in question, with maximum
verbosity turned on (-vvv).

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: is multi-core really worth it?

2017-12-06 Thread Ian Zimmerman
On 2017-12-06 16:07, Wols Lists wrote:

> The contents of /var/tmp are expected to survive a system crash, as that
> is where vi, emacs, libreoffice et al are expected to store their
> recovery logs.

The case of vi has recently been discussed extensively on oss-security
:-P

As for emacs, that's just incorrect.  By default, it puts its recovery
files in the same directory as the original file.  But of course it can
be configured differently like everything in emacs.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] OT: git, how to compare a repo with a loose tree

2017-12-07 Thread Ian Zimmerman
I would like to use "git diff" to show differences between the
current state of a git repository and a normal directory tree somewhere
on the filesystem, ie. one without a .git subdirectory.  This is proving
surprisingly hard to do.

git diff has a documented mode to compare general "paths" as they call
it: the --no-index option.  But when I try it like this inside a git repo,

 git diff --no-index . /somedir

git apparently "forgets" that the current directory is a repo, and just
basically apes diff -r.  This means it doesn't know which files are
tracked, and in particular it reports every freaking file under ./.git
as deleted.  And there is no exclude option that I see.  Argh!  How can
I get around this?

If it matters: I'm fine with assuming the repo is clean ie. no
uncommitted changes, so the current state can be represented as any of:
working tree, "index" or HEAD.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Is gnome becoming obligatory?

2017-12-10 Thread Ian Zimmerman
On 2017-12-09 12:00, Jorge Almeida wrote:

> Are you sure you need udisks? And policykit? I'm guessing you have
> some default USE variables which if removed would contribute to a
> cleaner system. I just checked the documentation about udisks in the
> freedesktop site. I didn't manage to understand why it would be useful
> (my fault, probably) but I understood enough to decide I wouldn't want
> such stuff in my system.

AFAIK there are 2 main reasons for udisks:

1. automounting everything that moves, and even things that do not move.
   By automounting I mean fully automatic mounting, ie. without any
   click or other user action.  Leaving aside the desirability of this,
   it can be mostly replaced by a set of udev rules, even though udev
   authors frown of such usage.

2. tracking media availability of optical drives, which maddeningly do
   not provide any interrupt-driven way to do that.  In spite of my
   advancing age I can still remember when I insert a disc into my
   drive, so if I don't need 1. above I don't need this either.

Ergo, I avoid udisks.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Why are these files restricted?

2017-12-10 Thread Ian Zimmerman
$ for f in /etc/at/at.deny /etc/cron.hourly/0anacron
/etc/default/useradd ; do
  ls -l $f ; qfile $f ;
done
-rw-r- 1 root at 166 Dec 10 16:57 /etc/at/at.deny
sys-process/at (/etc/at/at.deny)
-rwxr-x--- 1 root root 392 Nov  4 21:04 /etc/cron.hourly/0anacron
sys-process/cronie (/etc/cron.hourly/0anacron)
-rw--- 1 root root 96 Aug 14 10:57 /etc/default/useradd
sys-apps/shadow (/etc/default/useradd)

None of these seem sensitive to me, and restricting them like this looks
like a case of SBO.  On a debian system at.deny has similarly restricted
perms; I can't check 0anacron because my debian system has no such
package installed; and default/useradd has normal 644 mode.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Is gnome becoming obligatory?

2017-12-10 Thread Ian Zimmerman
On 2017-12-10 21:31, Canek Peláez Valdés wrote:

> You just don't notice udisks, it's quietly running in the background
> doing its thing without taking either much disk space, memory, nor CPU
> usage.

I know Dr. Valdés will not respond but maybe someone else will, as this
is a factual question.

Last time I met udisks in person, it polled all drives on the system
every second.  Has that changed?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Is gnome becoming obligatory?

2017-12-13 Thread Ian Zimmerman
On 2017-12-13 12:52, Walter Dnes wrote:

>   My big hate is the ever-growing dependancy list of gtk.

Which is one of the big reasons why I masked gtk3.  Sadly I don't know
how much longer I can keep that, as at least one favorite program of
mine now requires it.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Is gnome becoming obligatory?

2017-12-14 Thread Ian Zimmerman
On 2017-12-14 11:57, Marc Joliet wrote:

> I could list specific features of systemd that I like and make use of
> (such as socket activation, autofs integration, user units, nspawn, or
> the journal), but thinking about it, it's a "more than the sum of its
> parts" kind of deal.  Managing a system with systemd is just overall
> pleasant for me.

I am probably not the only one who would still dearly like such a
detailed list, from someone I don't see as biased to start with.  I
understand this is a drain on your time, so I'll understand if you
decline.

This is also equally directed at Neil, who also posted a similar
abbreviated list of features.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Is gnome becoming obligatory?

2017-12-14 Thread Ian Zimmerman
On 2017-12-13 10:06, Alan McKinnon wrote:

> A good healthy dose of manners like your Mama taught you is in short
> supply around here right now.

The worst insults are stated without any foul language.  Indeed, I'll
say that in general "insulting" is an attribute of ideas, not of words.

Some of the time, at least, people who resort to swearing do so in
reaction to such soft-spoken insults. (Equally on all sides of all
issues).

I'll try not to feed this monster thread any longer, I promise.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Choice of TLD for internal network

2017-12-18 Thread Ian Zimmerman
On 2017-12-19 00:10, Peter Humphrey wrote:

> Maybe not. See the debate at
> https://community.nethserver.org/t/i-fell-at-the-first-hurdle/8563/4

"You can't simply edit configuration files."

I stopped reading there. {8-P

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Choice of TLD for internal network

2017-12-19 Thread Ian Zimmerman
On 2017-12-18 08:56, Michael Orlitzky wrote:

> You should probably buy a TLD.

(Understood that you mean "buy a domain".)

I'd like to remind everyone (again?) of FreeDNS (aka afraid.org).  You
can get a 3rd level name free, and then subdivide that as you like.
They won't _delegate_ to you (unless you pay), so it's still just a
private namespace invisible from the outside, but you avoid the risk of
clashing with someone else's registered domain.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Status of a GIT repository

2017-12-20 Thread Ian Zimmerman
On 2017-12-20 17:28, Vadim A. Misbakh-Soloviov wrote:

> 2) Although, all the ways to check it would be too hard for your purpose.

Well, "git log" still works in a bare repo, right?

It is true that it would be necessary to do it in each subtree of
git3-src, and remember the result somehow.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: after finally doing my emerge -e world successfully, my regular world update fails

2017-12-22 Thread Ian Zimmerman
On 2017-12-22 11:45, Helmut Jarausch wrote:

> sys-apps/systemd openrc python_targets_python2_7 abi_x86_32 -sysv-utils
> 
> to /etc/portage/package.use
> 
> With this, both, openrc and systemd build just fine.
> 
> My init system is openrc, and with this all seems to work just fine.

Would you mind explaining why you need systemd installed?  (100% real
question, no intention to start another ember-war).

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: How to harden a system

2017-12-25 Thread Ian Zimmerman
On 2017-12-24 14:44, taii...@gmx.com wrote:

> POWER 9: TALOS 2 (server/workstation, brand new and very high
> performance - the only brand new hardware that is legitimately libre)

This is interesting, but can it run gentoo?  There's a handbook edition
for PPC64, but that's not quite the same, is it?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: xosview fails to launch with missing font 7x13bold

2017-12-25 Thread Ian Zimmerman
On 2017-12-23 18:09, Jack wrote:

> After a reboot today, to switch to 4.14.8-r1, x11-misc/xosview-1.19 
> (installed last
> March) fails to launch with "xosview: display :0 cannot load font 7x13bold"
> 
> 7x13bold is from media-fonts/font-misc-misc - I have 1.1.2-r1 installed 
> 12/16.  I
> can't tell what changed in the font file, as packages.gentoo.org has hardware
> problems, and fails on any search attempt.  font-misc-misc does include 
> 7x13B, but I
> don't know for sure if that is a valid alias, or if something changed since 
> the last
> version, 1.1.2, which was emerged in 2010!
> 
> Before today, I haven't rebooted since 12/6, so my first guess is some 
> problem with
> font-misc-misc.  7x13B is listed in both fonts.alias as
> -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1 and fonts.dir as
> -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso10646-1 in 
> /usr/share/fonts/misc,
> which differ only in the iso number.  The latter does show up in the output of
> xlsfonts, but not the former.  Even stranger, fonts-alias is much older than
> everything else in that directory - from when I last emerged 
> media-fonts/font-alias.
> Is this perhaps a bug in fonts-alias which needs to be updated to reflect 
> changes in
> font naming in other packages?  Reinstalling font-alias did not help.
> 
> I then duplicated the line in fonts.alias, changing one of them to the other 
> iso
> number.  That didn't help without restarting X, but after a restart, xosview 
> runs.
> (It now gives me a totally unrelated error - but I'll deal with that one 
> later.)

I am looking at this now because portage wants to update these package
for me too and I don't want any mess.

So, I think you're mixing apples and oranges a bit: 7x13bold is a real
valid alias, but 7x13B is just the (base) name of the font files; it is
not surprising that the latter not accepted as a font name.  The fonts.dir
file is the authoritative one for which "real" fonts (ie. not aliases)
exist on the system.  The first column there is the font file name (ffn)
and the second column is the X font name contained in $ffn.

I still have the previous version of font-misc-misc, and in fonts.dir I
see entries both for iso10646-1 and for iso8859-$i where 1<=i<=16.  Does
your version have the latter entries?  I should quote this part of
fonts.dir verbatim:

 7x13B-ISO8859-1.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1
 7x13B-ISO8859-10.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-10
 7x13B-ISO8859-11.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-11
 7x13B-ISO8859-13.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-13
 7x13B-ISO8859-14.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-14
 7x13B-ISO8859-15.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15
 7x13B-ISO8859-16.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-16
 7x13B-ISO8859-2.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-2
 7x13B-ISO8859-3.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-3
 7x13B-ISO8859-4.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-4
 7x13B-ISO8859-5.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-5
 7x13B-ISO8859-7.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-7
 7x13B-ISO8859-8.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-8
 7x13B-ISO8859-9.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-9
 7x13B.pcf.gz -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso10646-1

Does yours contain all these lines?  And if it does, do the files (as
named in the 1st column) exist in /usr/share/fonts/misc/ ?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: xosview fails to launch with missing font 7x13bold

2017-12-25 Thread Ian Zimmerman
[replying to self]

On 2017-12-25 18:30, Ian Zimmerman wrote:

> On 2017-12-23 18:09, Jack wrote:
> 
> > After a reboot today, to switch to 4.14.8-r1, x11-misc/xosview-1.19
> > (installed last March) fails to launch with "xosview: display :0
> > cannot load font 7x13bold"
> > 
> > 7x13bold is from media-fonts/font-misc-misc - I have 1.1.2-r1
> > installed 12/16.  I can't tell what changed in the font file, as
> > packages.gentoo.org has hardware problems, and fails on any search
> > attempt.  font-misc-misc does include 7x13B, but I don't know for
> > sure if that is a valid alias, or if something changed since the
> > last version, 1.1.2, which was emerged in 2010!

After taking a first look: have you perhaps switched off the nls USE
flag (or maybe the new profile did that)?  I believe your symptoms are
compatible with this hypothesis.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] dispatch-conf, the big pic?

2017-12-30 Thread Ian Zimmerman
I realized I don't really understand it - I just repeat by rote some
keystrokes.  In particular:

What do the 'z' and 'n' commands do exactly, and what's the difference
between them?

After I do a 'm', how do I actually use the result of the merge?  Is the
merged file now the same as the 'new' one, or the same as the 'old' one?
IOW, if I do 'm' and then 'z', will the merged version be the active
one?

Neither manpage nor wiki is of any help answering these.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Ian Zimmerman
On 2017-12-30 17:26, Michael Orlitzky wrote:

> It took a lot of work, but this latest kernel 14.4 enables support for
> machines with 128 pebibytes of RAM, up from the old limit of 256 TiB.
> 
> 
> On 12/30/2017 05:16 PM, Frank Steinmetzger wrote:
> >  
> > On my thinkpad, 4.14 crashes ... when I build audio support into it.
> 
> 
> But who uses that?

LOL! I hope you have more coming on April 1 ;-)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Kernel 4.14.7 no longer switches to VT7

2017-12-30 Thread Ian Zimmerman
On 2017-12-31 00:33, Peter Humphrey wrote:

> But the whole 4.12 branch has been masked, so that won't do. Here,
> I've had to go back to 4.9.49-r1 (amd64, not ~amd64). But now I see
> 4.9.72 has been stabilised. I think I'll wait for some stabiliity in
> the kernel version offerings before I make another move. Three kernel
> compilations on six systems within a week are a few too many.

FWIW, I find 4.9.73 (upstream, not gentoo) rock solid.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Kernel 4.14.7 no longer switches to VT7

2017-12-31 Thread Ian Zimmerman
On 2017-12-31 01:56, Peter Humphrey wrote:

> If you don't mind my asking, what factors make you prefer vanilla to
> gentoo sources? (I assume that's what you use.)

One reason is security fixes.  Sometimes longterm vanilla already
includes the fixes from mainline, and when it does not, I know that the
diff will nearly always apply because they are just two branches of the
same git tree.

The other reason is the extra kconfig options in the gentoo sources,
which are on by default and I don't want any of them.  I don't remember
anymore but I _think_ at some point it wouldn't let me turn them off
without extreme violence.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: In search of a program to do different b/w dithering methods

2018-01-02 Thread Ian Zimmerman
On 2018-01-02 15:57, Grant Edwards wrote:

> If you don't find what you want in Imagemagick, the second place you
> look is Imagemagick -- it's probably there and you missed it the first
> time.

And the third place you look is Graphicsmagick :-)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Expect a ~15% average slowdown if you use an Intel processor

2018-01-05 Thread Ian Zimmerman
On 2018-01-05 11:10, Peter Humphrey wrote:

> Symbol: HAVE_EBPF_JIT [=y]
>   
> │
> │ Type  : boolean
> │   Defined at net/Kconfig:436
> │   Selected by: X86 [=y] && X86_64 [=y]  
> 
> 
> So it's on, like it or not. This is kernel 4.9.72 on an i7-5820K.

As Rich writes, the HAVE_* symbols are not settable via the UI, and in
fact do not toggle the inclusion of any code; they are automatically set
by kconfig to record the _availability_ of some features on the system,
based on given constraints such as architecture and memory model.

So, HAVE_EBPF_JIT=y just means that BPF JIT _can_ be done on x86.  There
is a separate BPF_JIT setting to actually enable it.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Switching from Seamonkey to Firefox and Thunderbird

2018-01-05 Thread Ian Zimmerman
On 2018-01-05 15:04, Dale wrote:

> Without this, I'll have to copy and paste all the links I want to
> open. That is just not a good option.  No matter which way I go,
> something is broken.

You can write a script that takes the contents of the clipboard [1],
possibly makes sure it is a valid URL, and then runs firefox with that
arg the way you want (ie. specific profile and new tab inside existing
instance, I'm sure firefox can do it if palemoon can).

Then bind the script to a short key sequence using your favorite desktop
environment method.  Now, to follow a link from from thunderbird, do
"Copy Link Location" from the context menu, then type the key sequence.
It is longer than a single click, but not prohibitively so, IMO.

[1] the xclip program is handy for that

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Switching from Seamonkey to Firefox and Thunderbird

2018-01-05 Thread Ian Zimmerman
On 2018-01-05 17:02, Dale wrote:

> I may just have to find a new password tool to use.  LastPass did all
> I wanted and then some but since it no longer works in Seamonkey, I've
> got to find something that will.

Here are some things to be aware of:

https://github.com/IJHack/QtPass/issues/338
https://freedom-to-tinker.com/2017/12/27/no-boundaries-for-user-identities-web-trackers-exploit-browser-login-managers/

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: glibc emerge error

2018-01-11 Thread Ian Zimmerman
On 2018-01-11 07:28, Corbin Bird wrote:

> > export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH

This is wrong, because it will put the current directory (as represented
by the empty string) into the list even if it wasn't there originally.

Try something like this (untested):

export LD_LIBRARY_PATH=$VULKAN_SDK/lib${LD_LIBRARY_PATH:+":$LD_LIBRARY_PATH"}

see man bash, "Parameter expansion".

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: fsck check of /usr on a separate partition fails during boot

2018-01-13 Thread Ian Zimmerman
On 2018-01-13 15:49, Dale wrote:

> I think without a init thingy, it mounts / ro at first, runs the checks
> and then remounts rw.

Right.

> I think it does the same with /usr.

No, other filesystems are not mounted at all until they're checked, in
this situation (which is the traditional one, fsck is older than any
init thingy concept and a separate /usr was once highly recommended).

:-P :-P

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Firefox 57.0.4 without pulseaudio? Possible?

2018-01-14 Thread Ian Zimmerman
On 2018-01-14 05:49, tu...@posteo.de wrote:

> I tried Palemoon some time ago. I checked its security and privacy
> feature with certain sites on the internet, which provide such
> services and found some issues, which I wanted to discuss on their
> forum. The answer was not to believe such sites and in result security
> would be a matter of how much I believe in a certain software.

I am keen to see a link to that discussion.  I searched the forum for
"meino" and "tuxic" but got no hits for either.  Can you help me?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Firefox 57.0.4 without pulseaudio? Possible?

2018-01-14 Thread Ian Zimmerman
On 2018-01-14 18:50, tu...@posteo.de wrote:

> And: I dont want to start a flame war here. Yoy asked and tried
> to give a answer, which may be useful onlu to explain my own point
> of view.

Yes, it is very useful, many thanks.  Exactly what I asked for.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: OT awk question

2018-01-16 Thread Ian Zimmerman
On 2018-01-17 12:49, Adam Carter wrote:

> I'm using this to grab a section of text across multiple lines, how do
> i get it to exit after the first match?
> 
> awk '/foo/,/bar/'

I don't think I ever tried to match multiple line range.  I would do it
like this:

/foo/ { selecting = 1; }

( selecting == 1 ) { print $0; }

/bar/ { if (selecting) exit 0; }

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys

2018-01-18 Thread Ian Zimmerman
On 2018-01-18 19:28, Adam Carter wrote:

> Nice;
> 
> $ ls /sys/devices/system/cpu/vulnerabilities/
> meltdown  spectre_v1  spectre_v2
> $ cat /sys/devices/system/cpu/vulnerabilities/meltdown
> Mitigation: PTI
> $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1
> Vulnerable
> $ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2
> Vulnerable: Minimal generic ASM retpoline

So has 4.9.77, but it's dumb:

 matica!3 ~$ cat /sys/devices/system/cpu/vulnerabilities/meltdown 
Vulnerable
 matica!4 ~$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v1
Vulnerable
 matica!5 ~$ cat /sys/devices/system/cpu/vulnerabilities/spectre_v2
Vulnerable: Minimal AMD ASM retpoline

(AMD is not affected by Meltdown)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: USB3 external storage HD's

2018-01-18 Thread Ian Zimmerman
On 2018-01-18 13:44, R0b0t1 wrote:

> Buy a SATA to USB3 enclosure and a 2.5" laptop drive separately.

I got one of those (a Rosewill).  First thing I noted was it got
_really_ hot after a few minutes of use.  Hot as in highly unpleasant to
touch.  Nonetheless I kept using it, but it stopped working as USB3
after a month or two.  Still works fine as USB2, doesn't get so hot
anymore.

The drive itself wasn't new, so maybe it just wasn't made for that speed?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys

2018-01-18 Thread Ian Zimmerman
On 2018-01-19 08:22, Adam Carter wrote:

> > On my fam10/barcelona;
> > cat /sys/devices/system/cpu/vulnerabilities/meltdown
> > Not affected

> Ian. which CPU do you have?

 matica!13 linux$ dmesg | fgrep -i phenom
[0.603608] smpboot: CPU0: AMD Phenom(tm) II X4 955 Processor
(family: 0x10, model: 0x4, stepping: 0x3)

Looking at the kernel source (for 4.9.77), the flag is initially set no
matter what in arch/x86/kernel/cpu/common.c @cpu_show_meltdown(), and
nothing afterwards clears it ...

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Ian Zimmerman
On 2018-01-19 18:03, Grant Edwards wrote:

> It needs to accept messages as an SMTP server (using SSL and AUTH on a
> non-standard port) from a single user and single source and then relay
> them by passing them to a command-line MTA (e.g. /usr/bin/sendmail
> replacement provided by msmtp).

Just like the others writing in this thread, I am wondering why you need
2 pieces here.  Why won't e.g. exim do both sides of this for you?  It
certainly has all the functionality.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Ian Zimmerman
On 2018-01-19 18:49, Grant Edwards wrote:

> > Just like the others writing in this thread, I am wondering why you
> > need 2 pieces here.  Why won't e.g. exim do both sides of this for
> > you?  It certainly has all the functionality.
> 
> I don't see how you can say that when you don't know the method that
> my command-line MTA uses to transfer mail on down the path towards
> delivery.

I can say it because I have some experience with exim, and I know it can
do pretty much anything.  If its configuration language isn't Turing
complete, it is quite damn close to it.  And the same can be said of
sendmail, though I know much less about it know.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Ian Zimmerman
On 2018-01-19 20:19, Grant Edwards wrote:

>  Can exim transfer mail to an Exchange server that doesn't expose an
>  SMTP server?
> >>>
> >>> Errr, no. exim does SMTP.
> >>>
> >>> If the above is what you need, any orthodox mail server would need
> >>> to hand the mail over to something that *can* deliver to Exchange.
> >> 
> >> Yes, and that something is my existing command-line MTA utility
> >> that has the same usage as /usr/bin/sendmail.

FWIW, you can plug in your existing script into exim as a custom
"transport", in the exim terminology.  In fact that is what I used to do
for years, to stuff outgoing mail into sendmail on a system where I had
a shell account.  But if I understand the problem now (a well sized if,
LOL) that doesn't by itself help you because the existing script is
broken; replacing the script is the main part of the problem.  Right?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Simple SMTP to cmd-line MTA relay?

2018-01-19 Thread Ian Zimmerman
On 2018-01-19 23:58, Grant Edwards wrote:

> That would require seperate outbound transports that are selected
> based on how the mail was read: smtp vs. /usr/bin/sendmail (the real
> one).  I get the impression from exim and postfix docs that outbound
> routing based on input method aren't possible (I may be wrong about
> that).

In the case of exim, you're definitely very wrong about it.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Kernel 4.14.14 has meltdown / spectre info in /sys

2018-01-24 Thread Ian Zimmerman
On 2018-01-19 10:50, Adam Carter wrote:

> > Looking at the kernel source (for 4.9.77), the flag is initially set no
> > matter what in arch/x86/kernel/cpu/common.c @cpu_show_meltdown(), and
> > nothing afterwards clears it ...
> 
> 
> With 4.14.14, pretty much same CPU;
> model   : 4
> model name  : AMD Phenom(tm) II X4 965 Processor
> stepping: 3
> 
> $ cat /sys/devices/system/cpu/vulnerabilities/meltdown
> Not affected

Aha.

matica!1 ~$ cat /sys/devices/system/cpu/vulnerabilities/meltdown 
Not affected
 matica!2 ~$ uname -r
4.9.78

I guess these patches will be trickling down for a long time yet.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Downloading podcasts via the command line?

2018-01-27 Thread Ian Zimmerman
On 2018-01-27 12:38, Stroller wrote:

> Can anyone recommend a command line podcast downloader, please?
> 
> Ideally I want to run it in a cronjob, saving .mp3 files which can be
> uploaded to my Google Drive (using net-misc/drive).
> 
> My priority is NPR's Planet Money podcasts - I think they're available
> via RSS, as are BBC Radio 4's Money Box.

I don't know about podcasts, but for downloading web radio brodcasts I
just use curl, via basically this script (I have modified it since
posting on Gists so ffmpeg has been replaced with curl):

https://gist.github.com/nobrowser/ad0a92a11ccc912c792806c8ead05707

If podcasts require you to parse a RSS feed to get the time or address
etc., that could be done with a tiny bit of Python :-)

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: gcc 7.3 + kernel 4.15 = spectre_v2 fixed

2018-01-29 Thread Ian Zimmerman
On 2018-01-29 20:11, Adam Carter wrote:

> Comparing the contents of /sys/devices/system/cpu/vulnerabilities/spectre_v2
> 
> With gcc 7.2 + kernel 4.14.15;
> Intel system shows; Vulnerable: Minimal generic ASM retpoline
> AMD system shows: Vulnerable: Minimal AMD ASM retpoline
> 
> With gcc 7.3 + kernel 4.15.0;
> Intel system shows; Mitigation: Full generic retpoline
> AMD system shows' Mitigation: Full AMD retpoline

Is there a simple way, with the upstream (kernel.org) sources, to force
a compiler different from the system default?  If there is, it's not in the
README, and a simple grep over the Makefiles also doesn't enlighten.

I am not ready to activate a keyworded gcc for general use.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: gcc 7.3 + kernel 4.15 = spectre_v2 fixed

2018-01-30 Thread Ian Zimmerman
On 2018-01-29 20:35, Alexander Kapshuk wrote:

> To compile the kernel with a different compiler, the method shown
> below may be used, e.g.:
> make CC=clang

Unfortunately, this has the annoying side effect that kconfig forces a
full reconfiguration, asking every question.  Maybe there is a way
around that but looking at the complexity of the Makefile, I'm scared
to mess with it.

What I did in the end was to prepend the following to PATH:

/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:

I use a pretty complex script for building kernels, so adding this to
the script was small potatoes.  And indeed, after a reboot I see I have
full mitigation against spectre_v2.  Now what about spectre_v1?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: NeoMutt and GnuPG

2018-01-30 Thread Ian Zimmerman
On 2018-01-31 05:17, Floyd Anderson wrote:

> Instead I suggest to set ‘gpgme’ USE-flag and *only that* – no
> ‘crypt’, ‘gpg’, ‘pgp_classic’, ‘smime’, ‘smime_classic’. Look at the
> ebuild and especially the comments. This way I only need to set one !
> variable to get the stuff working:
> 
> set crypt_use_gpgme = yes

I second that.  This has been my setup for about a year and it just works.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: A little help for non-native English speakers

2018-02-01 Thread Ian Zimmerman
On 2018-02-01 18:55, Neil Bothwick wrote:

> > I figured that would make the example more confusion which would
> > defeat the purpose.

> And don't get me started on people using "which" when they should be using
> "that".
> 
> (In this case, which is correct but it should have a preceding comma).

One could also use "that" with a preceding semicolon.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



[gentoo-user] Re: Failed builds of kbuild and cdrdao with "undefined reference to `__alloca'"

2018-02-04 Thread Ian Zimmerman
On 2018-02-04 15:03, tu...@posteo.de wrote:

> I still have the problem of failed builds due to an
> 'undefined reference to `__alloca''. I recompiled 
> gcc/glibc and I am using linux-4.15.1 (from kernel.org)
> with linux-headers 4.15. .
> 
> Affected are (at least) cdrdao and kbuild.

[...]

> I am using gcc (Gentoo 7.3.0 p1.0) 7.3.0. I recompiled glibc.
> I did https://wiki.gentoo.org/wiki/Upgrading_GCC
> 
> What can cause this problem and how can I fix it?

To make progress against this, you'll have to look at the build logs, or
let others look at them.

Before doing that, I would try to build the affected packages outside of
portage, saving the output of "configure" and "make".  If you also see
the problem that way, try with the stable gcc and compare logs.

BTW alloca() is a very peculiar way of allocating memory and only a few
packages use it, fortunately.

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.



  1   2   3   4   5   >