[gentoo-user] Re: gentoo accessibility re i'm blind,

2020-04-22 Thread Ian Zimmerman
On 2020-04-22 13:28, Ashley Dixon wrote:

> This is the ONE situation under which I would recommend GNOME, as it
> is generally the best with built-in accessibility features [3].

I don't know about that.  Mouse Keys was broken for at least 2 Fedora
releases (it would do the moves but not the clicks) and my bug about
that was handled in the typical GNOME/Fedora fashion, ie. ignored until
they could close it with reference to the next version.

> lot of the more niche W.M.s (such as i3) require an incredible amount
> of tinkering (and often changes to the code-base) to introduce any
> sort of considering for accessibility.

Maybe wrt visual handicaps you are right, but wrt keyboard access to
everything that "normal" users do with the mouse, I violently disagree.
I use bspwm now and it is the _very best_ interface I ever had, freeing
me from the authoritarian rodent for hours at a time.

-- 
Ian



[gentoo-user] Re: best rss reader?

2020-04-21 Thread Ian Zimmerman
On 2020-04-20 05:09, Ashley Dixon wrote:

> [1] https://github.com/kouya/snownews

Snownews seems to lack SSL support completely, or am I wrong?  The great
majority of feeds I read are https:// URLs.

-- 
Ian



[gentoo-user] Re: best rss reader?

2020-04-21 Thread Ian Zimmerman
On 2020-04-19 21:15, Caveman Al Toraboran wrote:

> i have newsboat, but it got masked.

Really?  Masked as in package.mask?  When?  I don't see that.
I use it too, and it is better than the alternatives IMO.

-- 
Ian



[gentoo-user] Re: dir or file? >> /etc/portage/package.mask

2020-04-19 Thread Ian Zimmerman
On 2020-04-19 12:12, John Covici wrote:

> I wonder why they are doing this, I find the single file much easier
> to deal with and its easier to make sure I don't have duplicate
> entries this way.

Well, as Daniel wrote, you can still keep all the entries in a single
file; you just have to move the file one level down the directory
hierarchy.

I agree though, it seems pointless, and likely to make portage start up
time even longer.

-- 
Ian



[gentoo-user] Re: Audio Equalizer for a DAC ?

2020-04-18 Thread Ian Zimmerman
On 2020-04-18 14:56, tu...@posteo.de wrote:

> Then I installed media-plugins/alsaequal, which installs fine.

[...]

> Starting for example 'alsamixer -D equal' results in an error:
> 
> Invalid CTL equal
> cannot open mixer: No such file or directory
> [1]5304 exit 1 alsamixer -D equal

I have used alsaequal for a number of years, and I even wrote some
tooling around it.  If I remember correctly my work had to do with the
fact that on Debian, which I was using at the time, the alsaequal
settings had to be per-user and not global due to the permission scheme
used for mpd(1).  Or maybe the other way around.  If you're curious, and
lucky, google may still find it.

Then at some point, and possibly at the point of switching to Gentoo, I
started getting an error, and I think it looked just like your error.  I
traced it down to the guts and it looked like an incompatibility between
alsaequal (which was already unmaintained for years at that point) and a
change in the LADSPA API.  Looked hopeless.

I played with the idea of a JACK based equalizer just like the
suggestions you are getting here, but never really followed through
because I only need an equalizer for my personal music listening anyway,
so it is natural to do in the music player.

In any case, alsaequal should be removed from Gentoo.  It is broken, and
it seems nobody knows how to fix it.

-- 
Ian



[gentoo-user] Re: Question about handling filenames with "illegal" characters...

2020-04-16 Thread Ian Zimmerman
On 2020-04-16 12:31, Michael Orlitzky wrote:

>   find -name 'whatever' \
> -exec sh -c "
>   for f in \"\${@}\"; do
> do_stuff \"\${f}\" && echo \"\${f}\"
>   done
> " - {} +

# untested, use at own risk
NL='
'
export NL
AWKPROG='{print "do_stuff @" $0 "@ && printf %s @" $0 "@ :$NL:";}'
AWKPROG=${AWKPROG//@/"'"} ; AWKPROG=${AWKPROG//:/'"'}
find -name "$FOO" | awk "$AWKPROG" | sh

This should work even if sh is dash - only the AWKPROG translations are
bash specific (and they could probably be avoided at the cost of other
ugliness, maybe with sed).

BTW, the only difference between $FOO and ${FOO} is to protect against
alphanumerics literally following the occurence of FOO.  It has no
quoting effect on the _contents_ of $FOO.

-- 
Ian



[gentoo-user] Re: Sudden case fan problems by switching to new kernel...

2020-04-15 Thread Ian Zimmerman
On 2020-04-15 07:29, tu...@posteo.de wrote:

> The configuration for kernel 5.6.3. (vanilla) works fine.for me.  Then
> I changed to kernel 5.6.4 using the same configuration.
> 
> Suddenlu the fan at the back of my PC case never stops from rotating
> at its highest speed.  Changing back to kernel 5.6.3. and the problem
> is gone.

Something similar happened to me too with a recent kernel upgrade but in
the 5.4's.

The reason was that my kernel config changed to build the default CPU
powersave driver as a module, and apparently that is a poor idea, it
needs to be built in.  When I rebuilt the kernel with the driver built
in, the fan went back to normal.

In your case: are both scenarios on the same hardware, since as we all
know you're just switching?

-- 
Ian



[gentoo-user] Re: xorg-server

2020-04-15 Thread Ian Zimmerman
On 2020-04-14 21:36, Jorge Almeida wrote:

> Yes, that seems right. I just added "-elogind" to make.conf and that's
> it. But I'm really curious about the framebuffer stuff. As for other
> stuff (mounting USB, etc), doing it by hand it's fine.

One possible implication is that without one of these mystery packages,
you need the Xorg binary to be setuid root, and with them, you don't.
Just a hypothesis: I don't use either elogind or ConsoleKit, and my Xorg
is setuid root. :-(

This also links back to my last question about firefox.  It turned out
that the rare and random crashes stopped when I shifted from allowing X
to start on the first unused tty (which is the default) to starting it
on the tty where I'm already logged in.  I'm thinking this is somehow
related to my user id and permissions on the tty.  Possibly with one of
the login managers it is not an issue.

-- 
Ian



[gentoo-user] Firefox again - sad

2020-04-13 Thread Ian Zimmerman
After the latest Firefox update (68.7.0), when I try to open the menu
with F10, sometimes Firefox crashes (about the 3rd time today now).
Does anyone else see that?

-- 
Ian



[gentoo-user] Re: Per package /bin/sh selection

2020-04-10 Thread Ian Zimmerman
On 2020-04-08 18:49, Michael Orlitzky wrote:

> Ebuilds are bash, but the ./configure scripts and makefiles that often
> get run within the ebuilds use /bin/sh by default.

I see, but then it is an upstream problem no?  I mean if upstreams keep
putting bashisms in their build systems they will keep doing it no
matter how clean the gentoo dash package is.

-- 
Ian



[gentoo-user] Re: Per package /bin/sh selection

2020-04-08 Thread Ian Zimmerman
On 2020-04-08 12:14, Mike Gilbert wrote:

> We use bash as the default /bin/sh, but users are free to replace it
> with whatever shell they like, so long as it is reasonably
> POSIX-compliant. Other shells are obviously less tested in Gentoo.
 
Are .ebuild files always interpreted with bash, or with whatever /bin/sh
points to?  I thought it was the former.

-- 
Ian



[gentoo-user] Re: Internet slow at times. Can't figure out why. ISP??

2020-04-06 Thread Ian Zimmerman
On 2020-04-06 22:14, Dale wrote:

> I have DSL and it isn't to fast to begin with.  At
> times tho, I'm only getting about 20 or 30% of what I should.

Are you often on the phone at those times?  May it be poor filtering?

At my last residence - also "in the sticks", LOL - we had to give up on
DSL completely, because 6 times out of 10 when we got a phone call the
internet dropped.  Seriously.  We're not proud to support the Comcast
monopoly, but what a difference.

-- 
Ian



[gentoo-user] Re: Alternate Incoming Mail Server

2020-04-06 Thread Ian Zimmerman
On 2020-04-06 14:24, Ashley Dixon wrote:

> Cheers for the help ! To be honest, I don't think I'd want to receive
> e-mail from someone who cannot resist pressing a button :)

In fact, "MTAs" that don't retry turn out to be spam robots on close
inspection, more often than not.  That is the basis for the spam
fighting tactic called "greylisting".  So you will not even be original
in ignoring them.

-- 
Ian



[gentoo-user] repoman the optimist

2020-04-05 Thread Ian Zimmerman
I am preparing some home made ebuilds and I run "repoman manifest" as
part of the process.  repoman downloads the upstream tarball for the
package from the SRC_URI location, but only after trying the distfiles
directory on all servers in my PORTAGE_MIRRORS.  This software is not
packaged by gentoo, so this always fails and it amounts to a useless
delay for me, and perhaps an annoyance for the servers.  How can I
disable it and make repoman go straight to the upstream location?

-- 
Ian



[gentoo-user] Re: Why busybox?

2020-04-05 Thread Ian Zimmerman
On 2020-04-05 19:45, Ashley Dixon wrote:

> > Why does portage insist on installing busybox for me?
> 
> BusyBox is just a minimal set of utilities which would be useful for
> rescuing a system, or to be used on an embedded system with extreme
> limitations. There's not really any reason to remove this, but if you
> insist...

As for rescue scenarios, that has been obsolete for a long time.  For at
least 10 years now, whenever I need to rescue myself I boot from a
separate medium that is normally offline, a CD, an SD card or a thumb
drive.  And I did the same even when I had an initramfs.

And this is a desktop.  BTW, I'm curious - are there really embedded
systems, especially ones with extreme limitations, running gentoo?

> Read more about profiles at [1]; a guide to making custom profiles can
> be found as a subsection.

Indeed, profiles are a big hole in my gentoo knowledge.  Thanks for the
pointer.

> If you really don't want to have Portage install BusyBox, see the
> --exclude option of emerge. But again, there's really no need to
> remove BusyBox unless you're _very_ short on disk space.

The true reason I want to avoid it is that portage keeps spamming me
about the configuration - handled by saveconfig or something.  It
happens every time it is rebuild and I don't know how to stop it.

BTW, I found why app-editor/nano is different.  It is not part of the
profile set itself, it is just that it happens to satisfy virtual/editor
which is in the profile set.

virtuals are another area which I need to study, sigh

-- 
Ian



[gentoo-user] Why busybox?

2020-04-05 Thread Ian Zimmerman
Why does portage insist on installing busybox for me?

As far as I know the only use for it on a desktop system is for
initramfs.  I have no initramfs, therefore I have no need for busybox.
I unmerged it and nothing bad happened except for a warning from portage
that it is part of my profile set.  I went ahead and ignored the
warning.

But now I updated the tree and emerge -p shows it will be installed
again.  Why is that?  The only reverse dependencies are virtuals which
are satisfied in other ways, like virtual/awk.  So is it the profile
thing?  But I have done the same with other profile packages (notably
editors/nano) and those are _not_ coming back.

-- 
Ian



[gentoo-user] Re: ...recreating exactly the same applications on a new harddisc?

2020-04-05 Thread Ian Zimmerman
On 2020-04-04 20:03, tu...@posteo.de wrote:

> Wouldn't transferring the world file be enough?
> 
> Is it?

As far as I know, for having the same packages pulled in, this
is all that matters (plus possibly @world_sets as Neil mentions).

Of course you have all sorts of other configuration to replicate,
including portage's.  That's what git is for :-P.

-- 
Ian



[gentoo-user] Re: ...recreating exactly the same applications on a new harddisc?

2020-04-04 Thread Ian Zimmerman
On 2020-04-04 19:34, tu...@posteo.de wrote:

> Is it possible to recreate exactlu the same pool of
> applications/programs/libraries etc..., which my current
> system have - in one go?

You don't say if you want exactly the same _versions_ of everything.

If you don't need that, wouldn't just transferring the world file be
enough?

If you do, maybe you can pin the versions in the world file, though
I have never tried that.

-- 
Ian



[gentoo-user] Re: how do you monitor your pc?

2020-04-04 Thread Ian Zimmerman
I uncommented and adjusted this part of /etc/syslog.conf:

#
# I like to have messages displayed on the console, but only on a virtual
# console I usually leave idle.
#
daemon,mail,cron.*;\
*.notice/dev/tty8

In general, I try to keep root/admin things away from my X11 session.

-- 
Ian



[gentoo-user] Re: Pocket sneaks back

2020-04-04 Thread Ian Zimmerman
On 2020-04-01 22:07, Frank Steinmetzger wrote:

> When you are on the home screen (about:home), there is a cogwhell on
> the top right, leading you to the relevant section in Firefox’
> settings. In there, you get a checkmark to disable pocket on the home
> screen.

I had done _that_ long ago.  Of course.

-- 
Ian



[gentoo-user] Re: mail cannot send emails (trying to use it with smartd)

2020-04-01 Thread Ian Zimmerman
On 2020-04-01 03:51, Caveman Al Toraboran wrote:

> why can't `mail` send emails?  below is some info.

Normally the mail program works by execing /usr/sbin/sendmail to to the
hard part :-P  Do you have it?  It doesn't have to be the "real"
sendmail - any MTA program you install usually makes a symlink from
/usr/sbin/sendmail to itself.

-- 
Ian



[gentoo-user] Re: Creative Sound Blaster Z 5.1 (CA0132)

2020-03-29 Thread Ian Zimmerman
On 2020-03-29 22:05, tu...@posteo.de wrote:

> must be ALC892

Yeah, that's quite close to mine.  What's wrong with it?

I understand that for serious audio pros, a specialized card is a must,
but ... a Soundblaster?  Come on.

-- 
Ian



[gentoo-user] Re: Creative Sound Blaster Z 5.1 (CA0132)

2020-03-29 Thread Ian Zimmerman
On 2020-03-29 17:36, tu...@posteo.de wrote:

> The onboard sound chip of my new motherboard is ..

details?

-- 
Ian



[gentoo-user] Re: Testing ebuilds

2020-03-21 Thread Ian Zimmerman
On 2020-03-21 01:05, Alarig Le Lay wrote:

> > No.  Here is my make.conf:
> 
> Nothing unusual, indeed. Could you please share the ebuild that has
> the behavior? The issue might be there.

Definitely not, it's just the latest official net-mail/mu with a single
trivial change (remove the installation of README.org which doesn't
exist upstream anymore).

FWIW, I added PORTAGE_INST_UID=1000 to the environment and that made it
work.

-- 
Ian



[gentoo-user] Re: Testing ebuilds

2020-03-20 Thread Ian Zimmerman
On 2020-03-20 10:10, Alarig Le Lay wrote:

> > Assuming it's /usr/lib/portage/python3.6/ebuild-helpers/dobin, mine
> > contains as the last significant chunk the following:
> > 
> > for x in "$@" ; do
> > if [[ -e ${x} ]] ; then
> > install -m0755 -o ${PORTAGE_INST_UID:-0} -g 
> > ${PORTAGE_INST_GID:-0} "${x}" "${ED%/}/${_E_DESTTREE_#/}/bin"
> > else
> > echo "!!! ${0##*/}: $x does not exist" 1>&2
> > false
> > fi
> > ((ret|=$?))
> > done
> > 
> > so it is indeed trying to set the owner to root.  Maybe if I set
> > PORTAGE_INST_{UID,GID} to my own it will not really try to change
> > them.  Are you saying you didn't have to do that?  Does your version
> > of the script contain the above code?
> 
> Hi I have this chunk of code, but I never had to specify my UID or GID
> by hand.
> 
> Do you have hardening or something like that?

No.  Here is my make.conf:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -march=k8 -mtune=barcelona --param l1-cache-size=64
 --param l1-cache-line-size=64 --param l2-cache-size=512"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

# Added stuff
MAKEOPTS="-j5 -l4"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
 http://mirror.sjc02.svwh.net/gentoo/
 http://gentoo.cs.utah.edu/ http://gentoo.gossamerhost.com/;
ALSA_CARDS="hda-intel usb-audio ctxfi"
VIDEO_CARDS="fbdev radeon vesa"
INPUT_DEVICES="evdev"
GRUB_PLATFORMS="pc"
NOCOLOR="true"
EMERGE_DEFAULT_OPTS="-qv --autounmask n --with-bdeps y --nospinner
 --quiet-unmerge-warn --load-average=4"
EBEEP_IGNORE="true"
FEATURES="collision-protect notitles splitdebug"
USE="acl alsa amd64 ao audiofile berkdb bzip2 cairo cli crypt cxx dbus
 dri exif expat ffmpeg fftw flac fontconfig fortran gd gdbm gmp graphviz
 gsl gtk gpg guile hdf5 iconv icu idn ipv6 jpeg json libsamplerate latex
 lcms lensfun lm_sensors lzma lzo libtirpc mad mmap mp3 multilib ncurses
 nls nptl ogg openexr opengl openmp opus pam pcre pdf png postscript
 readline seccomp socks5 sound sqlite ssl svg tcpd tiff tk truetype udev
 unicode vorbis webp yaml X xattr xcb xft xml xmp xpm wxwidgets zip zlib
 -cups -emacs -filecaps -introspection -java -libav -lv2 -sasl -smartcard -vala"
LLVM_TARGETS="X86 AMDGPU"
L10N="en en-GB en-US es es-ES es-MX cs"
CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a"

BTW, I have so far resisted enabling cgroups in the kernel.

-- 
Ian



[gentoo-user] Re: Testing ebuilds

2020-03-20 Thread Ian Zimmerman
On 2020-03-19 20:18, Alarig Le Lay wrote:

> Yes and it has always worked. `dobin` shouldn’t try to chown in theory,
> it’s done during the merge.

Assuming it's /usr/lib/portage/python3.6/ebuild-helpers/dobin, mine
contains as the last significant chunk the following:

for x in "$@" ; do
if [[ -e ${x} ]] ; then
install -m0755 -o ${PORTAGE_INST_UID:-0} -g 
${PORTAGE_INST_GID:-0} "${x}" "${ED%/}/${_E_DESTTREE_#/}/bin"
else
echo "!!! ${0##*/}: $x does not exist" 1>&2
false
fi
((ret|=$?))
done

so it is indeed trying to set the owner to root.  Maybe if I set
PORTAGE_INST_{UID,GID} to my own it will not really try to change them.
Are you saying you didn't have to do that?  Does your version of the
script contain the above code?

-- 
Ian



[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread Ian Zimmerman
On 2020-03-20 00:30, Michael wrote:

> Finally, I don't think you can use the hardware specific ID, found
> under /dev/ disk/by-id/wwn-xx-part1, which is a
> symlink to the /dev/sda1 name.

Why not?  I think you can just use it directly, in place of the
/dev/sdaX.  After all, it's just an alternate (indirect) name for the
same device inode.

-- 
Ian



[gentoo-user] Re: How to set up a website

2020-03-19 Thread Ian Zimmerman
On 2020-03-19 18:53, J. Roeleveld wrote:

> I found it far simpler to use Nginx when dealing with different
> websites, incl. seperate SSL certificates per site even though it is 1
> server and public IP.

+1

-- 
Ian



[gentoo-user] Re: Testing ebuilds

2020-03-19 Thread Ian Zimmerman
On 2020-03-19 08:40, Alarig Le Lay wrote:

> alarig@pikachu ~ % ls -lhd /var/tmp/portage/
> drwxrwxr-x 8 portage portage 4.0K Mar 19 08:37 /var/tmp/portage/
> alarig@pikachu ~ % ebuild 
> /var/db/repos/SwordArMor/net-misc/FORT-validator/FORT-validator-1.2.0.ebuild 
> prepare
>  * FORT-validator-1.2.0.tar.gz BLAKE2B SHA512 size ;-) ...  [ ok ]
> >>> Unpacking source...
> >>> Unpacking FORT-validator-1.2.0.tar.gz to 
> >>> /var/tmp/portage/net-misc/FORT-validator-1.2.0/work
> >>> Source unpacked in /var/tmp/portage/net-misc/FORT-validator-1.2.0/work
> >>> Preparing source in 
> >>> /var/tmp/portage/net-misc/FORT-validator-1.2.0/work/FORT-validator-1.2.0 
> >>> ...
>  * Applying FORT-validator-skip-online-test.patch ...   [ ok ]
>  * Running eautoreconf in 
> '/var/tmp/portage/net-misc/FORT-validator-1.2.0/work/FORT-validator-1.2.0' ...
>  * Running aclocal ...  [ ok ]
>  * Running autoconf --force ... [ ok ]
>  * Running autoheader ...   [ ok ]
>  * Running automake --add-missing --copy --foreign --force-missing ...  [ ok ]
>  * Running elibtoolize in: FORT-validator-1.2.0/
> >>> Source prepared.

But have you tried the _install_ step this way?  I don't mean the "real"
install into the filesystem, just the staged install that "ebuild foo
install" does.

I get:

>>> Install net-mail/mu-1.3.9 into /tmp/portage/net-mail/mu-1.3.9/image
/usr/bin/install: cannot change ownership of
'/tmp/portage/net-mail/mu-1.3.9/image/usr/bin/mu':
 Operation not permitted
 * ERROR: net-mail/mu-1.3.9::foolinux failed (install phase):
 *   dobin failed

And yes, I am in the portage group.  Of course this doesn't help here -
only root can do chown().

-- 
Ian



[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread Ian Zimmerman
On 2020-03-19 10:59, n952162 wrote:

> I changed the UUID of all the partitions of the second drive and now
> all my devices are linked to in /dev/disk/by-uuid. I still have
> no/dev/disk/by-label, though. Also, my swap file on a mounted drive
> wasn't mounted, which was my original problem ;-(

Do they in fact have labels?  Just checking.

Also, you're not not clear if your _partition_ still isn't getting
mounted, or just the swap file not getting activated.

For a problem like this, there _has_ to be something in the log.

-- 
Ian



[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-18 Thread Ian Zimmerman
On 2020-03-18 18:25, Dale wrote:

> BTW, can a label be changed without redoing the file system? I seem to
> recall that being done during the file system creation.

Yes, e2label for ext[2-4] , fatlabel for vfat.  Don't know about others
but probably most of them allow something similar.

-- 
Ian



[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-18 Thread Ian Zimmerman
On 2020-03-18 22:57, n952162 wrote:

> Well, some new recognitions ...
> 
> It turns out that those /dev/disk subdirectories don't necessarily have
> all the disk devices represented:
> 
> 1. by-id/
> 2. by-partuuid/
> 3. by-path/
> 4. by-uuid/

There is also by-label, which you can reference from fstab like

LABEL=foobar /home ext4 defaults ...

If predictability and readability is the goal, I think using labels is
the best option, because you have complete control over them, unlike the
device IDs.  For example:

LABEL=my-machine-home-part /home ext4 defaults ...

This doesn't solve your underlying timing problem, of course.  Just apropos.

-- 
Ian



[gentoo-user] Testing ebuilds

2020-03-18 Thread Ian Zimmerman
After a hiatus I am trying to create my own ebuild repository again.  I
need a way to test the separate steps (fetch, prepare, comiple, install
etc.) and I would like to do all of them as a regular user (not root,
not portage).  I tried what I thought was the most natural attempt - run
the ebuild program under fakeroot, but it still breaks trying to change
permissions of things in PORTAGE_TMPDIR (of course override the value of
this variable).  I don't understand this - it looks just like what
fakeroot was intended to help with?  Anyway, I'm not married to fakeroot,
just looking for a way to do these test runs.

I remember that I could do this the first time, a couple of years ago.
But I don't remember how :-(

-- 
Ian



[gentoo-user] Pocket sneaks back

2020-03-16 Thread Ian Zimmerman
After the latest stable firefox upgrade to version 68.6 I again started
seeing DNS queries for Pocket related domains.  I found this in
prefs.js:

user_pref("browser.newtabpage.activity-stream.section.highlights.includePocket",
 true);

I am not sure if this setting was new with this version or if firefox
just started acting on it now, but in any case I am adding it to my
user.js with a value of false, right now.

-- 
Ian



[gentoo-user] Re: Python: ebuilds vs. pip3 install --user

2020-03-11 Thread Ian Zimmerman
On 2020-03-11 22:10, Marc Joliet wrote:

> "python -m venv -h" in a terminal to get started

Yes, and note in particular the --system-site-packages option.

-- 
Ian



[gentoo-user] Re: Constant compile error with different programs

2020-02-24 Thread Ian Zimmerman
On 2020-02-24 18:09, tu...@posteo.de wrote:

> gcc -L../object -o gopher manager.o gopher.o globals.o ourutils.o cso.o 
> subprocs.o html2.o CURcurses.o gopherrc.o download.o pager.o form.o upload.o  
> ../object/libgopher.a  -lcurses  -lcurses -lm 
> /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>  CURcurses.o: undefined reference to symbol 'nodelay'
> /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
>  /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:152: gopher] Error 1
> 
> It seems something wrong with my *curses* installation, which is
> missing symbols which are identified while linking.
> 
> Is there any chance to compile such programs successfully?
> What could be the reason for this?

This is a bug in the upstream build system.  They should use `pkg-config
--libs ncurses` to construct the link command line, which would result
in the correct "-lncurses -ltinfo", but instead they just hardcode
"-lncurses".

Try passing LDFLAGS=-ltinfo or LDLIBS=-ltinfo to make or configure.

-- 
Ian



[gentoo-user] Re: webrsync {SOLVED}

2020-02-23 Thread Ian Zimmerman
On 2020-02-23 16:47, Rich Freeman wrote:

> > emerge-webrsync has just eaten my /usr/portage :-( ;-(
> >

> Offhand I'm not sure why it broke, but the gentoo repo is completely
> disposable.  When this sort of thing happens I generally just:
> 
> cd /usr
> mv portage portage-old
> emerge-webrsync or emerge --sync

It was 100% self inflicted.  What I'd done to cause it was a bit stupid,
but no document I know explicitly says "don't do this", so I think a
follow up might be of some value.

In a desperate act to satisfy the ever increasing build space
requirements for firefox and its kin, I'd symlinked /var/tmp/portage to
a subdirectory of /usr/portage.  And webrsync does "rsync ... --delete
...", so now you see where this is going.

Fortunately, as you say, the recovery was easy once I knew what went
wrong.

> You might consider moving the sync location out of /usr while you're
> at it.  Also, if you haven't already done so get
> /usr/portage/distfiles outside of the repo directory.  For new
> installs both of these are moved to /var in non-nested directories,
> but existing installs will continue to use their present locations.

But I already have a bunch of symlinks to juggle the space requirements
and I would rather not revisit that, right now.  On my system /var is in
the / filesystem and doesn't have that much space (less than the 8G
necessary to build firefox).  At some future spring cleaning time,
maybe.

Thanks for the help.

-- 
Ian



[gentoo-user] webrsync

2020-02-23 Thread Ian Zimmerman
emerge-webrsync has just eaten my /usr/portage :-( ;-(

I let it run unattended.  When I came back I saw first some complaints
from rsync about "vanished" files ... something like

/usr/portage/_build has vanished before it could be transferred

and under that portage breaking all over because things in /usr/portage
were missing.  And indeed when I look now, almost everything is gone -
all subdirectories including profiles/ and eclass/ are empty (not
distfiles/ but that is not surprising).

Not a hardware problem - there are no syslog messages about i/o errors.

What has happened and how can I fix it?

-- 
Ian



[gentoo-user] Re: Problem merging meson with setuptools. Requesting setuptools-45

2020-02-14 Thread Ian Zimmerman
On 2020-02-13 19:59, james wrote:

> equery depends setuptools | grep meson

I find the equery d and g operations much less useful than they sound at
the start, because they are coarse wrt USE flags.  If any portage
developers are reading - fixing this would be a huge help.  Or having a
new tool for searching dependencies while taking USE flags into account.

I am aware that such a thing would be very close to "emerge -p".  Maybe it
would have to be identical to it? :-)

-- 
Ian



[gentoo-user] Re: octave won't run

2020-02-06 Thread Ian Zimmerman
On 2020-02-06 09:56, Mick wrote:

> Otherwise the latest sci-libs/lapack is 3.8.0, so your links above look 
> correct as far as I can tell.

Note that sci-libs/lapack and sci-libs/lapack-reference are 2 distinct
packages.  The OP presumably has the latter.

Both of them existing may be the real bug here.

-- 
Ian



[gentoo-user] Re: Question about gentoo-sources kernel release versions

2020-02-06 Thread Ian Zimmerman
On 2020-02-05 22:14, Matt Connell wrote:

> I know that gentoo-sources tracks on the most current LTS kernel
> release, currently 4.19.97.  

5.4 has just become the newest LTS.

-- 
Ian



[gentoo-user] Re: OT: looking for email provider

2020-02-02 Thread Ian Zimmerman
On 2020-02-01 17:08, Jack wrote:

> I'm trying to move away from gmail.  Especially for mailing lists like
> this one, if I send a message to the list, I never see that I get the
> message from the list, because gmail refuses to show it in my inbox
> because it's a duplicate of a message already in my sentbox.
> 
> I do have an email account with privateemail.com (thorough
> namecheap.com) but they are unable or unwilling to have a similar
> setup.  I'm not even sure they actually understand what I'm asking of
> them, but I've wasted more than enough time trying.
> 
> So - I'm asking if anyone can recommend an email service provider that
> understands this and will let me set it up.

For your immediate problem, my answer would depend on whether you're OK
interacting with email entirely through the browser, or you are a
classicist like myself and want to use a "real" email client like mutt
or thunderbird.

>From your writing about gmail, I am guessing it's the former: you're
okay with webmail.  In that case, I recommend that you look at
protonmail, tutanota and hushmail.  I have used all of them and I still
use protonmail for one of my personas :)  I hasten to add I have _not_
checked how easy it is to mask the sender address at any of these.

The longer view though is that this will get harder and harder, for the
reasons other people in the thread have given.  google and company will
impose their fascist anti-spam checks and they will get away with it
because most everyone uses google and company, and nobody but a few
geeks cares about the corner case of mailing lists.  

 Who needs mailing lists when we have web forums? 
This is what writers like Jon Corbet of LWN mean by "the death of
email".  And this is why, if you are one of the geeks who do care, the
only way to prolong your life with email is to set up your own server.
You're already halfway there as you have your own domain.

-- 
Ian



[gentoo-user] Re: Failed to emerge www-client/firefox-68.4.1, Log file:

2020-01-16 Thread Ian Zimmerman
On 2020-01-16 13:45, Daniel Frey wrote:

> >   * sys-devel/clang:9 is missing! Cannot use LLVM slot 9 ...
> 
> Do you have this installed?

FWIW, I get that message too during firefox builds (at the end), and yet
they finish successfully.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: python and -fno-semantic-interposition speed up

2020-01-16 Thread Ian Zimmerman
On 2020-01-13 11:33, Adam Carter wrote:

> https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup
> 
> The only downside listed is "Users will no longer be able to use LD_PRELOAD
> to override a symbol from libpython".
> 
> Does anyone know if that is an issue for gentoo?

The big problem with this proposal is:

- How To Test

-- Test that everything Python related in Fedora works as usual. 

I don't even know how to find "everything Python related" on Gentoo.
And then, for each package that may be related, it would be necessary to
test all its features.

Maybe a better way would be to grep the gentoo repository for
"LD_PRELOAD", but I don't think I have the capacity for that.  Anyone?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



Re: [gentoo-user] Failed to emerge www-client/firefox-68.4.1, Log file:

2020-01-16 Thread Ian Bloss
On Thu, Jan 16, 2020, 1:40 PM Valmor de Almeida 
wrote:

> Hello list,
> I have been trying for a while getting firefox emerged; no luck.
> Inputs appreciated.
> Thanks,
> --
> Valmor
>
> >>> Failed to emerge www-client/firefox-68.4.1, Log file:
>
> >>>  '/var/tmp/portage/www-client/firefox-68.4.1/temp/build.log'
>
>  * Messages for package sys-devel/llvm-8.0.1:
>
>  * You can find additional opt-viewer utility scripts in:
>  *   /usr/lib/llvm/8/share/opt-viewer
>  * To use these scripts, you will need Python 2.7 along with the following
>  * packages:
>  *   dev-python/pygments (for opt-viewer)
>  *   dev-python/pyyaml (for all of them)
>
>  * Messages for package www-client/firefox-68.4.1:
>
>  * sys-devel/clang:9 is missing! Cannot use LLVM slot 9 ...
>  * ERROR: www-client/firefox-68.4.1::gentoo failed (compile phase):
>  *   (no error message)
>  *
>  * Call stack:
>  * ebuild.sh, line 125:  Called src_compile
>  *   environment, line 5204:  Called die
>  * The specific snippet of code:
>  *   GDK_BACKEND=x11 MOZ_MAKE_FLAGS="${MAKEOPTS} -O"
> SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 ${_virtx} ./mach
> build --verbose || die
>  *
>  * If you need support, post the output of `emerge --info
> '=www-client/firefox-68.4.1::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=www-client/firefox-68.4.1::gentoo'`.
>  * The complete build log is located at
> '/var/tmp/portage/www-client/firefox-68.4.1/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/www-client/firefox-68.4.1/temp/environment'.
>  * Working directory:
> '/var/tmp/portage/www-client/firefox-68.4.1/work/firefox-68.4.1'
>  * S: '/var/tmp/portage/www-client/firefox-68.4.1/work/firefox-68.4.1'
>
>  * GNU info directory index is up-to-date
>

Gonna need the build log

>


[gentoo-user] Re: WTF is up with mysqld?

2020-01-14 Thread Ian Zimmerman
On 2020-01-13 11:09, Alan Grimes wrote:

> mysqld goes into infinite hang when I try to boot my damn manchine.

Missing entropy?  Try installing haveged.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: External hard drive and idle activity

2020-01-04 Thread Ian Zimmerman
On 2020-01-02 14:12, Rich Freeman wrote:

> > Device Model: ST8000AS0003-2HH188
> >
> > I recall reading about SMR but can't recall the details of what it is.
> >  far as I know, this is just a basic 8TB drive.
> 
> This is an SMR drive.  You should DEFINITELY read up on what they are.

How do you know?  The identfying string doesn't appear in the kernel
source (I did a case-insensitive recursive grep).

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: External hard drive and idle activity

2020-01-02 Thread Ian Zimmerman
On 2020-01-01 18:09, Dale wrote:

> As some may recall, I have a 8TB external SATA hard drive that I do
> back ups on. Usually, I back up once a day, more often if
> needed. Usually I turn the power on, mount it, do the back ups,
> unmount and turn the power back off. Usually it is powered up for 5
> minutes or so. When I unmount it tho, I sometimes notice it is still
> doing something. I can feel the mechanism for the heads moving. It has
> a slight vibration to it.  Questions are, what is it doing and should
> I let it finish before powering it off? I'd assume that once it in
> unmounted, the copy process is done so the files are safe. I guess it
> is doing some sort of internal checks or something but I'm not sure.

I have observed the same thing.  But in my case, I also disconnect the
_cable_ from the computer to the enclosure when I am done ... and still
the drive activity goes on.  From that I conclude that it is the drive
circuitry itself doing some kind of internal housekeeping, and there is
no point in worrying about it because one would wait forever for it to
end.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: startx does not work for AMD/ATI Radion HD 4770

2019-12-26 Thread Ian Zimmerman
On 2019-12-26 18:12, gevisz wrote:

> It seems that it finally was satisfied with those two blobs added.
> At least I can now start twm.

Good that you have a working system.  But it should _not_ be necessary
to build the blobs into the kernel.  I have similar hardware (Gigabyte
mobo with a Phenom and a Radeon) and I get by just fine with the blobs
in /lib/firmware/radeon/* .  

I know they are being loaded because I patched my kernel to tell me in
demsg, even in the case of success.

qfile says these files belong to the linux-firmware package.  Do you
have it installed?  And are they in the right location, /lib/firmware?
I can see potential for mischief with the recent lib / lib64 migration.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: CUPS/administration gives a blank window

2019-12-16 Thread Ian Zimmerman
On 2019-12-16 16:48, n952162 wrote:

> After starting apache2 and cups, when I select the add-a-printer
> selection item, a blank screen is displayed. Does anybody know why?

Do you run apache2 just for the CUPS UI?  That should not be necessary,
CUPS has its own built in http server.  At least that was the case when
I last used it (not using it now).

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: What ntp/sntp client do people use?

2019-12-12 Thread Ian Zimmerman
On 2019-12-11 22:18, Walter Dnes wrote:

> openrdate defaults to set correct time directly, but it does have an
> optional parameter to gradually skew local time to the remote time.  I
> use openrdate in client mode once a month or so to sync a machine.

NTP (the protocol implemented by both chrony and ntpd) is one of the
classic TCP/IP protocols, going back to 1985 (RFC 958).  You really
should use it the way it was intended, and not adopt various later hacks
from the world of Linux distributions.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: XDM Start Faster

2019-12-10 Thread Ian Zimmerman
On 2019-12-10 00:51, Caveman Al Toraboran wrote:

> i login in text (no gui login).  i think xdm is fundamentally a
> redundant concept that should not have existed as per occam's razor.

> i use i3, and start it by `startx`.  i can auto-start startx upon
> login, but i like it better this way, as i may not always want gui
> stuff.

I agree with the feeling, and in fact I did the same for some years.
But this has the side effect that Xorg binary must be setuid root.  Now,
from the POV of pure security, this is not any worse than having a
bonafide root daemon (xdm) run Xorg on your behalf.  But I want to
minimize or even eliminate setuid binaries in general, so I keep track
of them; and this makes Xorg to be an annoying exception to be always
kept in mind.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: To all IPv6-slackers among the Gentoo community

2019-12-05 Thread Ian Zimmerman
On 2019-11-29 00:01, Ralph Seichter wrote:

> > The first reason [...] was that my router does _not_ assign fe80::1 to
> > itself, but rather some other arbitrary address in the fe80 prefix
> 
> I found an article[1] that I first read years ago. "One method to make
> things easier is to manually assign the link-local address to the
> upstream router’s interfaces." That's one of the firmware-dependent
> things, it may happen automatically. I know that my favourite data
> center has its routers set up this way as well. One does not have to use
> this method, of course.

> > I did enable the router advertisement feature, and I checked that the
> > daemon is running on the router. But I can see no output related to
> > that when I run tcpdump on the desktop system.
> 
> Anything that might be interfering with ICMPv6 ? That would prevent all
> NDP, including router advertisement.

> I only use a static IPv6 address for hosted machines, because I need DNS
>  records. The individual subnets are statically assigned by the data
> center to each machine.
> 
> At home, I don't configure clients with static IPv6, because it is not
> necessary for me. In fact, I'm happy to have the lowest 64 address bits
> scrambled (IPv6 Privacy Extensions) to make traffic analysis more
> difficult. All local clients can use NDP to locate each other anyway.
> 
> > https://openwrt.org/docs/guide-user/network/ipv6/start
> 
> Sadly I have no practical experience with OpenWrt. Hopefully somebody
> else here can help with that.

I did make it work with DHCP6.  The problems are all with my OpenWrt
router.  It is free software and I love it, but it has its
bu^H^Hquirks.  In particular it doesn't seem to be possible to force a
particular link-local address on the internal interface.  Apart from
that, it needs one crucial bit of configuration that's kind of hidden
(can't be done via the GUI), to let the router advertisements through.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: Network config problem

2019-11-30 Thread Ian Zimmerman
On 2019-11-30 14:34, Peter Humphrey wrote:

> I want to start playing with IPv6 (thanks, Ralph S.) but first I need
> to clean up something wrong with my existing IPv4.

>  * Bringing down interface eth0
> RTNETLINK answers: No such file or directory
> Error talking to the kernel

Do you mean the bit above?  I get that too, and I have been seeing it
for as long as I remember - maybe always.  I ignore it and nothing bad
happens.

I have totally different hardware (r8169), and I have the "stable" names
on (ahem), so I think neither of those  are relevant.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Strange and potentially unsafe openssh feature

2019-11-28 Thread Ian Zimmerman
For my ssh keys that require passphrases, I use ssh-agent to cache the
decrypted key so I don't have to type the passphrase every time.  Until
yesterday there was only one such key; last night I added a new one
[1].  And, being the lazy thinker I am, I used the same passphrase as
for the old one.

Now, I find that when I run ssh-add to tell ssh-agent about my keys,
_both_ are added to the session after asking me the passphrase only
once!  This can only be secure and correct if the agent somehow compares
the passphrases and knows they are the same; even then, it is _very_
surprising.  Have you seen this and how do you explain it?

[1]
It was necessary to create a new rsa type key because of a stupid server
which doesn't understand ecdsa keys.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: To all IPv6-slackers among the Gentoo community

2019-11-28 Thread Ian Zimmerman
On 2019-11-28 18:41, Ralph Seichter wrote:

> >  What am I missing?
> 
> I can't really tell, based on what you posted. Is there an IPv6 Router
> Advertisment service running, either on your router or another machine
> in your local network?

Thanks for answering; I got a bit further meanwhile.  The first reason my
initial tests (following your advice literally) didn't work was that my
router does _not_ assign fe80::1 to itself, but rather some other
arbitrary address in the fe80 prefix; on close inspection it looks based
on the MAC address just like a host is supposed to do.  When I ping6 or
traceroute6 that specific address, it works.

Secondly, while the router seems to obtain a delegated prefix from
upstream, it doesn't assign any address from that range to the internal
interface.  The only ipv6 addresses on the internal interface are the
link-local address and the ULA address.  Is that normal?

I did enable the router advertisement feature, and I checked that the
daemon is running on the router.  But I can see no output related to
that when I run tcpdump on the desktop system.

> Here is some data from the Gentoo machine I am currently working on. It
> is hosted in a data center and uses a /64 subnet. I obfuscated the IP
> addresses, but I'm sure you get the gist:
> 
> # cat /etc/conf.d/net
> dns_domain_lo="example.com"
> modules="iproute2"
> config_enp0s31f6="99.88.77.50/26
> 2a01:11:22:33::44/64"
> routes_enp0s31f6="default via 99.88.77.1
> default via fe80::1"

... so  you _do_ self-assign a static ipv6 address after all.  How do
you know it is the right one?

> In my home network, my FRITZ!Box router assigns both a ULA and a global
> scope address to each client, without any manual configuration on the
> clients. The optional ULA assignment means that, should my uplink
> connection die, the local clients can still talk to each other.

My router doesn't give me a global address.  Its documentation is at the
url below and I think I have followed it correctly.

https://openwrt.org/docs/guide-user/network/ipv6/start

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: (SALT) Saltstack

2019-11-28 Thread Ian Zimmerman
On 2019-11-28 13:20, james wrote:

> My specific (eventual) goal is to communicate/manage a wide variety of
> gentoo systems, from servers & workstations to a myriad of embedded
> and 5G minimal gentoo systems; particularly those on embedded
> processors that have modest resources.

I have no "wide variety" of systems - more like 5, and only one of them
runs gentoo.  I use git to keep track of configuration changes.  One git
repository for each of /etc, ~/.config, and /usr/local.  I wrote a
simple distributed command script to execute changes; the script
connects via ssh to each affected system (in parallel) and checks out
new git commits from a central repository.

There are prepackaged solutions for this kind of thing, look for
etckeeper and propellor.  But I found they either had annoying
misfeatures (etckeeper insists on tracking _all_ files under /etc) or
were overkill for my modest needs.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: To all IPv6-slackers among the Gentoo community

2019-11-27 Thread Ian Zimmerman
On 2019-11-28 04:11, Ralph Seichter wrote:

> > But what about connecting to the outside world? For that, the
> > link-local address doesn't work.
> 
> It does work, actually. fe80::1 is a perfectly valid way to specify the
> default gateway. Remember that NICs have several IPv6 addresses with
> different scopes.

Sorry, I'm still confused :-(  My host has to set the source address
field in outgoing packets to something.  If it's the link local address
the router can't just forward it unmodified, or upstream routers and
hosts won't know where it originally came from.  What am I missing?

wikipedia:

  In a computer network, a link-local address is a network address that
  is valid only for communications within the network segment or the
  broadcast domain that the host is connected to.

As for fe80::1 being good as it is ...

 matica!8 lc$ route -6
Kernel IPv6 routing table
DestinationNext Hop   Flag Met Ref Use If
localhost/128  [::]   Un   0   2 0 lo
fe80::52e5:49ff:fec0:504d/128  [::]   Un   0   3 0 
enp2s0
fe80::/64  [::]   U256 2 0 
enp2s0
ff00::/8   [::]   U256 2 0 
enp2s0
[::]/0 [::]   !n   -1  1 0 lo
 matica!9 lc$ ping -6 fe80::1
PING fe80::1(fe80::1) 56 data bytes
>From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=1 Destination unreachable: 
>Address unreachable
>From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=2 Destination unreachable: 
>Address unreachable
>From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=3 Destination unreachable: 
>Address unreachable
>From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=4 Destination unreachable: 
>Address unreachable
>From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=5 Destination unreachable: 
>Address unreachable
>From fe80::52e5:49ff:fec0:504d%enp2s0: icmp_seq=6 Destination unreachable: 
>Address unreachable
^C
--- fe80::1 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 143ms
pipe 3
 matica!10 lc$ traceroute -6 fe80::1
traceroute to fe80::1 (fe80::1), 30 hops max, 80 byte packets
connect: Invalid argument

> > No configuration needed for this ULA thing? How does it happen, then -
> > is it implemented entirely in the kernel?
> 
> Before I try to come up with my own explanation, I suggest you search
> for terms like Neighbor Discovery Protocol (NDP) and Stateless Address
> Autoconfiguration (SLAAC). The latter, for example, is the reason why
> DHCPv6 is often not necessary.

Ok, I'll do that ... I wonder if those can give me a real address though.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: To all IPv6-slackers among the Gentoo community

2019-11-27 Thread Ian Zimmerman
On 2019-11-28 03:07, Ralph Seichter wrote:

> Personally, I don't think static IPv6 addresses are very useful,
> because machines in a local IPv6 network can easily locate each other
> using link-local addressing, without the need to configure this in any
> way. In the example above, the link-local address fe80::1 means "the
> default IPv6 gateway out of here".

But what about connecting to the outside world?  For that, the
link-local address doesn't work.  If I'm relying on the router to
rewrite the source address for such connections, I'm already doing the
equivalent of NAT, and IPv6 was supposed to do away with those :-P

> IPv6 has more convenient mechanisms, like unique local addresses (ULA),
> that can be configured but don't need to be. If your router is smart
> enough, no configuration is required on the end nodes; be it Linux,
> macOS, Windows, or various smartphones.

> One of the many available sources of information is hosted by The Linux
> Documentation Project[1].

I knew about LDP, but I thought I needed some gentoo specifics, such as
the conf.d/net syntax.  You answered that and thanks.  Still, I feel I'm
floating in an exoplanetary orbit.  No configuration needed for this ULA
thing?  How does it happen, then - is it implemented entirely in the kernel?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: To all IPv6-slackers among the Gentoo community

2019-11-27 Thread Ian Zimmerman
On 2019-11-25 15:53, Ralph Seichter wrote:

> https://www.ripe.net/ripe/mail/archives/ripe-list/2019-November/001712.html
> 
> This does not come as a surprise, of course, but I consider it a good
> point in time to pause and ask oneself what each individual can do to
> move further towards IPv6. The end is neigh(ish).

So, how to configure IPv6 on an end user gentoo box (not a router)?
This is my entire etc/conf.d/net right now:

dns_domain_lo="foo.bar.baz"
config_enp2s0="192.168.1.10 netmask 255.255.255.0"
routes_enp2s0="default via 192.168.1.1"

(and a couple of fixed nameservers in /etc/resolv.conf)

Note it's a static IPv4 address.  I don't run a DHCP client, and I don't
want to start one just for IPv6.  I hoped to find instructions on how to
do the equivalent for IPv6, but a search on the wiki didn't return
anything obvious - the hits are for router configuration.

My router (running OpenWRT) already has an IPv6 prefix, so I assume all
I need to do is to assign myself a full IPv6 address in that range.  But
I don't know how.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: problem with named restarting

2019-11-19 Thread Ian Zimmerman
On 2019-11-19 03:32, John Covici wrote:

> 
> So, I made sure glibc had -gdb and recompiled and recompiled named,
> but still no symbols.  It was an assertion that failed, maybe this is
> the reason.  I can send you the core dump if you would be interested.

First I'll look into the backtraces are generated.  AFAIK a core dump
only helps when one has the binary.

I'll be back!

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: problem with named restarting

2019-11-17 Thread Ian Zimmerman
On 2019-11-17 06:00, John Covici wrote:

> On Sat, 16 Nov 2019 16:12:53 -0500,
> Ian Zimmerman wrote:
> > 
> > It looks like a bug.  Can you build with -g and without stripping?
> 
> Hmmm,  I have split-debug on and I thought I had -g in my flags, but I
> will check.  Does it go in CFLAGS .etc?

-g has to be on in both CFLAGS and LDFLAGS, I think.  Stripping is
disabled with FEATURES=" ... nostrip ..." in make.conf, I hope it also
works as an environment variable but I am not positive.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: daemon fox?

2019-11-17 Thread Ian Zimmerman
On 2019-11-17 10:28, Mick wrote:

> On Saturday, 16 November 2019 17:24:34 GMT Ian Zimmerman wrote:

> > Is it possible to start firefox as a daemon, ie. without opening any
> > windows, and later connect to it as needed to display URLs?  I have
> > in mind something similar to "emacs --daemon".
> 
> Wouldn't such a behaviour have security implications?  Can you have a
> daemon spawning new window instances, but each one sandboxed
> separately?

I don't see how it would be different, security-wise, from opening a new
window in a fully-fledged graphical fox when I run "firefox $URL" from
the command line, and that's what happens now.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: problem with named restarting

2019-11-16 Thread Ian Zimmerman
On 2019-09-19 14:23, John Covici wrote:

> Sep 18 22:25:45 ccs.covici.com named[4207]: resolver.c:4917: 
> INSIST(dns_name_issubdomain(>name, >domain)) failed, back trace
> Sep 18 22:25:45 ccs.covici.com named[4207]: #0 0x5645afbc0610 in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: #1 0x7f64def5037a in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: #2 0x7f64df10168b in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: #3 0x7f64df1030cc in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: #4 0x7f64df108025 in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: #5 0x7f64df109a44 in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: #6 0x7f64def6e329 in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: #7 0x7f64de8aa448 in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: #8 0x7f64de5ff62f in ??
> Sep 18 22:25:45 ccs.covici.com named[4207]: exiting (due to assertion failure)
> 

It looks like a bug.  Can you build with -g and without stripping?

Sorry it took so long to get back to you.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] daemon fox?

2019-11-16 Thread Ian Zimmerman
Is it possible to start firefox as a daemon, ie. without opening any
windows, and later connect to it as needed to display URLs?  I have in
mind something similar to "emacs --daemon".

I had some hopes for "firefox --headless" but that doesn't do what I
want: later "firefox $URL" will not connect to the running one but will
start a new instance.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: power button to shutdown for openrc?

2019-11-16 Thread Ian Zimmerman
On 2019-11-16 12:50, Mick wrote:

> > Question: when does the init program run under the name openrc-init?
> 
> It is not simply a matter of different names, but of different
> binaries.  As far as I understand it, the /sbin/init of
> sys-apps/sysvinit is used by openrc unless you have modified your
> system to use openrc-init (a different binary to /sbin/init) as
> explained here:
> 
> https://wiki.gentoo.org/wiki/OpenRC/openrc-init
> 
> I may have this wrong of course, but hopefully a more learned
> participant will chime in soon to explain it better to us.  :-)
> 

Interesting - I had no idea that openrc-init existed.  When I read this
I was tempted to switch, however:

  Openrc-init does not use /etc/inittab

which means in particular that my own favorite way of shutting down
wouldn't work:

  kb:12345:kbrequest:/sbin/shutdown -h now

Extra question to keep the thread alive for a bit: does openrc-init
support rebooting via Ctl-Alt-Del?  Is it configurable?  (It is with
sysvinit, in a similar way to the above kbrequest setting.)

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: per package parallel build

2019-11-10 Thread Ian Zimmerman
On 2019-10-26 14:04, Neil Bothwick wrote:

> There's no need to mess around adding and removing masks, just use the
> --exclude option.

Multiple exclude options seem to further lengthen emerge's "thinking"
phase, which is a huge pain as it is.  The increase seems at least linear
in the number of excludes.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: What's the value-added of journaling filesystems like ext4?

2019-11-05 Thread Ian Zimmerman
On 2019-11-04 22:46, n952162 wrote:

 > Ah, I didn't know that about running fsck multiple times - I remember
 > after doing my home directory - the more important one - it did say
 > "file system modified". I don't remember if the root fsck said that,
 > though. But it looks like I'm going to have re-install gentoo, in any
 > case, because virtualbox is all sitting in lost+found.

A tip: whatever the virtues of journaling FS, it doesn't hurt to keep
around a recovery tool along the lines of app-admin/testdisk.

It saved my a*e earlier this year when I carelessly scribbled over my
archive drive with thousands of pictures.  I'd skipped doing
ls -l /dev/disk/by-id and thought the output of my dd command was going
to a thumb drive I'd just inserted.

--
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: syslog-ng 10s pause during startup

2019-10-18 Thread Ian Zimmerman
On 2019-10-18 13:57, Daniel Frey wrote:

> It is waiting for entropy to build. Moving mouse or typing on keyboard
> will speed it up but I have machines only controlled by IR so this was
> not helpful.

That was exactly my guess when I saw the OP, although I don't have this
problem myself.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] libffi-3.3.0-rc0

2019-09-28 Thread Ian Zimmerman
After my weekly webrsync this morning, emerge -p showed me a whale of an
upgrade, including rebuilding both pythons, llvm and firefox, on top of
the legitimate and long overdue texlive update.  It would have taken
half a day even on a reasonably capable desktop.

Inspecting the -p output I blame libffi, and indeed using the
package.mask file to block its new version I got a more manageable
upgrade.  My question is, how come a -rc0 version got unkeyworded?  Does
this normally happen or was it a mistake?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: UEFI data corruption? [FIXED]

2019-09-25 Thread Ian Zimmerman
On 2019-09-24 09:50, Peter Humphrey wrote:

> The Gentoo Handbook says to create a small unformatted partition at
> the beginning of the (primary?) disk, then to create a FAT-32
> partition for /boot, then whatever other partitions are required.

Does /boot really have to be a FAT partition, and not ext[234]?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: ffmpeg video+audio capture question

2019-09-23 Thread Ian Zimmerman
On 2019-09-23 16:22, Walter Dnes wrote:

> There appear to be "media-sound/jack" and "media-sound/jack2" ebuilds.
> Both of them are tagged "~amd64".  There's also
> media-sound/jack-audio-connection-kit  Which one(s) do I use?

It's the last one, I'm pretty sure.

> Youtube is a bad example to use.  There are various other HTML5
> streaming websites, which don't work with youtube-dl.  Plus I also want
> to be able to record video games and any other desktop app in general.
> What I want is to "tee" the audio output so that I can record while
> monitoring it.

Long ago, I digitized my vinyl and audio tape collection this way, with
the input coming over good old analog audio cable.  I did it with pure
ALSA, no jack was needed.  I _think_ there was a knob either in
alsamixer or in arecord to do the "tee", but I don't really remember.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: problem with named restarting

2019-09-19 Thread Ian Zimmerman
On 2019-09-18 12:00, John Covici wrote:

> Thanks, I will try that, do you know why named is restarting, this is
> a much worse problem?

As of now I don't know.  I may be able to guess if you post the backtrace.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: problem with named restarting

2019-09-18 Thread Ian Zimmerman
On 2019-09-17 20:40, John Covici wrote:

> On Tue, 17 Sep 2019 18:33:51 -0400,
> Ian Zimmerman wrote:
> > 
> > On 2019-09-17 13:01, John Covici wrote:
> > 
> > > > > Also, when I restart named (which I have now done automatically by
> > > > > systemd) it gives me a lot of errors like the following:
> > > > > Sep 17 03:11:59 ccs.covici.com named[3299910]: validating arpa/DS: no
> > > > > valid signature found
> > > > > or this:
> > > > > Sep 17 03:12:00 ccs.covici.com named[3299910]: validating com/DS: no
> > > > > valid signature found
> > > > 
> > > > This looks like a DNSSEC problem.  I don't run bind on my gentoo system,
> > > > but I did this:
> > 
> > > > [snipped]
> > 
> > > > Try running "ldd /usr/sbin/named".  Is openssl (ie. libssl and
> > > > libcrypto) part of the output?
> > 
> > > libcrypto is there along with libgnutls, but no libssl.
> > 
> > Ok, so it probably is built with DNSSEC support.
> > 
> > How do you populate your cache?  Do you recurse to the root servers, or
> > do you have a "forwarder" (for example, your ISP server) to which you
> > pass all queries that miss the cache?
> 
> I have more than one, but they are forwarders. 

Then it's likely a problem with one of them.  For DNSSEC to work, all
the servers that handle the query must support it.

One way to get rid of the warning is to just disable DNSSEC at runtime.
In /etc/bind/named.conf (or a file included by it):

options { dnssec-enable no; };

Reference:
https://downloads.isc.org/isc/bind9/9.14.0/doc/arm/Bv9ARM.ch05.html#options_grammar

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: problem with named restarting

2019-09-17 Thread Ian Zimmerman
On 2019-09-17 13:01, John Covici wrote:

> > > Also, when I restart named (which I have now done automatically by
> > > systemd) it gives me a lot of errors like the following:
> > > Sep 17 03:11:59 ccs.covici.com named[3299910]: validating arpa/DS: no
> > > valid signature found
> > > or this:
> > > Sep 17 03:12:00 ccs.covici.com named[3299910]: validating com/DS: no
> > > valid signature found
> > 
> > This looks like a DNSSEC problem.  I don't run bind on my gentoo system,
> > but I did this:

> > [snipped]

> > Try running "ldd /usr/sbin/named".  Is openssl (ie. libssl and
> > libcrypto) part of the output?

> libcrypto is there along with libgnutls, but no libssl.

Ok, so it probably is built with DNSSEC support.

How do you populate your cache?  Do you recurse to the root servers, or
do you have a "forwarder" (for example, your ISP server) to which you
pass all queries that miss the cache?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: problem with named restarting

2019-09-17 Thread Ian Zimmerman
On 2019-09-17 03:30, John Covici wrote:

> Hi.  I am having a very annoying problem with named.  I am using
> net-dns/bind-9.14.4 which I actually updated from a previous version
> which also had the problem. It seems that an assertion has failed:
> Sep 17 03:10:53 ccs.covici.com named[1857864]: resolver.c:4917:
> INSIST(dns_name_issubdomain(>name, >domain)) failed, back
> trace
> 
> There is a back trace which I can supply if that would help.  There is
> also a coredump.
> 
> Also, when I restart named (which I have now done automatically by
> systemd) it gives me a lot of errors like the following:
> Sep 17 03:11:59 ccs.covici.com named[3299910]: validating arpa/DS: no
> valid signature found
> or this:
> Sep 17 03:12:00 ccs.covici.com named[3299910]: validating com/DS: no
> valid signature found

This looks like a DNSSEC problem.  I don't run bind on my gentoo system,
but I did this:

$ equery -C u net-dns/bind
[ Legend : U - final flag setting for installation]
[: I - package is installed with flag ]
[ Colors : set, unset ]
 * Found these USE flags for net-dns/bind-9.14.4:
 U I
 + + berkdb   : Add support for sys-libs/db (Berkeley DB for 
MySQL)
 + - caps : Use Linux capabilities library to control 
privilege
 - - dlz  : Enables dynamic loaded zones, 3rd party 
extension
 - - dnsrps   : Enable the DNS Response Policy Service (DNSRPS) 
API, a mechanism to allow an
external response policy provider
 - - dnstap   : Enables dnstap packet logging
 - - doc  : Add extra documentation (API, Javadoc, etc). It 
is recommended to enable per
package instead of globally
 - - fixed-rrset  : Enables fixed rrset-order option
 - - geoip: Add geoip support for country and city lookup 
based on IPs
 - - gost : Enables gost OpenSSL engine support
 - - gssapi   : Enable gssapi support
 + + json : Enable JSON statistics channel
 - - ldap : Add LDAP support (Lightweight Directory Access 
Protocol)
 - - libressl : Use dev-libs/libressl instead of 
dev-libs/openssl when applicable (see also the ssl
useflag)
 - - lmdb : Enable LMDB support to store configuration for 
'addzone' zones
 - - mysql: Add mySQL Database support
 - - odbc : Add ODBC Support (Open DataBase Connectivity)
 - - postgres : Add support for the postgresql database
 - - python   : Add optional support/bindings for the Python 
language
 + + python_targets_python2_7 : Build with Python 2.7
 - - python_targets_python3_5 : Build with Python 3.5
 + + python_targets_python3_6 : Build with Python 3.6
 - - static-libs  : Build static versions of dynamic libraries as 
well
 - - urandom  : Use /dev/urandom instead of /dev/random
 + + xml  : Add support for XML files
 + + zlib : Add support for zlib (de)compression

which left me puzzled: the libressl flag docstring talks about a ssl
flag which doesn't exist for this package.

Try running "ldd /usr/sbin/named".  Is openssl (ie. libssl and
libcrypto) part of the output?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: firefox 68

2019-09-16 Thread Ian Zimmerman
On 2019-09-16 15:43, Mick wrote:

> Actually, on two systems FF 68 has been a disaster:
> 
> As reported by Peter, it crashes when launched.

I rebuilt with the default flags (ie. with the system libraries) and so
far it is working ok.  

> I have found three approaches to allow it to launch.
> 
> 1. Start it with --safe-mode.  A pain, because I have to re-enable the
> Menu to become visible as well as the Bookmards Toolbar.  By
> definition all addons and extensions are disabled.

As Peter wrote, this seems to point to an extension as the culprit.  How
many do you have, and are any of them out of the "mainstream"?

> Then restarted it.  It launched with its new start up page and what
> not.  Everything worked.  I did NOT change any settings what-so-ever.
> I closed it and relaunched it.  The window now has no window title bar
> at the top.

Yes, this is a feature.  I kid you not.  There is a checkbox somewhere
(I think in the Toolbars|Customize panel) to re-enable the title bar.
Unpleasant UI mods like this have become a matter of course with
Mozilla, unfortunately.

> also shows no bookmarks.  Menus are empty.  What the ... ?!

This I would not expect.  Are you sure you moved _only_ prefs.js out of
the profile directory and no other files?

> 3. Create a new blank profile.  This works fine, until/unless I try to
> tweak telemetry settings.

I disable all the telemetry rubbish, if there is no ".enable" setting I
just clear out the corresponding URL.  And as I say above, this doesn't
break my firefox.

> I don't mind recompiling it if this is what must happen, is there any
> particular system-* USE flag which I should disable?  BTW, in previous
> versions I have these FF USE flags set in a corresponding package.use
> file:
> 
> system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-
> sqlite -wifi

I have a feeling you're too quick to suspect these libraries.  If the
system linking worked for you before, why do you think it is the cause
of the breakage now?  Many other things have 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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: firefox 68

2019-09-15 Thread Ian Zimmerman
On 2019-09-15 16:21, Walter Dnes wrote:

> On Sun, Sep 15, 2019 at 09:08:24AM -0700, Ian Zimmerman wrote
> 
> > Is this for real or is it a mistake to be reverted soon?  I do not
> > enjoy the thought of rebuilding firefox twice in a row.
> 
>   The USE flags seem to have been around for a while.  I haven't updated
> my desktop for a few weeks (I'll do it tomorrow). "emerge -pv firefox"
> gives firefox-60.8.0 with...
> 
> [ebuild N ] www-client/firefox-60.8.0::gentoo USE="gmp-autoupdate
> screenshot -bindist -clang -custom-cflags -custom-optimization -dbus
> -debug -eme-free -geckodriver -hardened -hwaccel -jack (-neon)
> -pulseaudio (-selinux) -startup-notification -system-harfbuzz
> -system-icu -system-jpeg -system-libevent -system-libvpx
> -system-sqlite -test -wifi"

But this is what I mean.  The _defaults_ for these flags have changed,
so now (with version 68) the default is to build with the system libs.
You'll see that too after you update.

> This might not apply to Firefox, but it probably does.  APIs change
> with versions.  By using the internal libs, you know that Firefox will
> be using the library versions it's expecting to see.

I trust the gentoo maintainers with that judgment - if it is in fact a
judgment and not a typo.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] firefox 68

2019-09-15 Thread Ian Zimmerman
When I saw that the last update of firefox enabled linking with some
system libraries -- sqlite and jpeg included -- I went to the window
right away and checked the sky for flying pigs ;-)

Is this for real or is it a mistake to be reverted soon?  I do not enjoy
the thought of rebuilding firefox twice in a row.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: USE flag 'split-usr' is now global

2019-08-06 Thread Ian Zimmerman
On 2019-08-06 12:28, Rich Freeman wrote:

> > Arguing against this trivial (and IMHO, elegant) solution is tilting
> > at windmills. Specially if it is for ideological reasons instead of
> > technical ones.

> Some of the solutions I've seen tossed out in this thread are more
> complex than just building your own initramfs from scratch.
> 
> An initramfs is just a userspace bootloader that runs on top of linux.
> Nobody has any problem with conventional bootloaders, and if you want
> to do anything with one of those you have to muck around in low-level
> C or assembly.

There is a difference, and that difference is the reason I dislike
initramfs, not one of the other possible reasons you hypothesize.  The
difference is that real Unix processes (not just kernel threads and not
just PID 1) survive from the initramfs stage into the "real Unix"
stage.  It's like being able to trace matter back before the Big Bang.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: USE flag 'split-usr' is now global

2019-08-05 Thread Ian Zimmerman
If I correctly remember the post by Lennart that spawned this entire
debate, there were and are genuine technical reasons why a separate /usr
filesystem doesn't really work anymore.  Perhaps fixable _if_ all package
developers (other than init) paid attention but that's not going to
happen.

Now of course there is some leap from the above to making /bin and
/usr/bin the same _directory_.  AFAIK there is no good reason for that
other than making it easier to write initscripts (or units).  I'm not
going to opine how good a reason is that :P

Myself, I just have /usr on the rootfs.  I don't have an initramfs; when
I need a "rescue" environment I boot from a USB stick, not necessarily
gentoo.  Devuan seems to be the best for this kind of thing nowadays.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: HACK: Boot without an initramfs / initrd while maintaining a separate /usr file system.

2019-08-05 Thread Ian Zimmerman
On 2019-08-04 19:36, Grant Taylor wrote:

> Create the bin and sbin directories inside of the /usr directory that
> is the mount point so that they are on the underlying file system that
> /usr is mounted over top of.  Then copy the needed binaries to the
> /usr/bin & /usr/sbin directories on the underlying file system.  That
> way, /sbin/fsck -> /usr/sbin/fsck still exists even before the real
> /usr is mounted.

Don't you have to go through some extra hoops (a flag to the mount
command or something) to mount over a non-empty directory?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: USE flag 'split-usr' is now global

2019-08-04 Thread Ian Zimmerman
On 2019-08-04 12:29, Mick wrote:

> https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/
> 
> Essentially the historical reasons for having a lot of separate
> directories/ fs/partitions/disks are becoming obsolete and many of
> them are due to merge, changing the baselayout.  I assume the move to
> profile 17.1 to deal with the various /lib directories was the start.

I know about the history as it relates to Unix and Linux in general.  In
fact I think I've read that article long ago.  But the question is
what's up in gentoo.  I suspect another potentially painful migration is
on the horizon; it would be good to know the speed we're moving toward
the horizon :-)

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: acct-group packages ??

2019-08-04 Thread Ian Zimmerman
On 2019-08-03 18:21, Neil Bothwick wrote:

> It seems odd that portage would want to install packages that weren't
> a dependency of something else. They are here, for example
> 
> % emerge -cpv acct-group/kvm
> 
> Calculating dependencies... done!
>   acct-group/kvm-0 pulled in by:
> acct-user/qemu-0 requires acct-group/kvm
> app-emulation/qemu-4.0.0-r4 requires acct-group/kvm
> sys-apps/systemd-243_rc1-r1 requires acct-group/kvm

I see, I got caught (again) by the favorite gentoo sleight of hand of
updating a package and not bumping its version.  In my case, eudev.

> I cna ytpe 300 wrods pre mniuet!!!

;-)

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: Recent changes to install procedure

2019-08-03 Thread Ian Zimmerman
On 2019-08-03 11:31, Dale wrote:

> Do you know what tools those were?

Sorry, I don't remember.  I'll be sure to post here if I encounter the
same kind of problem.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] acct-group packages ??

2019-08-03 Thread Ian Zimmerman
After latest webrsync, portage wants to install these:

acct-group/input-0
acct-group/kvm-0
acct-group/render-0

No other package seems to depend on them, so wth is this about?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: Recent changes to install procedure

2019-08-03 Thread Ian Zimmerman
On 2019-08-03 07:56, Neil Bothwick wrote:

> Hooray! They've changed the default locations to something more
> sensible.  Keeping data in /usr never made sense, I switched PORTDIR
> to /var/portage years ago. Keeping tarballs inside the portage tree
> made even less sense.

I tried to do that some time ago, but I've run into some issues.  It
looked like not all of the tools honored the PORTDIR variable.

So instead, I just made /usr/portage a separate filesystem.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: Accessing a Samsung phone and it's data.

2019-07-31 Thread Ian Zimmerman
On 2019-07-30 22:44, Dale wrote:

> I wonder, if I bought a bluetooth USB thingy and put that on my puter,
> would that help any? Since I hooked up my wifi router and it uses
> that, would that help? Or is the USB cable directly connected the best
> way?

I have a USB to BT adaptor.  It's worse than paperweight: I could never
make it work on gentoo, or any other kind of Linux.  I think it might be
like the infamous Winmodems of old, requiring a proprietary driver to do
anything at all.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: ntp-client slows down the boot process

2019-07-27 Thread Ian Zimmerman
On 2019-07-27 07:42, Aidan Harris wrote:

> I run openrc with rc_parallel enabled and I end up booting so fast
> that by the time ntp-client starts DNS resolution is not properly
> available yet (I use a local DNS resolver so even though networking is
> up my local resolver takes a while - a small while, but enough of a
> while to be a problem - to be "ready") so the service fails to
> start. To work around this I added a few lines of shell to the start
> function:

I take it that you stick with the default ntp configuration, with
syncing from a pool.  I do not; I have found a few public stratum 1
servers relatively close to me, and I use them in general, via their IP
addresses and not via their DNS names.

On my desktop and on my Pi, which do not need mobility, I don't even do
that: I sync to my router.  It makes a fine stratum 2 NTP server :-)

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: ntp-client slows down the boot process

2019-07-26 Thread Ian Zimmerman
On 2019-07-27 01:27, Grant Edwards wrote:

> > By the way does "rc_parallel" really makes a difference?
> 
> 
> Yes.  It guarantees that when you do have boot problems, you'll never
> be able to figure out the real problem.
> 
> 
> Having more parallel boot operations used to be one of the
> "advantages" touted by some pro-systemd people.  I always thought it
> sounded like a horrible idea and an excellent reason to stick with
> openrc.

Well, to play the anti-$DEITY advocate, you may also say that
parallelizing helps you discover bugs in the dependencies that you
otherwise never would.

I have run fedora with systemd for a while, and I was able to make the
boot wicked fast.  But it wasn't automatic, not due to systemd itself
but due to packages like NetworkManager doing incredibly wasteful
things by default.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: Migration from 17.0 to 17.1

2019-07-19 Thread Ian Zimmerman
On 2019-06-24 14:16, Jacques Montier wrote:

> I followed the steps 1, 3, 4, 5, 6, 7, 8, 9 and 10 (emerge -1v
> sys-devel/gcc:8.3.0, emerge -1v sys-devel/gcc:8.2.0-r6) without any issue.
> Everything works fine but the step 11 (emerge -1v --deep /lib32 /usr/lib32
> /usr/lib/llvm/*/lib32) has been pretty painful.
> 
> Many config phase failed.
> - dev-libs/glib-2.58.3
> Solved by emerging util-linux and libpcre
>  - many x11-libs stuff
> Solved by emerging some x11-base packages (especially xorg-x11)
> - dev-libs/libgudev, media-libs/libv4l, x11-misc/colord
> and media-libs/libcanberra.
> Solved by emerging virtual/libudev
> 
> Finally, i could delete the /lib32 (/usr/lib32 was already deleted) and the
> /usr/local/lib32 symlinks.

Did you in fact have any 32 bit programs/libraries installed?

I knew I had none before I started the migration, so I just skipped item
11 and removed the symlinks manually.  All the stuff left in /lib was
either arch-independent (eg /lib/firmware), or not subject to
linking/loading (eg /lib/modules), or glibc multiarch stuff (libm,
libnss, yada yada).

So far, no problems at all after the migration.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: Using UUID for root disk in grub requires initramfs?

2019-07-19 Thread Ian Zimmerman
On 2019-07-19 20:58, Adam Carter wrote:

> I experimented found the following worked in /etc/default/grub;
> 
> GRUB_DEVICE="PARTUUID=d3554d49-02"
> 
> Which writes grub.cfg as;
> linux /vmlinuz-5.2.0-gentoo root=PARTUUID=d3554d49-02 ro
> init=/usr/lib/systemd/systemd iommu=pt raid=noautodetect
> 
> PARTUUID looked up with blkid. No initramfs required :)

I don't get this.  blkid is userspace.  The _kernel_ needs to know what
the root fs device is, before it even starts pid 1.

With initramfs, this egg/chicken problem is hidden: the initramfs itself
is the initial root fs, and during the pivot to the real root fs
userspace programs [1] are already available.

[1]
Well, usually just 1 of them: busybox.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: search patterns in less(1)

2019-07-19 Thread Ian Zimmerman
On 2019-07-19 06:40, n952162 wrote:

> Anyway, thank you for the (unexpected) tip:
> 
> man perlre
> 
> That says to use \b instead of the decades-old \<.

I did not expect it either, but I convinced myself running

  ldd `which less`

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: emerge --sync: problem refreshing keys

2019-07-19 Thread Ian Zimmerman
On 2019-07-18 19:42, Stefano Crocco wrote:

> Hello to everyone,
> since yesterday emerge --sync fails because it can't refresh keys. The 
> messages I get are:
> 
> Syncing repository 'gentoo' into '/usr/portage'...
>  * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
>  * Refreshing keys via WKD ... [ !! ]
>  * Refreshing keys from keyserver hkps://keys.gentoo.org ...OpenPGP keyring 
> refresh failed:
> gpg: refreshing 4 keys from hkps://keys.gentoo.org
> gpg: keyserver refresh failed: No keyserver available
> 
> OpenPGP keyring refresh failed:
> gpg: refreshing 4 keys from hkps://keys.gentoo.org
> gpg: keyserver refresh failed: No keyserver available

Perhaps something to do with this?

https://www.bleepingcomputer.com/news/security/public-certificate-poisoning-can-break-some-openpgp-implementations/

Aside:
I have already switched my personal gpg configuration to use the new
isolated keyserver.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: AMD microcode updates - where are they?!

2019-07-17 Thread Ian Zimmerman
On 2019-07-17 07:46, Corbin wrote:

> My kernel version : 4.19.59
> 
> Please note that I am using the "experimental" USE FLAG for
> "sys-kernel/gentoo-sources".
> 
> CPU selected is "AMD Piledriver"
> 
> Also, I am using the latest firmware for "sys-kernel/linux-firmware" (
> 20190712:0 ).
> 
> Kernel command line parameters on boot :
> 
> "spectre_v2=on spectre_v2_user=on spec_store_bypass_disable=on"

A couple paragraphs down in that redhat article it says:

Red Hat Enterprise Linux defaults on AMD CPUs: Due to the
differences in underlying hardware implementation, AMD X86 systems
are not vulnerable to variant #3. The correct default values will be
set on AMD hardware based on dynamic checks during the boot
sequence.

pti=0 ibrs=0 ibpb=1 retp=1 -> fix variant #1 #2 if the microcode update is 
applied
pti=0 ibrs=2 ibpb=1 retp=1 -> fix variant #1 #2 on older processors that 
can disable indirect branch prediction without microcode updates

Note: A microcode patch provided by the vendor must be applied in order for 
the tunables to be visible.

which of course is self-contradictory, so not a full answer but maybe a
clue.

Are those settings meant to go on a boot command line?

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: AMD microcode updates - where are they?!

2019-07-15 Thread Ian Zimmerman
UH-OH, Self-followup:

On 2019-07-14 21:30, Ian Zimmerman wrote:

> I find it odd that there is apparently no central way to track which
> firmwares are being loaded without a debugging kernel.
> 
> The relevant messages in linux/drivers/base/firmware_loader/main.c are
> all dev_dbg(), which as I understand does nothing on a non-debug kernel.
> Even the message printed when the firmware file is missing is of that
> type.
> 
> I guess I could turn on the userspace helper, set it to some script that
> just logs every request and fails, and then remove the whole
> /lib/firmware tree, but that is a _really_ round-about way.

Solved with a kernel patch:

--- a/drivers/base/firmware_loader/main.c   2019-07-13 23:01:15.0 
-0700
+++ b/drivers/base/firmware_loader/main.c   2019-07-14 23:33:22.348028910 
-0700
@@ -336,7 +336,7 @@
 path);
continue;
}
-   dev_dbg(device, "direct-loading %s\n", fw_priv->fw_name);
+   pr_notice("direct-loading firmware %s\n", fw_priv->fw_name);
fw_priv->size = size;
fw_state_done(fw_priv);
break;


-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: AMD microcode updates - where are they?!

2019-07-14 Thread Ian Zimmerman
On 2019-07-13 19:06, Mick wrote:

> > If linux-firmware is emerged with the savedconfig use flag, then
> > only the firmware not deleted from the config file is left.
> 
> Yes.  I used to do this, but gave up after a while.

I find it odd that there is apparently no central way to track which
firmwares are being loaded without a debugging kernel.

The relevant messages in linux/drivers/base/firmware_loader/main.c are
all dev_dbg(), which as I understand does nothing on a non-debug kernel.
Even the message printed when the firmware file is missing is of that
type.

I guess I could turn on the userspace helper, set it to some script that
just logs every request and fails, and then remove the whole
/lib/firmware tree, but that is a _really_ round-about way.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: AMD microcode updates - where are they?!

2019-07-12 Thread Ian Zimmerman
On 2019-07-12 13:18, Mick wrote:

> $ dmesg | grep -i micro
> [0.622441] [drm] Loading ARUBA Microcode
> [5.763242] [drm] Loading hainan Microcode
> [6.653025] microcode: CPU0: patch_level=0x06001119
> [6.657962] microcode: CPU1: patch_level=0x06001119
> [6.658890] microcode: CPU2: patch_level=0x06001119
> [6.659881] microcode: CPU3: patch_level=0x06001119
> [6.661136] microcode: Microcode Update Driver: v2.2.

I have a similar experience:

[0.659996] microcode: CPU0: patch_level=0x01c8
[0.660001] microcode: CPU1: patch_level=0x01c8
[0.660006] microcode: CPU2: patch_level=0x01c8
[0.660011] microcode: CPU3: patch_level=0x01c8
[0.660029] microcode: Microcode Update Driver: v2.2.
[7.853509] [drm] Loading RS780 Microcode

I have a 10h generation processor, and I also build in microcode_amd.bin
with the kernel.

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: escape from i3lock

2019-07-12 Thread Ian Zimmerman
On 2019-07-11 21:28, Nuno Silva wrote:

> vlock -n -a

Does vlock work from an XWindow session?  Or would I have to use it on
top of whatever I do to lock the XWindow session - xscreensaver/i3lock
etc?

(I browsed to the vlock README page on github but it doesn't answer this
question.)

-- 
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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



[gentoo-user] Re: conditional sysctl tweaks?

2019-07-12 Thread Ian Zimmerman
On 2019-07-12 07:12, Nikos Chantziaras wrote:

> > What is the cleanest way to handle the situation when a new sysctl knob
> > is introduced by a kernel release and I want to use it, but I also have
> > older kernels around?
> 
> What's the point of that?

What's 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 and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.



  1   2   3   4   5   6   7   8   >