Re: [gentoo-user] SNAFU

2021-09-02 Thread Neil Bothwick
On Thu, 2 Sep 2021 10:35:49 -0400, Alan Grimes wrote:

> Chromium has been a heaping pile of crash these days so I've been
> running update every few days to try to get a working version.
> 
> 
> Ok, apparently gcj is not a thing anymore and has broken libidn (iirc), 
> 
> I got around that with a useflag...
> 
> As always, Gentoo finds new and more bizare ways to FAIL.
> 
> I noticed that udev wasn't building which is instantly a 3-alarm fire,
> if not worse...
> 
> Library dl found: YES
> 
> ../systemd-249/meson.build:910:0: ERROR: C shared or static library
> 'crypt' not found
> 
> A full log can be found at
> /var/tmp/portage/sys-fs/udev-249-r2/work/systemd-249-abi_x86_32.x86/meson-logs/meson-log.txt
>  * ERROR: sys-fs/udev-249-r2::gentoo failed (configure phase):
>  *   (no error message)
>  *
>  * Call stack:
>  * ebuild.sh, line  127:  Called src_configure
>  *   environment, line 4090:  Called multilib-minimal_src_configure
>  *   environment, line 2862:  Called multilib_foreach_abi
> 'multilib-minimal_abi_src_configure'
>  *   environment, line 3115:  Called multibuild_foreach_variant
> '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
>  *   environment, line 2792:  Called _multibuild_run
> '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
>  *   environment, line 2790:  Called _multilib_multibuild_wrapper
> 'multilib-minimal_abi_src_configure'
>  *   environment, line  710:  Called multilib-minimal_abi_src_configure
>  *   environment, line 2856:  Called multilib_src_configure
>  *   environment, line 3341:  Called meson_src_configure
>  *   environment, line 2726:  Called die
>  * The specific snippet of code:
>  *   "${mesonargs[@]}" ) || die
>  *
>  * If you need support, post the output of `emerge --info
> '=sys-fs/udev-249-r2::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=sys-fs/udev-249-r2::gentoo'`.
>  * The complete build log is located at
> '/var/tmp/portage/sys-fs/udev-249-r2/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/sys-fs/udev-249-r2/temp/environment'.
>  * Working directory:
> '/var/tmp/portage/sys-fs/udev-249-r2/work/systemd-249-abi_x86_32.x86'
>  * S: '/var/tmp/portage/sys-fs/udev-249-r2/work/systemd-249'
> sys-fs/udev-249-r2/temp/build.log lines 156-206/206 (END)
> 
> 
> Libxcrypt, I guess???
> 
> 
> Ok, so what's wrong with libxcrypt...
> 
> make[2]: Leaving directory
> '/var/tmp/portage/sys-libs/libxcrypt-4.4.25/work/libxcrypt-4.4.25-xcrypt_nocompat-abi_x86_64.amd64'
> make[1]: Leaving directory
> '/var/tmp/portage/sys-libs/libxcrypt-4.4.25/work/libxcrypt-4.4.25-xcrypt_nocompat-abi_x86_64.amd64'
> >>> Completed installing sys-libs/libxcrypt-4.4.25 into  
> /var/tmp/portage/sys-libs/libxcrypt-4.4.25/image
> 
>  * Final size of build directory: 11572 KiB (11.3 MiB)
>  * Final size of installed tree:   1808 KiB ( 1.7 MiB)
> 
>  * checking 38 files for package collisions
>  * This package will overwrite one or more files that may belong to
> other
>  * packages (see list below). You can use a command such as `portageq
>  * owners / ` to identify the installed package that owns a
>  * file. If portageq reports that only one package owns a file then do
>  * NOT file a bug report. A bug report is only useful if it identifies
> at
>  * least two or more packages that are known to install the same
> file(s).
>  * If a collision occurs and you can not explain where the file came
> from
>  * then you should simply ignore the collision since there is not enough
>  * information to determine if a real problem exists. Please do NOT file
>  * a bug report at https://bugs.gentoo.org/ unless you report exactly
>  * which two packages install the same file(s). See
>  * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
>  * to solve the problem. And once again, please do NOT file a bug report
>  * unless you have completely understood the above message.
>  *
>  * Detected file collision(s):
>  *
>  *  /usr/include/crypt.h
>  *  /lib64/libcrypt.so.1
>  *
>  * Searching all installed packages for file collisions...
>  *
>  * Press Ctrl-C to Stop
>  *
>  * sys-libs/glibc-2.33-r7:2.2::gentoo
>  *  /lib64/libcrypt.so.1
>  *
>  * Package 'sys-libs/libxcrypt-4.4.25' NOT merged due to file
> collisions.
>  * If necessary, refer to your elog messages for the whole content of
> the
>  * above message.
> 
> 
> Obviously, anything associated with glibc is protected by the DO NOT
> TOUCH ANYTHING ASSOCIATED WITH GLIBC FOR ANY REASON, EVER. rule...
> 
> So I'm roadblocked. =(
> 
Did you read the news item from 23/7/21? It will have popped up when you
synced.

https://www.gentoo.org/support/news-items/2021-07-23-libxcrypt-migration.html


-- 
Neil Bothwick

You couldn't get a job as a firing squad target.


pgpHGbNATXVQH.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Neil Bothwick
On Tue, 31 Aug 2021 20:44:50 +0100, Michael wrote:

> > systemd-boot and refind both support everything on EFI. I am pretty
> > sure GRUB does too, but I have no reason to use GRUB with EFI. My
> > setup on this box is /boot on FAT32 and / (and everything else) on
> > btrfs. I've also used the same setup with ZFS.  
> 
> Any boot option on a UEFI MoBo requires an 'EFI System Partition'
> (ESP), formatted as VFAT.  The UEFI firmware boot loader will
> list/load/run any *.efi software stored in the ESP compatible with the
> UEFI API, whether this is a boot loader, a kernel with an EFI stub, or
> some .efi diagnostic application.
> 
> As long as your boot loader of choice, or kernel image and any initrd
> contains the requisite fs drivers, there will be no problem mounting
> and accessing whatever root fs needs to be accessed.
> 
> GRUB contains a number of ZFS modules to do this job (zfscrypt.mod, 
> zfsinfo.mod, zfs.mod) - not sure about the other boot managers.
> 
> Typical GRUB installations have /boot/efi mounted on the ESP, with the 
> grubx64.efi image on it, while the rest of the files, vmlinuz symlinks,
> etc. are on the root partition.
> 
> Please beware, I have not used zfs to date, only btrfs, so the above
> merely reflects my understanding rather than in depth experience of the
> difficulty in managing such a setup. 

I find it simpler to make /boot a FAT partition, then /boot/efi is the
ESP and all boot-related files are on the same filesystem. Like you, I
have only used this with btrfs (and ext4 on LVM). I do use ZFS but that
system is not EFI.


-- 
Neil Bothwick

Theory is when you know everything, but nothing works.
Reality is when everything works, but you don't know why.
However, usually theory and reality are mixed together :
Nothing works, and nobody knows why not.


pgpimEf06G9h9.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Neil Bothwick
On Tue, 31 Aug 2021 14:21:35 -0400, Rich Freeman wrote:

> > If you are multibooting frequently and getting into the UEFI boot
> > menu to change the boot order or running efibootmgr is too much
> > hassle, then a 3rd party boot manager will be useful.  Your choice of
> > GRUB, rEFInd, systemd-boot, syslinux, EFI executable image will be
> > installed and loaded/run by the UEFI firwmare from the ESP, with
> > which in turn you will select and load your desired OS.
> >  
> 
> So, which (if any) of these options supports either:
> 
> 1. An EFI partition plus /boot on zfs (with no limitations on pool
> config, ie it can be a root pool).
> 2. An EFI partition that contains everything.
> 
> If I want to use grub+EFI with a zfs root it sounds like I'd need TWO
> boot partitions - an EFI partition (FAT32), and a /boot partition
> (anything, but if ZFS it needs to have controlled features).  That
> seems even more messy than what I'm doing now.

systemd-boot and refind both support everything on EFI. I am pretty sure
GRUB does too, but I have no reason to use GRUB with EFI. My setup on
this box is /boot on FAT32 and / (and everything else) on btrfs. I've
also used the same setup with ZFS.


-- 
Neil Bothwick

If a book about failures doesn't sell, is it a success?


pgpcYZfW2Hspk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-31 Thread Neil Bothwick
On Tue, 31 Aug 2021 09:33:06 -0400, John Covici wrote:

>  or if there is a way to add zfs to the sysresc cd, I might do
> that.

There is, I posted a link last week.

>> You can also add additional modules to sysrescd, so it may be easier to
>> stick with that and add ZFS to it.
>> 
>> Looking at https://www.system-rescue.org/Modules/ it looks like you just
>> install them after booting the live USB then run cowpacman2srm to put
>> everything you installed onto a file that you add to the USB stick. See
>> the section titled "Creating SRM modules out of pacman packages".


-- 
Neil Bothwick

Snacktrek, n.:
 The peculiar habit, when searching for a snack, of constantly
 returning to the refrigerator in hopes that something new will have
 materialized.


pgpIK6tUhqTAQ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Vanishing tab bar in Firefox

2021-08-25 Thread Neil Bothwick
On Wed, 25 Aug 2021 11:35:26 +0100, Peter Humphrey wrote:

> > >   As the Firefox dir is all text files, I think, when you
> > > blow it away and rebuild and get the correct behaviour, grab a
> > > copy. When the dodgy behaviour returns diff the copy, with the good
> > > behaviour, against the current dir, with the dodgy behaviour, and
> > > see what's changed. That may lead to an indication of what's being
> > > naughty.  
> 
> > Good idea. Thanks Andrew.  
> 
> Just a small matter of 308 files to check.  :)

diff -r old/ new/ >lotsofstuff/txt :)


-- 
Neil Bothwick

WinErr 004: Erroneous error - Nothing is wrong


pgpJfQTm9Kjcn.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-24 Thread Neil Bothwick
On Tue, 24 Aug 2021 02:57:04 -0400, John Covici wrote:

> OK, I will check that out, thanks.  It looks like that complete gentoo
> system mentioned in the forums is looking decent, except its quite
> large, I am checking that one also.

You can also add additional modules to sysrescd, so it may be easier to
stick with that and add ZFS to it.

Looking at https://www.system-rescue.org/Modules/ it looks like you just
install them after booting the live USB then run cowpacman2srm to put
everything you installed onto a file that you add to the USB stick. See
the section titled "Creating SRM modules out of pacman packages".


-- 
Neil Bothwick

Assassins do it from behind.


pgpVlaD_Jfz5M.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 16:57:11 -0400, John Covici wrote:

> So back to my original question, I downloaded -- after a lot of
> trouble finding it -- the Ubuntu 21.04 live server as they call it,
> but I cannot find any documentation as to how to use it as a rescue
> disk -- seems to be just an install disk.  Am I missing something
> here?

Use the desktop disc, I don't think the server one is a live environment
(it wouldn't make much sense for a server). Either use an xterm on the
desktop or find the invocation to boot to a console, possibly adding
"systemd.unit=multi-user.target" to the kernel options.


-- 
Neil Bothwick

You are a completely unique individual, just like everybody else.


pgpQSykKGlLIi.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 19:50:38 +, Vitor Hugo Nunes dos Santos wrote:

> GRUB purposefully has lacking documentation, as they are not friendly
> towards ZFS as a whole

That's ridiculous, if they can support it with code, they can support it
with documentation.

> and also because most people doing ZFS nowadays
> do an EFISTUB setup with no GRUB, exactly to avoid these issues.

What about those for whom EFI is not an option?


-- 
Neil Bothwick

"Most problems go away if you just wait long enough. It might look like
I'm standing motionless but I'm actively waiting for our problems to go
away. I don't know why this works but it does."
Scott Adams, Dilbert comic


pgpvzXqQCg_g6.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 14:02:29 -0400, Rich Freeman wrote:

> > Aren't new features only applied to newly created pools and datasets?
> > If /boot was compatible with GRUB it should still be. At least that's
> > how I read the einfo messages zfs spits out.  
> 
> That is correct.  I want to know when I can enable the new features.
> Of course, it would also be nice to know which features must be
> disabled when creating a new boot pool.
> 
> It is just frustrating that as far as I can tell, there is no
> documentation about what features grub supports.  It wouldn't be hard
> for them to just say "here are the zpool features known to work in
> grub version foo."  The best I've found is the Arch wiki, which has
> the disclaimer that it is probably out of date and to check the man
> pages, but of course the man pages don't actually say anything.

All I could find was this:

http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/fs/zfs/zfs.c#n276

For a program with so much documentation, GRUB seems sorely lacking in
this respect. It makes me glad I decided to keep /boot off my zpools.


-- 
Neil Bothwick

Is that "woof" feed me; "woof" walk me; "woof" there's a burglar? What??


pgpCslt5EGaIo.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 13:37:01 -0400, Rich Freeman wrote:

> > Your root pool setup doesn't really matter for GRUB compatibility.
> > What's important is that you have the proper features setup on your
> > boot pool. That's the one GRUB loads.  
> 
> Sure, and in this case /boot is on my root pool.
> 
> In any case, it would be nice if there was some way to tell what zpool
> features grub requires, as it is a limiting factor for whatever pool
> /boot happens to be on.

Aren't new features only applied to newly created pools and datasets? If
/boot was compatible with GRUB it should still be. At least that's how I
read the einfo messages zfs spits out.


-- 
Neil Bothwick

Don't cry because it's over. Smile because it happened.


pgppb6_Ps0u7T.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Firmware updates

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 16:08:08 +0200, Dr Rainer Woitok wrote:

> off and on I'm receiving updates of packages  "sys-firmware/intel-micro-
> code" and "sys-kernel/linux-firmware".  My kernel has
> 
>$ grep ^CONFIG_EXTRA_FIRMWARE /usr/src/linux/.config
>CONFIG_EXTRA_FIRMWARE="intel-ucode/06-5e-03 i915/skl_dmc_ver1_27.bin
> regulatory.db  regulatory.db.p7s iwlwifi-3160-17.ucode"
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" $
> 
> Is there any need  for some postprocessing  like booting  when either of
> these packages is updated?   Normally my laptop  is regularly hibernated
> but it is rarely booted.

Not every update of the microcode package has updates for every
processor, but when yours is affected, you need to reboot. I use
needrestart after all updates and then tells me if I need to reboot for
newer microcode.

Note that I don't compile the microcode into the kernel, I let emerge
create an initramfs for it, so I don't need to recompile my kernel when
there's an update, I suspect you do.


-- 
Neil Bothwick

WinErr 01F: Reserved for future mistakes of our developers.


pgpZk_wyZRQtq.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] rescue cd for zfs 2.1 or thereabouts

2021-08-23 Thread Neil Bothwick
On Mon, 23 Aug 2021 04:15:10 -0400, John Covici wrote:

> Now, the problem is that I am using zfs and will not give it up, and
> the version I have been using 0.8.6 is no longer supported in 5.10
> versions of the kernel.  So, I need a newer version of zfs and a
> rescue cd in case I get into trouble.

It doesn't answer your question, other have done that, but FWIW I went
from ZFS 0.8.4 to 2.0 a year ago and it went without a hitch. Just emerge
the later ZFS packages first, check everything works then update your
kernel.


-- 
Neil Bothwick

I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last
week. Time to die.


pgpQBXNVBr0A5.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] X11 without udev/eudev

2021-08-21 Thread Neil Bothwick
On Sun, 22 Aug 2021 00:34:32 +0200 (CEST), k...@aspodata.se wrote:

> > This should have some of the info you need 
> > https://wiki.gentoo.org/wiki/Old_Fashioned_Gentoo_Install  
> 
> Well, I already have such a system, but developments since last
> year somehow just claims I have to have a lot of (for me) useless
> processes.
> 
> I have tried the overlay route, but since some time I get:
> 
>  * ERROR: x11-base/xorg-server-1.18.4::aspo failed (depend phase):
>  *   xorg-2.eclass could not be found by inherit()
>  * 

You need to grab xorg-2.eclass from the git history and put it in your
overlay. Be prepared to repeat this process with other files.


-- 
Neil Bothwick

"I laugh in the face of danger, then I hide until it goes away"


pgpCJYQwKqzj9.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] How to emergency manual install of libffi-compat.

2021-08-20 Thread Neil Bothwick
On Fri, 20 Aug 2021 10:08:26 +0100, Michael wrote:

> > Apparently installing libffi-compat will un-hose my system where ALL
> > SOFTWARE that needs FFI thru python is broken, especially all portage
> > tooling...
> > 
> > Is there a repository and walkthru for installing this?  
> 
> This may help:
> 
> https://wiki.gentoo.org/wiki/Project:Portage/Fixing_broken_portage
> 
> If that won't work for whatever reason, chroot into your system after
> you boot with the latest Live-USB and try to update @system.
> Alternatively, reinstall.

Boot into the live USB, if it has libffi-compat installed, you can
quickpkg it. Then you can untar the package into / before emerging it
properly.

In future, you should add buildpkg to FEATURES so that you always have
binary packages of software so you can roll back with tar in an emergency.


-- 
Neil Bothwick

We've all heard that a million monkeys banging on a million
typewriters will eventually reproduce the works of Shakespeare.
Now, thanks to the Internet, we know this is not true.


pgp3Hf04WeEfl.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Compile large packages as last package

2021-08-14 Thread Neil Bothwick
On Sat, 14 Aug 2021 21:20:23 +0200, Ramon Fischer wrote:

> Is there any way to tell "portage", that packages like "qtwebengine", 
> "(ungoogled-)chromium", "firefox" and so on are always compiled as last 
> package?

You can use the --exclude option for emerge. Maybe a script that runs
emerge @world with --exclude then again without?

While I haven't tried it with a script, I do use --exclude when chromium
is in the list because my laptop only has 8GB RAM, which means chromium
takes ages.



-- 
Neil Bothwick

Isn't 'Criminal Lawyer' rather redundant?


pgp7adfDN1yWU.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-08-06 Thread Neil Bothwick
On Thu, 5 Aug 2021 10:10:27 +0200, Dr Rainer Woitok wrote:

> > Why not write the output to a file ?  -- eg
> > 'emerge --ask --depclean > '.
> > Then you can look at the output at leisure, even on another machine.  
> 
> Depending on the  number of packages  you've installed  and depending on
> the speed of your rig "emerge --depclean" may take some time, and thus I
> tried to avoid  splitting it  into two calls,  one to just announce what
> would be done and one to really do it.
> 
> But meanwhile I'm suspecting that any call along the lines of
> 
># emerge --ask ... | $PAGER
> 
> is doomed to fail  because both,  "emerge"  and the pager  are trying to
> read the user's answer from the same input device (maybe "/dev/tty") and
> thus both are stumbling  over the other's feet.   The only way out would
> be just another option causing "emerge" to page internally.
> 
> Therefore my "edepclean" alias now calls "emerge" twice, like so:
> 
># emerge --depclean --pretend | $PAGER
># emerge --depclean -- ask --quiet

How about emerge -ca | tee >depclean.txt

Then if the list is short you can read it in the console and just hit y
or n. Otherwise, hit n and read the file. It will save calculating
dependencies twice, and we all know how slow that can be.


-- 
Neil Bothwick

A pessimist is an optimist who's given it some thought.


pgpYFGrG7aQwg.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-03 Thread Neil Bothwick
On Tue, 3 Aug 2021 15:35:41 +0200, n952162 wrote:

> > You should have seen a message from emerge --sync telling you that a
> > new version of portage was available and to run emerge -1au portage
> > before updating anything else.

> I find no informational messages containing "portage", "emerge", or
> "-1au" in any of the 3 sync runs I captured into one log file. I did
> double check news beforehand, but didn't find anything there.

I don't see them when syncing from a cron script, when all output is
captured and emailed, but do when running sync on a shell. It seems you
only see this when running sync interactively.


-- 
Neil Bothwick

Unsolicited advice is the junk mail of life


pgpPOwYwOElxt.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-08-03 Thread Neil Bothwick
On Tue, 03 Aug 2021 07:45:27 -0400, Alec Ten Harmsel wrote:

> >$ emerge --ask --depclean | less
> > 
> > did not work when tested with a single package to be removed: the
> > output from "emerge" was displayed  on less than a single screen
> > causing "less" to just terminate  due to my setting of environment
> > variable "LESS", but "emerge" never issued the question whether or
> > not to continue nor did it accept an answer.  I had to kill it with
> > "^C" from the shell. 
> 
> Depending what desktop environment/terminal emulator, there are a few
> options. You could use a terminal like gnome-terminal, konsole, etc.
> which have scroll so you can run `emerge -ca' and scroll to view the
> results. I run urxvt in i3 (not sure whether it scrolls or not), and I
> always run emerge inside of a tmux and use tmux's scroll to view all
> the output before making a decision, so you could also use tmux or
> screen.

Or you could use a different pager, most does not exhibit this behaviour.
There is probably a less setting to change this too.


-- 
Neil Bothwick

Linux like wigwam. No windows, no gates, Apache inside.


pgp2qrKTLH_yQ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] dev-python/isodate breaks my emerge because it's at EAPI?

2021-08-03 Thread Neil Bothwick
On Tue, 3 Aug 2021 07:20:47 +0200, n952162 wrote:

> I read that, but I last updated 2 months ago.  So, this update breaks
> because portage was updated and new ebuilds using that are already being
> pushed out?

You should have seen a message from emerge --sync telling you that a new
version of portage was available and to run emerge -1au portage before
updating anything else.


-- 
Neil Bothwick

If such a program has not crashed yet, it is waiting for a critical moment
before it crashes.
  -- Murphy's Computer Laws n\xB06


pgp4EwhT3b5tL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] emerge --sync keeps failing

2021-08-03 Thread Neil Bothwick
On Tue, 03 Aug 2021 09:55:46 +0100, Michael wrote:

> Anyhow, I recall using git to sync a live ebuild - from some repo
> and portage started downloading gigabytes of cruft.  Presumably whole
> decades of old commits I didn't need or have space for.  I subsequently
> discovered I had to set "EGIT_CLONE_TYPE=shallow" in make.conf, but I
> can't find this variable in the man page now.  I suppose/hope portage
> using git will only download more recent commits?

It does, you get just the current state of the tree by default, it's just
orders of magnitude faster, even compared with using rsync with a local
mirror. And I don't have to worry abut syncing too often and upsetting
infra as I'm syncing from github.


-- 
Neil Bothwick

Talk is cheap because supply exceeds demand.


pgpeCI718v3Nf.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] emerge --sync keeps failing

2021-08-02 Thread Neil Bothwick
On Mon, 02 Aug 2021 13:01:40 +0100, Michael wrote:

> > I have this problem every month.  Why does it fail?  Is it just a
> > timeout because my network is slow?  Can that be tweaked?  
> 
> I get this problem over here, but on rare occasions.  Leaving it for
> half a day usually fixes it.  Have you tried a different rsync mirror?
> You can use 'mirrorselect -i -r' for this task.

I used to see this from time to time, but then I switched to using git
instead of rsync and haven't seen it again. There's the added bonus that
syncing is MUCH faster too.


-- 
Neil Bothwick

WinErr 019: User error - Not our fault. Is Not! Is Not!


pgpp86ID1spVr.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-07-30 Thread Neil Bothwick
On Fri, 30 Jul 2021 18:30:28 - (UTC), Martin Vaeth wrote:

> > In a normal situation, with only one init system installed, there is
> > no need to do anything, because the virtual takes care of making sure
> > it is not deleted.  
> 
> It is not only about non-deletion. It is also about updating.
> Suppose that you have installed openrc and systemd, and only one of it
> is in @world (or depends on something from @world).
> Then emerge -NaDu @world won't update the other init-system - it becomes
> stale and might even have security bugs which are not fixed.
> That's why detecting that depclean would remove it is actually a good
> thing: It shows that something is not configured as you intended.

I would describe having two init systems a normal situation, although I
have done it myself when experimenting with systemd. So yes, in such a
situation, portage needs a hint as to your intentions, and @world is the
correct place for that.


-- 
Neil Bothwick

New sig wanted good price paid.


pgp803CAvuFEl.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-07-29 Thread Neil Bothwick
On Thu, 29 Jul 2021 21:29:46 - (UTC), Grant Edwards wrote:

> > Indeed, and it won't delete anything crucial for your system, and even
> > more, it won't delete anything what you need. But you have to tell
> > portage *what* you need and *what* is crucial for your system.
> > The handbook contains the instruction how to do this: Put the packages
> > you need into the @world file.  
> 
> I've been using Gentoo for 20 years, and this is the first time I've
> heard about the user being required to add the default init system
> (e.g. openrc) to the world file to prevent it from being
> "accidentally" removed by emerge --depclean.

Except that Alan has added an init system to @world, daemontools. so that
becomes the default init system, even if it is not the one he wants to be
the default.

Having added daemontools to @world, he then needs to let portage know
that this is not the init system he wants to use, by adding openrc to
@world.

In a normal situation, with only one init system installed, there is no
need to do anything, because the virtual takes care of making sure it is
not deleted. This is not a normal situation.


-- 
Neil Bothwick

Do they have reserved parking for non-handicapped people at the Special
Olympics?


pgpAWyum2FjlP.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-07-27 Thread Neil Bothwick
On Tue, 27 Jul 2021 16:32:04 -0400, Michael Orlitzky wrote:

> > Instead of continually beating on portage on this list, which will
> > achieve nothing more than a minor waste of electrons, you should be
> > focussing on getting the ebuilds fixed so that portage is no longer
> > given conflicting or incorrect information.  
> 
> In most cases this is good advice. The problem with djbdns/qmail is
> that they are abandoned upstream, and kept alive in Gentoo only by a
> patchwork of... well, patches.

I was thinking more along the lines of a USE flag, as suggested first by
Rich. Add a system-init flag to daemontools, defaulting to off, and have
the virtual depend on daemontools[system-init] and the problem goes away
with the only cost being the unnecessary requirement to rebuild
daemontools.


-- 
Neil Bothwick

The word 'Windows' is a word out of an old dialect of the Apaches.
It means: 'White man staring through glass-screen onto an hourglass...')


pgpahRBbccqv9.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: --depclean wants to remove openrc. Yikes!

2021-07-27 Thread Neil Bothwick
On Tue, 27 Jul 2021 20:02:07 +, Alan Mackenzie wrote:

> I know I'm repeating myself, but I don't think an OS should ever delete
> critical parts of itself unless explicitly requested by the user.
> Perhaps not even then, but I wouldn't go that far.  The fact that
> portage does this means IMHO that something has gone wrong.

Yes it has, but it is not portage. Portage is only doing what you have
told it, remove superfluous packages. By including daemontools in @world
you have told it, albeit unintentionally, that you want that init system,
making openrc superfluous.

What has gone wrong is that daemontools is considered an init system when
you have not installed it as such, so the issue is with either the
daemontools or the virtual.

Since you like quotes, here's another - "computers do what you tell them
to do, not what you ant them to do". This is a classic example of that,
portage is simply demonstrating the principle of GIGO.

Instead of continually beating on portage on this list, which will
achieve nothing more than a minor waste of electrons, you should be
focussing on getting the ebuilds fixed so that portage is no longer given
conflicting or incorrect information.

You shouldn't give computers conflicting instructions, looked what
happened when they did that with the HAL 9000 :-/


-- 
Neil Bothwick

"I heard Tasha Yar is the Enterprise's expert on Data entry."


pgpJJPsxBKGry.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Neil Bothwick
On Sun, 25 Jul 2021 17:25:17 +, Alan Mackenzie wrote:

> The number of people who would lose their systems by this mechanism is
> likely very small, but that loss would probably involve a
> re-installation.  I mean all a victim has to go on is the fact that his
> machine won't boot, combined with a memory of having run emerge
> --depclean the night before.

So boot into busybox or a rescue disk, look in emerge.log to see what
changed and undo it. I think a "Can't find init" message would be fairly
easy to understand.

> > It seems that Rich's suggestion has the most merit, add a USE flag to
> > daemontools to indicate that it is intended to be your service
> > manager, and have the virtual require that flag. Yes, it would
> > require a one-off rebuild of daemontools for everyone with it
> > installed, but the potential for breakage would be removed.  
> 
> Another idea I had today is to have two packages, daemontools and
> daemontools-init, which would be identical, apart from the fact that
> only the second of these would satisfy virtual/service-manager.

See below.

> I can't help feeling that maybe portage has become too complicated.

See above.

Actually, this has little to do with portage, which s doing exactly what
you told it to do - remove all unnecessary/unwanted packages. The problem
is in your configuration that tells portage that openrc is not needed. If
you want a simple, clean and reasonably permanent solution that doesn't
involve putting openrc in @world, copy the virtual to your local overlay
and remove the daemontools dependency.


-- 
Neil Bothwick

Bus: (n.) a connector you plug money into, something like a slot machine.


pgpy9NDOL6Ami.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Neil Bothwick
On Sun, 25 Jul 2021 13:43:46 +, Alan Mackenzie wrote:

> > It may be critical for *your* system ... :-)  
> 
> Just as systemd is for your system.  If you'd installed daemontools you
> would also have come within a keystroke of destroying your system, just
> as I did, on attempting emerge --depclean.  You would have received no
> warning of any kind on installing the package, and there would be no
> documentation brought to your attention about the potential catastrophe.

This is a valid point, that appears to have been obscured by some of the
discussions about the cause. As to whether it would render the system
unbootable, I have no idea, would daemontools have taken care of that.

It seems that Rich's suggestion has the most merit, add a USE flag to
daemontools to indicate that it is intended to be your service manager,
and have the virtual require that flag. Yes, it would require a
one-off rebuild of daemontools for everyone with it installed, but the
potential for breakage would be removed.

If I had to allocate blame for this, I would say it is the virtual that
is the cause of the problem. With the current setup, unmerging openrc is
the only way for depclean to deal with it when you have daemontools in
@world.


-- 
Neil Bothwick

Top Oxymorons Number 41: Good grief


pgp0ucdbJwt78.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Neil Bothwick
On Sun, 25 Jul 2021 11:47:40 +, Alan Mackenzie wrote:

> > > I would say all packages in @system _are_ needed, unless the user
> > > explicitly says otherwise.  
> 
> > They are, @system is a set of packages and nothing it it will be
> > depcleaned. However, openrc is not part of @system, the virtual is.  
> 
> Ah, that's it.  So we have critical system packages which aren't part of
> @system.  I think openrc is a critical system package.

openrc is not necessarily critical, just some sort of service manager.
that's the whole point of a virtual, to handle different use cases and
requirements.

> > That is possible, but it is also possible that this is entirely down
> > to you installing things outside of portage and handling their
> > dependencies manually, creating unwanted side-effects like this.  
> 
> Quite the contrary.  If I'd've stuck to the daemontools I installed from
> a tarball, this whole thing wouldn't have happened.  It's BECAUSE I
> switched to using the portage version that this danger reared its ugly
> head.

My point is that you are mixing portage and non-portage packages, that's
why portage is getting confused. I don't know much about daemontools, but
it seems the sort of package that should not be in @world, but only
installed as a dependency of something else.

I'm nit suggesting that you should avoid non-portage packages, that may
be impossible or undesirable, but you should be aware of possible
consequences. When I need portage to install dependencies to a
non-portage package, I generally create a set for them, so you could
create qmail-deps containing both daemontools and openrc and emerge it.
Then you are safe from either being depcleaned. If you ever decide to
stop using qmail, you can just unmerge the set and let portage clean up.

> > > Maybe the answer is to regard --depclean as a tool for experts only,
> > > since it is capable in ordinary innocent use of rendering a system
> > > unusable.  
> 
> > I feel it's more a case of Gentoo being a system for those that
> > understand what they are doing with the system - with great power
> > comes great responsibility and all that.  
> 
> That feels needlessly patronising, Neil.  I fear the Gentoo maintainers
> will take the same attitude.  Not only can the user shoot himself in the
> foot, but it's Gentoo that provides the gun, innocently wrapped, with a
> "press here" direction on the packaging above a hidden trigger.  Nobody
> accepts any responsibility for preventing accidents.

It wasn't meant to be patronising, but you should be aware of what is
going on. In this case you were because although portage suggested
removing openrc, you sensibly declined the offer.
 
> The implication of what you say is that nobody should use portage
> without understanding every last intricate detail of it.  This doesn't
> feel reasonable.

No, but it is a system that demands a greater level of understanding from
its users than, say, apt or rpm.

> Nobody but me seems to see anything wrong with all this.  It's one thing
> saying users should look after themselves, but surely it's quite another
> thing to provide an obsure mechanism where one's one keypress away from
> destroying ones system.

You could cripple it but not destroy it. It would not be nice, but you
can recover from the accidental removal of openrc or even python.
Fortunately, you don't have to find out exactly how not nice :)


-- 
Neil Bothwick

- How many surrealists does it take to change a light bulb?
- Two: one to hold the giraffe, the other to fill the bathtub with
  lots of brightly colored machine tools.


pgpykLyJBxQD7.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-25 Thread Neil Bothwick
On Sat, 24 Jul 2021 21:01:34 +, Alan Mackenzie wrote:

> > > It seems it's insisting on removing all packages but one which
> > > satisfy a virtual.  Maybe that is unwise, and it should keep _all_
> > > such packages which are currently installed.  
> 
> > Well, the whole point of an any-of dependency is to only require one
> > of them.  Why force packages to stick around if they aren't needed?  
> 
> I would say all packages in @system _are_ needed, unless the user
> explicitly says otherwise.

They are, @system is a set of packages and nothing it it will be
depcleaned. However, openrc is not part of @system, the virtual is.

> > Now, whether daemontools actually should satisfy the dependency I
> > don't want to comment on without doing more research.  Surely though
> > there is little point in having openrc and systemd and runit on the
> > same system unless the user explicitly wants this (and if they do they
> > can just stick them in @world).  
> 
> The user might be switching between them, doing comparisons.  (No, I
> don't know if this is practical.)  I don't know either whether it's
> practical to boot Gentoo with just daemontools.  But there are use cases
> which require both openrc and daemontools on the same system, so there's
> something not quite right about the service-manager ebuild, or emerge.

That is possible, but it is also possible that this is entirely down to
you installing things outside of portage and handling their dependencies
manually, creating unwanted side-effects like this.

> I think that would be solving the wrong problem.  The fact is, it is
> easy, far too easy, to shoot yourself in the foot here.  As well as
> openrc, --depclean also wanted to remove nano (the editor) for the same
> reason.  That might be serious for some people.

It did that because you have another suitable editor installed. I don't
like nano so I'm happy to install something else that satisfies
virtual/editor and let depclean get rid of nano, knowing that it won't do
it unless I already have a suitable alternative installed.

> Maybe the answer is to regard --depclean as a tool for experts only,
> since it is capable in ordinary innocent use of rendering a system
> unusable.

I feel it's more a case of Gentoo being a system for those that
understand what they are doing with the system - with great power comes
great responsibility and all that.


-- 
Neil Bothwick

Caution, an incorrigible punster - don't incorrige.


pgpjz1KCrrge_.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] --depclean wants to remove openrc. Yikes!

2021-07-21 Thread Neil Bothwick
On Wed, 21 Jul 2021 22:13:50 +0200, tastytea wrote:

> > emerge included openrc (the only version of it on my system) in the
> > packages it planned to remove.  It was kind enough to give me a
> > warning that this "might" do bad things, but I was somewhat shocked
> > to see it there at all.  I might have accidentally typed 'y' instead
> > of 'n'.
> > 
> > Maybe the program wants revenge at me executing so seldomly.  Or
> > something like that.

Well, it would help if you ran it more often.

> > But now, my question is how can I trust --depclean even a little bit
> > after that?  Do I have to go through all the package versions,
> > manually removing the obsolete ones?  There are several hundred.  :-(
> >  
> 
> I'm not sure why it would want to remove openrc, as far as I know it
> should be part of the @system set unless you're on a systemd profile.

It's the first dependency of virtual/system-manager, which in turn is
part of @system. I don't see why it would be removed unless you have
something else installed that satisfies the virtual , such as systemd or
runit.

> You can record it in your @world set with `emerge --select --noreplace
> sys-apps/openrc`. That should prevent accidental removals.

It would, but it doesn't address the issue of why portage wants to remove
it.


-- 
Neil Bothwick

mandelbug /man'del-buhg/ n.
 [from the Mandelbrot set] A
   bug whose underlying causes are so complex and obscure as to make
   its behavior appear chaotic or even non-deterministic.  This term
   implies that the speaker thinks it is a Bohr bug, rather than
   a heisenbug.  See also schroedinbug.


pgpP4DvBDXCVH.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: world update gone astray portage will not let me continue

2021-07-19 Thread Neil Bothwick
On Tue, 20 Jul 2021 07:36:27 +0100, (Nuno Silva) wrote:

> As this is a problem with generating documentation, have you tried the
> following as a workaround?:
> 
> USE=-doc emerge -1a media-libs/harfbuzz

It is recommended that you do not enable the doc USE flag globally, but
only for those packages where you need the extra documentation.

% grep \^doc /var/portage/profiles/use.desc
doc - Add extra documentation (API, Javadoc, etc). It is recommended to enable 
per package instead of globally


-- 
Neil Bothwick

If I agreed with you, we'd both be wrong.


pgpfZoqeMcQAt.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] world update gone astray portage will not let me continue

2021-07-19 Thread Neil Bothwick
On Mon, 19 Jul 2021 17:17:07 -0400, John Covici wrote:

> Calculating dependencies  . done!
>  * One or more packages are either masked or have missing
>  dependencies:
>   *
>*   >=dev-libs/icu-51.2-r1:0/68.2=[abi_x86_64(-)] pulled in by:
> * (media-libs/harfbuzz-2.8.1:0/0.9.18::gentoo, installed)
>  *
>* The resume list contains packages that are either masked or
> have
>   * unsatisfied dependencies. Please restart/continue the
> operation
>   * manually, or use --skipfirst to skip the first package in
> the list and
>   * any other packages that may be masked or have missing
> dependencies.

Did you try using --skipfirst as suggested?


-- 
Neil Bothwick

Windows - From the people who brought you EDLIN!


pgp2hZxgcp7ky.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] pango, freetype, and harfbuzz: circular dependencies?

2021-07-17 Thread Neil Bothwick
On Sat, 17 Jul 2021 18:19:46 +0200, Matthias Hanft wrote:

> doing the weekly "emerge --sync" and "emerge -aDuv @world", portage
> suddenly asks me to set the "harfbuzz" USE flag for "freetype".
[snip]
> Of course, I just could do that, but "equery u freetype" tells me for
> "harfbuzz": "WARNING: may trigger circular dependencies!"

The operative word here is "may". Try setting it, you may well find that
the emerge proceeds with no problems, it did on the three systems I had
to do it on.

No point worrying about a problem that may not exist.


-- 
Neil Bothwick

Life is pleasant. Death is peaceful. Its the transition thats
troublesome. - Isaac Asimov


pgpieNtFvavwC.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Since when does module-rebuild delete modules for previous kernel version?

2021-07-10 Thread Neil Bothwick
On Sat, 10 Jul 2021 11:22:38 +0300, Nikos Chantziaras wrote:

> Right. However, it's obvious I've hit a portage inconsistency here. For 
> example, when I use:
> 
>CONFIG_PROTECT="blah"
> 
> in make.conf, "blah" is appended to CONFIG_PROTECT. But for whatever 
> reason, this is not the case for UNINSTALL_IGNORE. It completely nukes 
> the default value instead. I had to change this to:
> 
>UNINSTALL_IGNORE="${UNINSTALL_IGNORE} /usr/src"

I've seen these inconsistencies before. The documentation usually states
when a variable's contents are replaced rather than appended to, so I'd
suggest a bug report against the make.conf man page.


-- 
Neil Bothwick

"Everything takes longer than expected, even when you take
  into account Hoffstead's Law." - Hoffstead's Law


pgp41lk0MqIhP.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Since when does module-rebuild delete modules for previous kernel version?

2021-07-08 Thread Neil Bothwick
On Thu, 8 Jul 2021 02:46:32 +0300, Nikos Chantziaras wrote:

> > Hasn't this always been the case. emerging a package removes files
> > installed by the previous merge.
> > 
> > I think adding /lib/modules to CONFIG_PROTECT will prevent their
> > deletion.  
> 
> I just tried that after "eselect kernel set 1" and rebuilding modules, 
> and it doesn't help.

Shame, the man page indicates that it should:
"In addition to protecting overwritten files, Portage will not delete any
 files from a protected directory when a package is unmerged."

> I am quite sure the modules were not uninstalled in my old system. It 
> could be that I had to set some option somewhere, but I don't remember
> :-/

I've just tried letting it re-emerge virtualbox-modules here and the old
modules are still there.


-- 
Neil Bothwick

WinErr 678: This will end your Windows session. Do you want to play
another game?


pgpq7e6rYs3QE.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Since when does module-rebuild delete modules for previous kernel version?

2021-07-07 Thread Neil Bothwick
On Thu, 8 Jul 2021 02:09:17 +0300, Nikos Chantziaras wrote:

> So far, so good. But when I ran "emerge @module-rebuild", which
> rebuilds these two packages:
> 
>app-emulation/vmware-modules
>x11-drivers/nvidia-drivers
> 
> The vmwware and nvidia kernel modules got deleted from 
> /lib/modules/5.10.47-gentoo.
> 
> This is bad. When did this change? How can I prevent this from
> happening?

Hasn't this always been the case. emerging a package removes files
installed by the previous merge.

I think adding /lib/modules to CONFIG_PROTECT will prevent their
deletion. 


-- 
Neil Bothwick

It is impossible to fully enjoy procrastination
unless one has plenty of work to do.


pgp_uuB13jeJE.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] system.map file in /boot. How to manage?

2021-07-01 Thread Neil Bothwick
On Thu, 1 Jul 2021 09:41:27 -0500, Dale wrote:

> > grub-mkconfig only reads the files, it is the make install step of
> > kernel installation that takes care of copying the files to /boot
> > with the correct version numbers. ISTR Dale prefers to copy the
> > kernel files manually, which is why his System.map is not versioned.

> I do copy mine manually.  It's how it was done when I first started
> using Gentoo and I just stuck with it, it works.  It's just one
> additional file.  Thing is, I may read up on the script way of doing
> things.  It may help make dracut and grub-mkconfig happy.  Sometimes I
> have to fiddle with names to get them both happy.  I suspect the script
> tools handle that with ease. 

make install names the files in a way that dracut and grub-mkconfig
recognise. Just run make install after make modules install. You've let
the makefile copy all the other files, you may as well let it handle the
final two :)


-- 
Neil Bothwick

By the time you can make ends meet, they move the ends.


pgpvs_sHb1ci2.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] system.map file in /boot. How to manage?

2021-07-01 Thread Neil Bothwick
On Thu, 1 Jul 2021 13:16:29 +0200, Dr Rainer Woitok wrote:

> Same here.   And whenever  I configure  a new kernel  my kernel managing
> script makes sure both,  the kernel I'm currenty running on  and the one
> just configured are in "@world".  That way "emerge --depclean" will nev-
> er remove a kernel package.

You can also do that with sets. Add this to sets.conf

[kernels]
class = portage.sets.dbapi.OwnerSet
world-candidate = False
files = /usr/src

add emerge -n @kernels once. Then depclean will never touch a kernel
source package.

> > ...
> >  Should I version the
> > system.map file the same as kernels?  
> 
> Not sure about that.   Mine ARE versioned.   That's probably what "grub-
> mkconfig" is doing by default.

grub-mkconfig only reads the files, it is the make install step of kernel
installation that takes care of copying the files to /boot with the
correct version numbers. ISTR Dale prefers to copy the kernel files
manually, which is why his System.map is not versioned.


-- 
Neil Bothwick

Suborbital Ballistic-Propulsion Engineer
Not Exactly A Rocket Scientist


pgpQ5dtdU3GZs.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] [OT] Using an odd number of drives in ZFS RaidZ

2021-06-30 Thread Neil Bothwick
On Tue, 29 Jun 2021 15:56:49 +0200, Frank Steinmetzger wrote:

> I reached 80 % usage (which is the recommended maximum for ZFS) and am
> now evaluating my options for the coming years.
> 1) Reduce use of space by re-encoding. My payload is mainly movies,
> among which are 3 TB of DVDs which can be shrunk by at least ⅔ by
> re-encoding. → this takes time and computing effort, but is a long-term
> goal anyway. 2) Replace all drives with bigger ones. There are three
> counter arguments:
>• 1000 € for four 10 TB drives (the biggest size available w/o
> helium)
>• they are only available with 7200 rpm (more power, noise and heat)
>• I am left with four perfectly fine 6 TB drives
> 3) Go for 4+2 RaidZ2. This requires a bigger case (with new PSU due to
>different form factor) and a SATA expansion card b/c the Mobo only
> has six connectors (I need at least one more for the system drive),
> costing 250 € plus drives.
> 4) Convert to RaidZ1. Gain space of one drive at the cost of
> resilience. I can live with the latter; the server only runs
> occasionally and not for very long at a time. *** This option brings me
> to my question above, because it is easy to achieve and costs no €€€.

5) (or 3a) Add an eSATA card and expand the RAID with external drives.
   That way you can stick with 6TB drives. 


-- 
Neil Bothwick

Bagpipe for free: Stuff cat under arm. Pull legs, chew tail.


pgptOWsd60WUL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Python-3.9 and emerge problems

2021-06-18 Thread Neil Bothwick
On Fri, 18 Jun 2021 09:54:09 -0400, John Covici wrote:

> > Same problem with 3.0.20-r3 but then I found
> > https://bugs.gentoo.org/796584, changing sets.conf got rid of the
> > issue.  
> 
> hmmm, I don't have a file like that at all, what should be in that
> file -- I don't even have a /usr/portage at all.
> 
The system sets are in /usr/share/portage/config/sets, but they all had
exclude-files where needed. The culprits were my user-defined sets in
/etc/sets.conf. For example:

[kernels]
class = portage.sets.dbapi.OwnerSet
world-candidate = False
files = /usr/src
exclude-files = ''

Adding that last line stopped the breakage. This sort of change should
have been accompanied by an einfo message at the very least, preferable a
news item.


-- 
Neil Bothwick

Top Oxymorons Number 43: Genuine imitation


pgpiq1yd0KKBM.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Python-3.9 and emerge problems

2021-06-18 Thread Neil Bothwick
On Fri, 18 Jun 2021 13:07:10 +0100, Neil Bothwick wrote:

> I had the same a couple of days ago and had to downgrade portage from
> 3.0.20 to 3.0.18, by untarring the binary package to /. However, that
> needed python 3.8, so I also had to untar the binary package for that.
> Then I re-emerged portage-3.0.18 and python-3.8 and masked
> portage-3.0.20. Once I had re-emerged portage-3.0.18, it worked with
> python 3.9.
> 
> I see that portage 3.0.20-r3 is here now, so I'll try emerging that on
> one system and see what happens.


Same problem with 3.0.20-r3 but then I found
https://bugs.gentoo.org/796584, changing sets.conf got rid of the issue.


-- 
Neil Bothwick

Of all the people I've met you're certainly one of them.


pgpR5OBXzEKpF.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] New install - root is mounted read-only

2021-06-18 Thread Neil Bothwick
On Fri, 18 Jun 2021 10:55:32 +0100, Wols Lists wrote:

> I've started tackling my new build again, and when it boots root is
> read-only. Hopefully I've just missed something stupid, but how to I get
> it to transition read-write?
> 
> System is grub, systemd, and root is an lv ...
> 
> Do I need to do anything special with the initrd? Manually remounting
> fixes it fine as far as I can tell.

What are you using to build the initrd? What is in fstab? What kernel
options are you using, /proc/cmdline?


-- 
Neil Bothwick

Employ teenagers - while they know everything.


pgpTD7YzfFHaN.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Python-3.9 and emerge problems

2021-06-18 Thread Neil Bothwick
On Fri, 18 Jun 2021 11:46:27 +0200, Jacques Montier wrote:

> #emerge --sync
> #emerge --oneshot sys-apps/portage
> #emerge -auvDN --with-bdeps=y --keep-going world
> 
> I get these errors :
> 
> Traceback (most recent call last):
>   File "/usr/lib/python-exec/python3.9/emerge", line 51, in 
> retval = emerge_main()
>   File "/usr/lib/python3.9/site-packages/_emerge/main.py", line 1319, in
> emerge_main
> return run_action(emerge_config)
>   File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line
> 3392, in run_action
> retval = action_build(emerge_config, spinner=spinner)
>   File "/usr/lib/python3.9/site-packages/_emerge/actions.py", line 354,
> in action_build
> success, mydepgraph, favorites = backtrack_depgraph(
>   File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line
> 10005, in backtrack_depgraph
> return _backtrack_depgraph(settings, trees, myopts, myparams,
>   File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line
> 10043, in _backtrack_depgraph
> success, favorites = mydepgraph.select_files(myfiles)
>   File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line
> 4055, in select_files
> return self._select_files(args)
>   File "/usr/lib/python3.9/site-packages/_emerge/depgraph.py", line
> 4189, in _select_files
> set_atoms = root_config.setconfig.getSetAtoms(s)
>   File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py",
> line 271, in getSetAtoms
> myatoms.update(self.getSetAtoms(s,
>   File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py",
> line 271, in getSetAtoms
> myatoms.update(self.getSetAtoms(s,
>   File "/usr/lib/python3.9/site-packages/portage/_sets/__init__.py",
> line 260, in getSetAtoms
> myatoms = myset.getAtoms()
>   File "/usr/lib/python3.9/site-packages/portage/_sets/base.py", line
> 58, in getAtoms
> self._load()
>   File "/usr/lib/python3.9/site-packages/portage/_sets/base.py", line
> 53, in _load
> self.load()
>   File "/usr/lib/python3.9/site-packages/portage/_sets/dbapi.py", line
> 111, in load
> self._setAtoms(self.mapPathsToAtoms(self._files,
>   File "/usr/lib/python3.9/site-packages/portage/_sets/dbapi.py", line
> 83, in mapPathsToAtoms
> for p in exclude_paths:
> TypeError: 'NoneType' object is not iterable
> 
> And i can't do anything else...
> 
> I see that python-3.8 has gone away
> # eselect python list
> Available Python interpreters, in order of preference:
>   [1]   python3.9

I has the same a couple of days ago and had to downgrade portage from
3.0.20 to 3.0.18, by untarring the binary package to /. However, that
needed python 3.8, so I also had to untar the binary package for that.
Then I re-emerged portage-3.0.18 and python-3.8 and masked
portage-3.0.20. Once I had re-emerged portage-3.0.18, it worked with
python 3.9.

I see that portage 3.0.20-r3 is here now, so I'll try emerging that on
one system and see what happens.


-- 
Neil Bothwick

C Error #011: First C Program, huh?


pgp6z0ZnUTBns.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Exact setting in grub to default to a kernel by name?

2021-06-15 Thread Neil Bothwick
On Mon, 14 Jun 2021 16:25:00 -0400, Walter Dnes wrote:

>   Unfortunately, just like the standard grub.cfg, it's a tiny-looking
> text font on my 1920x1080 monitor that I have to squint at.  Next
> step...  what do I do to get a functioning GUI?

Set up a theme, you can use one of the supplied examples as a base, with
a larger font.

https://www.gnu.org/software/grub/manual/grub/grub.html#Fonts


-- 
Neil Bothwick

Bus: (n.) a connector you plug money into, something like a slot machine.


pgpHR3bY8nLLj.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Exact setting in grub to default to a kernel by name?

2021-06-14 Thread Neil Bothwick
On Sun, 13 Jun 2021 22:34:30 -0400, Walter Dnes wrote:

> > > 1) Is "insmod extfs3" necessary? I've built extfs3 into the
> > > kernels.  
> > 
> > If the kernel is on an ext3 filesystem, yes. This is GRUB's module, it
> > uses it to read an ext3 filesystem in order to load the kernel.  
> 
>   Some confusion here.  "fdisk -l" on my new machine gives...
> 
> Device  StartEndSectors   Size Type
> /dev/sda12048 526335 524288   256M EFI System
> /dev/sda2  526336 1886416303 1885889968 899.3G Linux filesystem
> /dev/sda3  1886418352 1953523119   6710476832G Linux filesystem
> 
>   The EFI Systen partition is fat32.  The web examples I read show
> "insmod " matching the filesystem of the linux system being
> booted.  But all entries in grub.cfg on my new machine are "insmod fat".
> I wonder if the web documentation was referring to BIOS-booting
> machines. grub.cfg would be sitting on an xfs or extfs3 or whatever
> file system, and would need to read it off that filesystem.

If /boot is on the ESP, i.e. FAT, you won't need the ext3 module. I
suspect part of the auto-configuration setup is "load everything we
might need". It's not really an issue since the memory used by the
modules should be freed when GRUB exits.

The bloatedness is a combination of the must run everywhere defaults and
using a full bootloader when you only need a minimal boot manager. These
days, I only use GRUB on BIOS systems.


-- 
Neil Bothwick

No, you *can't* call 999 now. I'm downloading my mail.


pgpIc98Xe9Yze.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Neil Bothwick
On Sun, 13 Jun 2021 18:57:49 -0400, Walter Dnes wrote:

>   When experimenting with this, I'll backup grub.cfg.  If things go
> awry, boot with the USB key I used for the install, and copy back the
> old known working grub.cfg.  I've done a first crack at this.  I assume
> that nothing in /etc/default/grub will have any effect.  Questions...

/etc/default/grub is only used when you call grub-mkconfig.

> 1) Is "insmod extfs3" necessary? I've built extfs3 into the kernels.

If the kernel is on an ext3 filesystem, yes. This is GRUB's module, it
uses it to read an ext3 filesystem in order to load the kernel.

> 2) I assume that the the first "menuentry" will be the default boot?

Yes, you'll see default=0 in the first part of grub.cfg.

> 3) Is the default timeout still 5 seconds?

Not sure on that one, but look at grub.cfg.

> 3) I assume that 640x480 is supported on just about every monitor
> out there.  I want as large text as possible.  My eyes are getting
> old... just like me.

My eyes are better than they were 40 years ago but don't ask about my
hearing, or if you must, do it loudly...


-- 
Neil Bothwick

Documentation: (n.) a novel sold with software, designed to entertain the
   operator during episodes of bugs or glitches.


pgp_fXOqbnpCs.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Neil Bothwick
On Sun, 13 Jun 2021 09:33:57 -0400, Walter Dnes wrote:

> On Sun, Jun 13, 2021 at 06:46:15AM +0200, Hund wrote
> > >Let me rephrase the question more generally... given a
> > >kernel "/boot/vmlinuz-fubar" how and where do I specify it by name as
> > >the default boot kernel?  
> > 
> > What about this?
> > 
> > https://www.stephenrlang.com/2017/06/setting-default-kernel-in-grub2/
> >  
> 
>   Is /boot/grub/grub.cfg the file that actually controls bootup, and is
> all 154 lines of verbosity really necessary?  For menu entries I see...

Not necessary, but does no harm either. The first 90% of the file is
automated setup, which you can replace with hard coded entries or just
leave it to its own devices. The only part you need to think about is the
menuentry sections.

>   I'd be tempted to do a manual gub.cfg if I had documentation.

GRUB has extensive documentation. it's not the best written but every
configuration option is described.

Isn't this a new laptop? If so, why torment yourself with GRUB when you
have UEFI available to you? The only real justification for using GRUB in
such a situation is that you are completely familiar with it and don't
want to learn something else. But if you have to learn something, you may
as well learn the 2/3 line configs of systemd-boot.

Note that systemd-boot doesn't require systemd, it's just the gummiboot
boot manager that was merged into systemd taken out again. Or you could
use rEFInd if you prefer a prettier boot menu.



-- 
Neil Bothwick

Mouse: (n.) an input device used by management to force computer users to
   keep at least a part of their desks clean.


pgpPxJzM0hjsF.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Neil Bothwick
On Sun, 13 Jun 2021 09:21:36 +0100, Neil Bothwick wrote:

> The default setting takes either the number of title of a kernel, so
> default="experimental kernel" should do it.

Forgot the obligatory RTFM reference :)

https://www.gnu.org/software/grub/manual/grub/grub.html#default


-- 
Neil Bothwick

After all is said and done let there not be more said than done.


pgpcGURGY0yxa.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Exact setting in grub to default to a kernel by name?

2021-06-13 Thread Neil Bothwick
On Sun, 13 Jun 2021 00:07:27 -0400, Walter Dnes wrote:

>   I have multiple (would you believe 2?) kernels in /boot.
> 
> [x8940][waltdnes][~] ll /boot/vm*
> -rwxr-xr-x 1 root root 7046848 Jun 12 23:46 /boot/vmlinuz-experimental
> -rwxr-xr-x 1 root root 6986624 Jun 12 16:55 /boot/vmlinuz-production
> 
>   The grub kernel listing at bootup is
> 
> - production kernel
> - production kernel recovery mode
> - experimental kernel
> - experimental kernel recovery mode
> 
>   The default is the first entry, i.e. "GRUB_DEFAULT=0" in
> /etc/default/grub.  I prefer going with "experimental".  If I screw up
> the config to the point where it can't boot, then I'll manually override
> to "production".  The simple way of getting the third entry as default
> is "GRUB_DEFAULT=2" (remember to count from zero).
> 
>   This works for now.  But what happens if/when I add more kernels for
> whatever reason?  Let me rephrase the question more generally... given a
> kernel "/boot/vmlinuz-fubar" how and where do I specify it by name as
> the default boot kernel?
> 

The default setting takes either the number of title of a kernel, so
default="experimental kernel" should do it.


-- 
Neil Bothwick

A Smith & Wesson beats Four Aces everytime.


pgpyzmCiCiVrV.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Terminal over ssh badly scrambled

2021-06-09 Thread Neil Bothwick
On Wed, 9 Jun 2021 17:46:47 -0400, Walter Dnes wrote:

>   Another item that may or may not be related... emerging Gentoo sources
> did not create a symlink from "linux-5.10.27-gentoo" to "linux", so I
> had to do it manually.  I suppose I could've used "eselect kernel set 1"
> instead.

Do you have the symlink USE flag set for gentoo-sources?


-- 
Neil Bothwick

Forget the Joneses...I can't keep up with The Simpsons.


pgp4pSBFBbge3.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo alternatives

2021-06-07 Thread Neil Bothwick
On Mon, 7 Jun 2021 11:25:55 +0200, n952162 wrote:

> > You could also look at using distcc if you have more than one machine
> > to spread the load.
> >
> >  
> 
> Ah, that's also interesting  ... that's like an alternative to a local
> binary server (which I'm currently doing) - the compilations are
> distributed on all nodes in the network - and then, presumably are also
> available to all nodes?  ...

The compilation is distributed but the result is only available to the
host running emerge. However, if you set FEATURES=buildpkg and set
$PKGDIR to a shared directory, you could use the same binaries on other
systems, provided they are set up the same.


-- 
Neil Bothwick

I've got a mind like a... a... what's that thing called?


pgpSCLfuB7iMd.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] gentoo alternatives

2021-06-07 Thread Neil Bothwick
On Mon, 7 Jun 2021 11:10:13 +0200, n952162 wrote:

> > Yes, I know, there are binary versions, but if I wanted to use binary,
> > I wouldn't use gentoo.  And anyway, there's always rust and gcc and
> > ...
> >
> >  
> 
> Okay, I guess I got it, at least for the worst offenders, firefox and
> thunderbird: not have them in my world file and every quarter update
> them manually.  Would that work?

Not really, because you wouldn't get security updates. Also, because they
aren't in your world set, depclean would try to remove them and their
dependencies.

A somewhat less clunky, but still far from perfect, option would be to
use package.mask to block updates beyond the current version.

Using stable rather than testing, I don't know which you are currently
using, would reduce the number of updates significantly. This laptop runs
testing, but I have Chromium set to use stable to avoid the situation of
a rebuild completing just in time to start the next one :(

You could also look at using distcc if you have more than one machine to
spread the load.


-- 
Neil Bothwick

There are only 10 types of people in the world:
those who understand binary and those who don't.


pgpvppa5Ly9ab.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Hard drive AHCI versus RAID setting in BIOS?

2021-06-05 Thread Neil Bothwick
On Fri, 4 Jun 2021 22:10:10 -0400, Walter Dnes wrote:

> > I always boot system rescue and dd the entries drive to somewhere
> > safe. That way I restore the original setup in the case of a warranty
> > claim - unless the failure is that bad that I can't boot or access
> > the disk.  
> 
>   a) The drive is one terabyte in size.

Most of is empty, the drives always compress to a lot less.
 
>   b) Yes, Mr. Dell Support, I bought the machine 6 months ago and I've
> been websurfing, Youtubing, etc ever since.  And Windows Home has not
> forced an update all that time.

That would be difficult but no evidence of any evil doing, such as
installing Linux. However, I'm more concerned about an earlier failure,
if it lasts six months it should last six years.


-- 
Neil Bothwick

Any sufficiently advanced bug is indistinguishable from a feature.


pgpZoNR9_oExu.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Hard drive AHCI versus RAID setting in BIOS?

2021-06-04 Thread Neil Bothwick
On Fri, 4 Jun 2021 18:04:51 -0400, Walter Dnes wrote:

>   Since wiping Windows voids the warranty, I'll run the new machine for
> several days under Windows, just in case there are any early problems.
> After that, it goes Gentoo.

I always boot system rescue and dd the entries drive to somewhere safe.
That way I restore the original setup in the case of a warranty claim -
unless the failure is that bad that I can't boot or access the disk.


-- 
Neil Bothwick

Windows Error #05: Nonexisent error. This cannot really be happening


pgpCstGgendC1.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] quickpkg nice-to-have

2021-06-03 Thread Neil Bothwick
On Thu, 3 Jun 2021 15:14:31 +0200, n952162 wrote:

> It sure would be nice if quickpkg would at least save config files by
> default, like to inittab.saved, for when you forget to supply
> --include-unmodified-config
> 
> empty file because --include-config=n when 'quickpkg' was used.

alias quickpkg='quickpkg --include-unmodified-config=y' ;-)


-- 
Neil Bothwick

Talk is cheap because supply exceeds demand.


pgpI36vsnub8L.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Issues with Python 3.8?

2021-06-03 Thread Neil Bothwick
On Thu, 3 Jun 2021 10:48:25 +0200, Arve Barsnes wrote:

> > I've got several packages complaining about "PYTHON_TARGETS" missing
> > "python3_8":
> >
> >   The following REQUIRED_USE flag constraints are unsatisfied:
> > python_targets_python3_8
> >
> >   The above constraints are a subset of the following complete
> > expression: any-of ( python_targets_python3_8 )
> >
> > I saw the news-item, but it doesn't specify what to do with packages
> > that only list 3.8 and occasionally 3.7.  
> 
> You can add 3.8 as a target on a specific package by specifying the
> USE flag 'python_targets_python3_8' for it.
> 
> If you decide to go that route, I recommend doing that only on a
> specific package version. You will then be required to keep up with
> the package if a new version is released that still does not have 3.9
> available, but you will automatically be rid of the 3.8 dependency on
> that package whenever a version is released that can be upgraded to
> 3.9.

I'd also put them in a separate file in /etc/portage/package.use, that
way you can review and remove the changes easily.


-- 
Neil Bothwick

ASSISTANT MANAGER: Feminine form of the word manager (q.v.).


pgpCsfPuJ_9bk.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] it keeps growing

2021-06-01 Thread Neil Bothwick
On Tue, 1 Jun 2021 15:38:30 +0200, n952162 wrote:

> 337 packages this month to be updated.  It keeps getting more and more. 
> Pretty soon, gentoo will overtake Bitcoin in energy use.

Is this because of the switch from Python 3.8 to 3.9 as the default? If
so, there's a news item that covers this and explains how to delay the
switch if you need to.


-- 
Neil Bothwick

Energizer Bunny arrested, charged with battery :)


pgpCAxTMzsnbM.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] [SOLVED?] Re: boot hangs forever at “Loading initial ramdisk...”

2021-05-17 Thread Neil Bothwick
On Mon, 17 May 2021 05:08:44 -0400, John Blinka wrote:

> So, my previous suspects - secure boot, motherboard, grub, and my
> customized kernel configs - are all innocent and working fine.  Just
> have to wait for the patched intel driver to show up in gentoo-sources.

If you haven't already, and no one else has, post a request for it n
b.g.o.


-- 
Neil Bothwick

Top Oxymorons Number 39: Almost exactly


pgpp74iZUebJM.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] What does emerge status R mean?

2021-05-16 Thread Neil Bothwick
On Sun, 16 May 2021 11:21:03 +0200, n952162 wrote:

> > --changed-use would show the changed USE flag in the output, so it is
> > probably --changed-deps. The emerge man page explains just what the
> > flag does.  
> 
> 
> I haven't been able to find that display yet.  I have found this:

Try adding --tree to your options.


-- 
Neil Bothwick

Sometimes too much to drink is not enough.


pgpqxRJvc3Wu2.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] What does emerge status R mean?

2021-05-16 Thread Neil Bothwick
On Sun, 16 May 2021 11:26:37 +0200, n952162 wrote:

> >> There are no use flags defined for any of the packages I did a random
> >> check for, either on the server or the client.  I am worried that it
> >> is as you say: that the ebuild has a change of USE flags, which, of
> >> course, has nothing to do with me, the user.  
> > As already stated, any USE flag changes would appear in the emerge
> > output, this is most likely caused by --changed-deps. Try with
> > --changed-use but without --changed-deps to see.
> >
> >  
> I have introduced that into my build script.  But, if it's as you say,
> the one is a subset of the other, it should have no effect on the
> output, right?
> 
--changed-use is a subset of --newuse. --changed-deps is separate.


-- 
Neil Bothwick

Runtime Error: Out of funny taglines!


pgpvdcHgZRthR.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] What does emerge status R mean?

2021-05-16 Thread Neil Bothwick
On Sun, 16 May 2021 11:11:54 +0200, n952162 wrote:

> > My guess is that one of the USE flags changed.  Compare which USE
> > flags is it currently installed with and which it wants for the
> > reinstall.  It might even be that a USE flag changed in the ebuild,
> > even if it won't actually change what gets installed. (--changed-use
> > vs --new-use)
> >  
> There are no use flags defined for any of the packages I did a random
> check for, either on the server or the client.  I am worried that it is
> as you say: that the ebuild has a change of USE flags, which, of course,
> has nothing to do with me, the user.

As already stated, any USE flag changes would appear in the emerge
output, this is most likely caused by --changed-deps. Try with
--changed-use but without --changed-deps to see.


-- 
Neil Bothwick

Dance like no-one's watching. / Encrypt like everyone is.


pgpITUt4N7BzI.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] What does emerge status R mean?

2021-05-14 Thread Neil Bothwick
On Fri, 14 May 2021 11:54:30 +0200, n952162 wrote:

> Why does portage want to build this:
> 
> [ebuild   R    ] x11-apps/xmodmap-1.0.10::gentoo 0 KiB
> 
> given this, already installed:
> 
> /var/db/pkg/x11-apps/xmodmap-1.0.10/xmodmap-1.0.10.ebuild
> 
> and these on my binary server (which is apparently not working properly
> for reasons I'm trying to track down):
> 
>   binpkgs/x11-apps/xmodmap-1.0.10.tbz2
>   distfiles/xmodmap-1.0.10.tar.bz2
> 
> When I remove these options, it doesn't want to anymore:
> 
>      #  --changed-use \
>      #  --changed-deps \
>      #  --newuse \
>      #  --backtrack=100 \
>      #  --deep \
> 
> Which option was it, I wonder, which triggered the build, and would it
> bring me anything?

--changed-use would show the changed USE flag in the output, so it is
probably --changed-deps. The emerge man page explains just what the flag
does.

Incidentally, there is no point in using --newuse and --changed-use, the
former is a superset of the latter. I'd use only --changed-use to avoid
unnecessary rebuilds.


-- 
Neil Bothwick

WinErr 004: Erroneous error - Nothing is wrong


pgpEu6xss4nZD.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Approx monthly hard lockups

2021-05-13 Thread Neil Bothwick
On Thu, 13 May 2021 03:19:54 -0400, Walter Dnes wrote:

> > 
> > Most likely in /var/log/messages. The bad thing about dmesg, I think
> > it resets when rebooting which erases previous info.
> > 
> > As Mark pointed out, you need to go back to the time before it starts
> > adding the boot up process.  
> 
>   No help.  /var/log/messages goes straight from iptables messages to
> bootup with no indication of shutdown...


That's not surprising, the messages are cached before writing to disk, so
the most recent messages will be lost. You could try mounting the
filesystem containing /var with sync, which will at least avoid the disk
writes being cached. It's possible that syslog-ng also caches write, in
which case you'll also need to look for an option to prevent that.


-- 
Neil Bothwick

Math and alcohol don't mix. Don't drink and derive.


pgpu772xQqrTL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: sysrescue+new asus mobo+secure boot=0

2021-05-12 Thread Neil Bothwick
On Wed, 12 May 2021 13:10:56 -0400, John Blinka wrote:

> > This could possibly be KMS kicking in, try adding nomodeset to the
> > boot options. While you're editing the boot options, you may as well
> > remove any quiet or splash options too, so you can better see what is
> > going on.  
> 
> 
> KMS… had to Google that. Not that I am fluent in this stuff
> (understatement!) but how does one add nomodeset to boot options, or
> edit boot options?

Press e at the boot menu, that's the usual key to edit the boot options.
You may have to press a key, usually space, to bring up the boot menu,
depending on the ISO you are using.

I'd be surprised to find that "Other OS" is a secure boot option, it
sounds like the option to run without secure boot.


-- 
Neil Bothwick

I don't know if I can assimilate one more Borg Tagline!


pgp7OqjJvG6WX.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: sysrescue+new asus mobo+secure boot=0

2021-05-12 Thread Neil Bothwick
On Wed, 12 May 2021 08:56:16 -0400, John Blinka wrote:

> Thanks for the suggestions for solving my booting problem, which
> admittedly is not particularly Gentoo related at this stage in the
> installation process.
> 
> I’ve tried usb sticks with both Sysrescue and Ubuntu server to boot this
> thing.  It appears to attempt to boot each one, but then the screen goes
> blank after 1-2 seconds, at which point I can’t tell what’s going on.

This could possibly be KMS kicking in, try adding nomodeset to the boot
options. While you're editing the boot options, you may as well remove
any quiet or splash options too, so you can better see what is going on.


-- 
Neil Bothwick

"We demand rigidly defined areas of doubt and uncertainty!"


pgpSCHojVYFpP.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Compiling/loading problem

2021-05-11 Thread Neil Bothwick
On Tue, 11 May 2021 16:08:13 +0100, Michael wrote:

> > Before I try again with /tmp on its own partition, does the following
> > extract from the emerge log file ring any bells?  
> 
> There's no benefit in having the whole /tmp on disk, just
> /var/tmp/portage will do.  Also you can leave /var/tmp/portage on RAM
> and just mount-bind it when big packages are expected to exhaust
> available RAM; e.g. something like this would work:
> 
> mkdir /var_tmp_portage
> chown -v portage:portage /var_tmp_portage
> mount -o bind /var/tmp/portage /var_tmp_portage

Or just

PORTAGE_TMPDIR="/lots/of/space" emerge -1a bigpackage


-- 
Neil Bothwick

Of course it's not your day,
With 7 billion people on earth chances are slim it will ever be *your*
day.


pgpa5LwnndPpE.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] one machine out of many has nothing to update

2021-05-06 Thread Neil Bothwick
On Thu, 6 May 2021 11:51:17 +0200, n952162 wrote:

> I've resynced multiple times over multiple days.
> 
> Interesting observation - all three syncs I did in May have this
> __size__ issue.  When I look back at the logs from April, I see I did it
> twice.  The first time also failed for metadata/Manifest.gz, but not for
> a __size__ problem, but the check sums were dumped.
> 
> Apparently, the update failed and I resynced, and the second time it
> succeeded!

Deleting the entire portage tree and syncing from scratch usually fixes
these issues.


-- 
Neil Bothwick

In possession of a mind not merely twisted, but actually sprained.


pgpruqr00N8LJ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] downgrade to x2goserver-4.0.1.22

2021-05-05 Thread Neil Bothwick
On Wed, 5 May 2021 14:17:58 -0600, the...@sys-concept.com wrote:

> It seems to me entire directory content is missing after downgrade :
> /usr/lib/x2go/

Run qlist x2goserver and you'll see it is now /usr/lib64/x2go.


-- 
Neil Bothwick

Top Oxymorons Number 5: Twelve-ounce pound cake


pgpmr2d0lylgT.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] I've got a pod of dolphins after start-up

2021-05-01 Thread Neil Bothwick
On Sat, 1 May 2021 01:24:23 +0200, Frank Steinmetzger wrote:

> I also have experienced something like it. In my case it was Wireshark
> coming up after I only launched it once. It is probably KDE’s session
> management getting into your way. Unfortunately I haven’t found a place
> where to configure the session. There’s probably a file in ~/.config or
> ~/.local about that. As a quick remedy I switched to empty session on
> startup (open system settings and look for session).

Did you try adding Wireshark to the Don't restore these applications list
in System Settings->Startup and Shutdown->Desktop Session?


-- 
Neil Bothwick

Top Oxymorons Number 12: Plastic glasses


pgp5ISttGdnHr.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Rusty problems

2021-04-28 Thread Neil Bothwick
On Wed, 28 Apr 2021 23:05:35 +0100, antlists wrote:

> > There have been several tests posted over the years that show that
> > using a tmpfs for TMPDIR doesn't give as much of a gain as you would
> > expect. With NVMe drives, the difference is likely to be even
> > smaller.  
> 
> But that's not the only reason for a tmpfs. I guess the reason tmpfs 
> doesn't necessarily give much gain is because linux caches everything
> so it's quite possible stuff never gets written to disk.

Agreed, but I was only responding to the comment that building on an SSD
was no slower than tmpfs.
 
> And I know gentoo does clean up behind itself, but I use tmpfs so the 
> system cleans up behind it too, and it's got as much room as it needs. 

I can't agree with the second part, a tmpfs has far less space than a
disk. I had a gcc build fail this morning when /tmp filled up. Not
because gcc needs more than I had but because another emerge had failed
and left a G or two in /tmp. You'll always have more disk space than 
RAM - embedded aside.


-- 
Neil Bothwick

Forget the Joneses...I can't keep up with The Simpsons.


pgpCEHAcvD2qg.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Rusty problems

2021-04-28 Thread Neil Bothwick
On Wed, 28 Apr 2021 11:12:33 +, Alan Mackenzie wrote:

> > I use rust-bin now, so this isn't an issue for me, but my laptop has
> > only 8GB and this is how I have it set for chromium:  
> 
> > % cat /etc/portage/env/disk-tmpdir.conf
> > PORTAGE_TMPDIR="/mnt/scratch"  
> 
> > % cat /etc/portage/package.env/chromium
> > www-client/chromium disk-tmpdir.conf  
> 
> > I do similar for libreoffice and a couple of other heavyweights.  
> 
> With a like setup, building rust took ~45 minutes.  This is about the
> same as it took on the ram disk before giving up.  So, I'm not losing a
> lot, if anything, by using /home/portage (On mirrored nvme SSDs).

There have been several tests posted over the years that show that using
a tmpfs for TMPDIR doesn't give as much of a gain as you would expect.
With NVMe drives, the difference is likely to be even smaller.

> 
> > Another option, to be used instead of or as well as this would be
> > distcc. Once again, you can use package.env to apply this to selected
> > packages:  
> 
> That's for building on a different (more powerful) machine, isn't it?  I
> don't actually have a more powerful machine.  ;-)

A different machine, not necessarily more powerful. The point is that you
are splitting the workload between the different computers. My desktop is
currently emerging chromium, and is sending some of the work to my MythTV
backend, which is actually the old desktop machine it replaced.


-- 
Neil Bothwick

Time for a diet! -- [NO FLABBIER].


pgp8p56cxXq1F.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Rusty problems

2021-04-27 Thread Neil Bothwick
On Tue, 27 Apr 2021 20:53:11 +, Alan Mackenzie wrote:

> Help!  What am I supposed to do?  I've got 16 Gb RAM (I'm _not_ going to
> use the word "only" here), and wondering just how big a chunk a ram disk
> can take out of that before the machine siezes up altogether.  But if I
> increase the ram disk to 15 Gb, even assuming it'd work, it's only going
> to be a small number of releases before the clever people at rust
> increase their bloat even more.

Setting the RAM disk so high will mean you don't have enough memory for
the compilation, which will start swapping and everything will grind to a
near halt.

> I know I could plump for the -bin package.  Maybe I should.  But before
> I do that, is it possible to redirect this one ebuild away from
> /var/tmp/portage (my ram disk) without disturbing the other builds?  If
> so, how would I do this (or where should I look for documentation)?

Lookup package.env on the wiki. I use rust-bin now, so this isn't an
issue for me, but my laptop has only 8GB and this is how I have it set
for chromium:

% cat /etc/portage/env/disk-tmpdir.conf
PORTAGE_TMPDIR="/mnt/scratch"

% cat /etc/portage/package.env/chromium
www-client/chromium disk-tmpdir.conf

I do similar for libreoffice and a couple of other heavyweights.

Another option, to be used instead of or as well as this would be distcc.
Once again, you can use package.env to apply this to selected packages:

% cat /etc/portage/env/distcc.conf
FEATURES="distcc buildpkg distlocks"
MAKEOPTS="-j36 -l4"
CFLAGS="-march=broadwell -O2 -pipe"
CXXFLAGS="${CFLAGS}"


-- 
Neil Bothwick

I'm firm. You're obstinate. He's a pigheaded fool.


pgpdVd7xzgkT5.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Chromium Catastrophy continues.

2021-04-22 Thread Neil Bothwick
On Thu, 22 Apr 2021 17:52:05 -0400, Alan Grimes wrote:

> My GLIBC situation is as follows, as you know GLIBC cannot be downgraded
> once upgraded.

It can, at your own risk. Read the ebuild to see how.

> *  sys-libs/glibc
>   Latest version available: 2.33
>   Latest version installed: 2.33
>   Size of files: 16,676 KiB
>   Homepage:  https://www.gnu.org/software/libc/
>   Description:   GNU libc C library
>   License:   LGPL-2.1+ BSD HPND ISC inner-net rc PCRE
> #
> 
> 
> It is possible to force-install Chromium 91, symptoms are the windows
> open but all tabs are blank, no error messages anywhere, just a massive
> FU

Well, it is an unstable development version masked by Gentoo...

Have you read what bgo has to say about chromium and glibc-2.33?


-- 
Neil Bothwick

Memory Map - A sheet of paper showing location of computer store.


pgpCtrUhlY2xn.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Chromium: GIGAFOOBAR!!!

2021-04-22 Thread Neil Bothwick
On Thu, 22 Apr 2021 15:46:04 -0500, Matt Connell (Gmail) wrote:

> On Thu, 2021-04-22 at 16:37 -0400, Alan Grimes wrote:
> > Matt Connell (Gmail) wrote:  
> > > On Thu, 2021-04-22 at 15:09 -0400, Alan Grimes wrote:  
> > > > - sys-libs/glibc-2.32-r7::gentoo (masked by: package.mask)  
> > > This is the current stable version of glibc, which would satisfy the
> > > ebuild.  You have it masked manually, it would seem.
> > > 
> > > Did you leave yourself a comment as to why it was masked?  
> > 
> > Well, I got 2.33 installed on me and the system does not allow that
> > package to downgarde, for good reason... I masked the old version to
> > stop it from bitching at me that it can't downgrade that package.  
> 
> I don't for sure whether or not glibc is supposed to be able to be
> downgraded or not.  If not, then it sounds like using the ~arch version
> of it is biting you in the backside.  A cautionary tale about not using
> the ~arch keyword for mission-critical packages unless the situation is
> dire.

The chromium-90.* ebuilds apply a patch to work with glibc-2.3.3, you
might try that on a 91 ebuild. Read bug #769989 first.


-- 
Neil Bothwick

Our bikinis are exciting. They are simply the tops.


pgpkMA2Wnpohi.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Chromium: GIGAFOOBAR!!!

2021-04-22 Thread Neil Bothwick
On Thu, 22 Apr 2021 14:25:31 -0500, Matt Connell (Gmail) wrote:

> On Thu, 2021-04-22 at 15:09 -0400, Alan Grimes wrote:
> > - sys-libs/glibc-2.32-r7::gentoo (masked by: package.mask)  
> 
> This is the current stable version of glibc, which would satisfy the
> ebuild.  You have it masked manually, it would seem.

Also, you are trying to emerge a masked ebuild of chromium:

# Stephan Hartmann  (2021-03-21)
# Dev channel releases are only for people who
# are developers or want more experimental features
# and accept a more unstable release.
>=www-client/chromium-91

It seems you are unwilling to accept a more unstable (aka occasionally
broken) release, so you should be using version 90.


-- 
Neil Bothwick

Why is the word abbreviation so long?


pgpGVf59PrhaG.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] supreme annoyances:

2021-04-22 Thread Neil Bothwick
On Thu, 22 Apr 2021 09:42:14 -0400, Alan Grimes wrote:

> I have to wait during boot while DHCP tries to bring up eth0  (cable is
> plugged into eth1) and then manually turn off eth0 and turn on eth1 each
> time, can't find where this behavior is configured, /etc is a MAZE

rc-update add net.eth1 default
rc-update del net.eth0 default

How long have you been using Gentoo?

> WTF, I just installed sys-kernel/vanilla-sources-5.11.15, rebooted, ran
> update again, and now it's unavailable, this is like 3 days.. Updating
> kernel sucks because of nvidia drivers. =\

And? As long as 5.11.15 works for you and has no security issues, it's
presence or otherwise on the tree has no bearing on using it.


-- 
Neil Bothwick

I've got a mind like a... a... what's that thing called?


pgp8HL9sseWCO.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Looking for other Seamonkey users

2021-04-08 Thread Neil Bothwick
On Thu, 8 Apr 2021 17:58:06 -0500, Dale wrote:

> I been trying to find a up to date guide on this.  I'm not having much
> luck.  I tried the Dovecot site but they seem to cater to people wanting
> a space ship going to Mars or something.  Does anyone have a link to a
> simple guide I can follow?  The ones I found talk about options that
> don't even exist.  They are for the 2.* version but seem to be out of
> date never the less.  Even the Gentoo wiki one I found has a part that
> is out of date, says so above it.  I missed out on the squirrel.  :/

If you're accessing it locally only, the default settings should be fine.
The only thing you may want to change is the location of the mail
storage. Look for the mail_location setting at the top of
/etc/dovecot/conf.d/10-mail.conf. Then fire up Seamonkey, create a new
IMAP account and tell it to use localhost for the server.

> I
> think I'm missing the part that I can access it with a GUI, like when I
> go to mail.google.com or something. 

Dovecot is an IMP server, it doesn't have a GUI. What you are thinking of
is a webmail *client*. That's just another client, like Thunderbird or
mutt, as far as Dovecot is concerned. There are a few webmail clients
available, I use Roundcube.


-- 
Neil Bothwick

I'd tell you a UDP joke, but you may not get it.


pgpoAn8yhJRVq.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Can't install a new system

2021-04-08 Thread Neil Bothwick
On Thu, 08 Apr 2021 13:27:51 +0100, Peter Humphrey wrote:

> Untarring the latest stage-3 onto /mnt/gentoo, /mnt/gentoo/var and /mnt/
> gentoo/usr/local gets me started. Then I chroot /mnt/gentoo /bin/bash,
> and that works too. Then I leave the profile at the default vanilla
> amd64 and emerge-webrsync. So far so good. Then when I try emerge
> -uaDvN @world I get a circular dependency involving elt-patches and
> xz-utils. No amount of unsetting of USE flags makes any difference. Nor
> does --excluding one of them, because portage just refuses to do that.

Try omitting -D and -N to reduce the number of packages being rebuilt. If
that doesn't help, post the output here.


-- 
Neil Bothwick

"Logic will get you from A to B. Imagination will take you everywhere."
 (Albert Einstein)


pgpDcclDTmf95.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Cron and disabling emails for one script only

2021-04-07 Thread Neil Bothwick
On Wed, 7 Apr 2021 03:22:18 -0500, Dale wrote:

> >> This seems to be working.  Since I added the null bit to the script
> >> itself, it hasn't sent a email.  I don't know if it will if it fails
> >> but I still have weekly backups as well.   
> > If you only redirect stdout to /dev/null and leave stderr alone, you
> > should still see errors. But a better option would be to have your
> > script only send output when something goes wrong.

> That sounds complicated.  I've never been good at what y'all call
> scripting.  I'm just glad it does it for me so I don't forget. 

Not really. ">/dev/null" redirects stdout to null. You added 2>&1, which
redirects stderr to stdout, effectively throwing away any error messages.
Post your backup script and we'll be able to help more.


-- 
Neil Bothwick

WinErr 815: Insufficient Memory - Only 50,312,583 Bytes available


pgpBVLFfZkuHs.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] syslog-ng misbehaving

2021-04-07 Thread Neil Bothwick
On Tue, 6 Apr 2021 23:11:15 -0600, Dan Egli wrote:

> Before I seek out a mailing list for syslog-ng, I was hoping I could
> get some tips from people here. I recently started trying to separate
> logs into various functions rather than letting everything go to 
> /var/log/messages. So I created three filters in syslog-ng. One is 
> intended to separate sshd messages, one to separate samba messages, and 
> the other to say "everything ELSE". The problem  I seem to be having is 
> that the everything ELSE log still shows things that should have been 
> removed! For example, when I login via ssh I get identical notification 
> in the /var/log/messages and in /var/sshd/sshd.log. So I'm lost. I'm 
> including my syslog-ng.conf. Perhaps someone here can tell me what I'm 
> doing wrong.

> filter samba { program("samba"); };
> filter ssh_messages { facility("AUTH") and level("INFO"); };
> filter syslog { not filter("ssh_messages") and not filter("samba"); };

Shouldn't this be an or? You are filtering out anything that is in both
groups, which will be a very small set of messages.


-- 
Neil Bothwick

Ralph's Observation - It is a mistake to allow any mechanical object
to realize that you are in a hurry.


pgpsE9HcUiRWm.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Looking for other Seamonkey users

2021-04-07 Thread Neil Bothwick
On Tue, 6 Apr 2021 23:41:50 -0500, Dale wrote:

> I've done some research.  It seems Dovecot is what I need.  It uses mbox
> and has some features I might need one day already where Courier doesn't
> but there isn't much difference really.  If anyone is curious, the
> comparison is here.
> 
> https://en.wikipedia.org/wiki/Comparison_of_mail_servers
> 
> The biggest thing, mbox.  If I recall correctly that is what Seamonkey
> uses and I should be able to import those easy enough. 

You are better off with maildir, mbox is far more susceptible to date
loss through file damage. There is a script to convert an mbox file to
maildir, but you should also be able to just set up a new account in
Seamonkey using the local server and copy all your mails across. The
server will then take care of everything.


-- 
Neil Bothwick

If bankers can count, how come they have eight windows and only four
tellers?


pgpNf39HdPrFn.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Cron and disabling emails for one script only

2021-04-07 Thread Neil Bothwick
On Tue, 6 Apr 2021 18:51:56 -0500, Dale wrote:

> > I think you have to do it in your actual backup script or put the
> > whole thing in the hourly directory putting >/dev/null at the end of
> > each rsync command, but leaving off the 2>&1, so you will get error
> > messages.

> This seems to be working.  Since I added the null bit to the script
> itself, it hasn't sent a email.  I don't know if it will if it fails but
> I still have weekly backups as well. 

If you only redirect stdout to /dev/null and leave stderr alone, you
should still see errors. But a better option would be to have your script
only send output when something goes wrong.


-- 
Neil Bothwick

Windows - From the people who brought you EDLIN!


pgpFpYIKzocva.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Cron and disabling emails for one script only

2021-04-06 Thread Neil Bothwick
On Tue, 6 Apr 2021 14:42:28 -0500, Dale wrote:

> > cron only sends an email if the job produces any output. If the script
> > follows the *nix principle of succeed quietly, fail noisily, you
> > should only get emails when things go wrong. However without seeing
> > your mail-backup script, it is hard to say what needs to change.
> >
> > The "|| true " part means this cron task will always return success,
> > even if the script fails, which possibly is not what you want.
> >
> >  
> 
> 
> My script, if one wants to call it that, just has rsync commands in it. 
> It doesn't get fancy.  I literally copy the commands from Konsole and
> paste them in my text file.  I make it executable and that's my script. 
> I wouldn't even think it rises to a bash thing even tho it is at the
> top, cron likes it that way.  For years, I been doing it manually.  I
> just wanted to automate the thing a bit. 

But what are the rsync commands and what information does cron mail you?

Without this information, we can only make wild guesses as to what is
going on. As a first wild guess though, rsync has a --quiet option that
means it only outputs error messages, are you using this?

As John said, your cron script only calls the backup script, so you may
as well put that in cron.hourly.


-- 
Neil Bothwick

...Advert for restaurant:
  "Exotic foods for all occasions. Police balls a speciality."


pgp3YI58o6QnE.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Looking for other Seamonkey users

2021-04-06 Thread Neil Bothwick
On Tue, 6 Apr 2021 12:30:36 -0500, Dale wrote:

> One thing, among others, I like about Seamonkey, folders and automatic
> sorting.  For example, your reply went to a folder where all Gentoo user
> mailing list emails go.  It also shows them by thread.  I like the
> thread option for mailing lists but can disable it in other folders
> where threads don't do well.  I repeat that for other mailing lists,
> -dev for example, but also for my bank, online retailers like ebay or
> Amazon etc.  Each has their own place to go.  One reason I do that, my
> filters are set up in such a way that if a email is made to look like
> one of those but comes from somewhere else, a scam or phishing, it
> doesn't filter.  It stays in the inbox and that tells me to be
> suspicious.  If I were to use IMAP, could I still do that?  Does IMAP
> use folders and filters?  I admit, I don't think I've ever used IMAP. 

It does support folders. You can still do the sorting in Seamonkey and
the results will be available to any other clients you use, but only if
you run Seamonkey first. The alternative is to do the sorting when the
mail is downloaded, using something like procmail. Then you mails will be
sorted regardless of the client you use.


-- 
Neil Bothwick

WinErr 012: Window closed - Do not look inside


pgpo6L8LiJMG2.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Cron and disabling emails for one script only

2021-04-06 Thread Neil Bothwick
On Tue, 6 Apr 2021 12:43:31 -0500, Dale wrote:

> Keep in mind, I do not want to disable ALL emails, just this one
> script.  How does one disable emails for this one cron job?  Do I have a
> typo or putting it in wrong place maybe?  Everything I found shows this
> should work but obviously I'm doing something wrong.  Again, error
> emails are fine.  I don't want successful runs tho. 

cron only sends an email if the job produces any output. If the script
follows the *nix principle of succeed quietly, fail noisily, you should
only get emails when things go wrong. However without seeing your
mail-backup script, it is hard to say what needs to change.

The "|| true " part means this cron task will always return success, even
if the script fails, which possibly is not what you want.


-- 
Neil Bothwick

The gene pool could use a little chlorine.


pgpvuULBJcKJG.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."

2021-04-06 Thread Neil Bothwick
On Tue, 06 Apr 2021 13:59:11 +0100, Peter Humphrey wrote:

> > > fwiw, I think I've always just copied the old .config across, then
> > > done "make menuconfig". I think that also just accepts defaults for
> > > anything new.  
> > 
> > It doesn't, it prompts for every change, with the default
> > preselected.  
> 
> Eh? Did you read 'oldconfig' where 'menuconfig' was written?

Doh!


-- 
Neil Bothwick

IBM: I Blame Microsoft


pgpNxitY2J1eL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Kernel upgrade from 5.4 to 5.10: oldconfig "Restart config..."

2021-04-05 Thread Neil Bothwick
On Mon, 5 Apr 2021 19:04:18 +0100, antlists wrote:

> > For the uninitiated, the difference here is that olddefconfig will
> > accept the default configuration value for any new/changed options,
> > whereas oldconfig will prompt the user for input.
> > 
> > The former is great if you just don't care and want to accept the
> > default, but it isn't right for every user.
> > 
> >   
> fwiw, I think I've always just copied the old .config across, then done 
> "make menuconfig". I think that also just accepts defaults for anything
> new.

It doesn't, it prompts for every change, with the default preselected.
It's more time consuming than running make olddefconfig but it does give
you the chance to see what the new options are, and read the help if you
need more.


-- 
Neil Bothwick

Top Oxymorons Number 19: Passive aggression


pgpG9aeUbjI7l.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-04-04 Thread Neil Bothwick
On Sun, 4 Apr 2021 10:33:15 +0200, n952162 wrote:

> [ebuild   R    ]    dev-libs/libuv-1.40.0:0/1::gentoo USE="-static-libs"
> 0 KiB
> 
> I'm not sure where the static-libs USE flag comes from, it's not in
> /etc/portage/package.use.

The flag is defined in the ebuild and defaults to off.

> I don't follow the "0 KiB"

It's the size of the files portage needs to download to install this. As
you have already installed it, the source files are in your $DISTDIR so
there's nothing to download.


-- 
Neil Bothwick

Feminism: the radical notion that women are people.


pgps14vwdFG6M.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] portage has 0 debugging support for binary emerges

2021-04-03 Thread Neil Bothwick
On Sat, 3 Apr 2021 22:03:46 +0200, n952162 wrote:

> I find no clue why the binary packages on my server aren't being picked
> up.  The --debug option  (and --verbose, naturally) has no additional
> information.  Running the --getbinpkgonly stops immediately, saying 0
> packages are selected.
> 
> I found one problem: on my server, my apache log file had a 302 fetch
> error for /var/cache/binpkgs/Packages.  I touched it a few hours into
> the future and started getting a 200 for it.  But still no emerge would
> fetch a binary (even though there ARE good candidates).  On a guess, I
> touched all the files in binpkgs an hour into the future, but that
> didn't help.

Have you tried "emaint --check binhost" followed by "emaint --fix
binhost"?


-- 
Neil Bothwick

An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.


pgpSjMkq5mBhF.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Is there a way to misconfigure USB ports in the kernel?

2021-03-31 Thread Neil Bothwick
On Wed, 31 Mar 2021 07:09:03 -0500, Dale wrote:

> I wish I could view man pages like I used to in Konqueror.  It displays
> like a webpage and is much easier to search through.

I miss that too. I use mankier.com these days, which gives similar
benefits. I have a shortcut set up in chromium so typing "man dd" opens
the page in mankier.com.


-- 
Neil Bothwick

Life's a cache, and then you flush...


pgpXpSNRLU1Pd.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Is there a way to misconfigure USB ports in the kernel?

2021-03-31 Thread Neil Bothwick
On Wed, 31 Mar 2021 07:23:27 -0500, Dale wrote:

> > Yes, I also liked the old Konqueror interface.  Searching for
> > keywords e.g. "progress" within man pages works if you preface the
> > keyword with "/":
> >
> > /progress
> >
> > will find it and "n" or "Shift+n" will jump forward and backward to
> > any other instances in the man page.  
> 
> That doesn't work here.  I can type in /progress but it just shows up at
> the bottom.  If I try "n" or shift+n I just get a n or N.  Maybe my man
> page uses something different. 

It's a feature of whichever pager you use, rather than man itself. Less
does it, as does most, but others may differ.


-- 
Neil Bothwick

Having children will turn you into your parents.


pgpBmNLFYGPYU.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo + wifi

2021-03-22 Thread Neil Bothwick
On Mon, 22 Mar 2021 16:14:20 +0100, Fosco wrote:

> > Also, rooting a phone to install a different OS version can stop some
> > apps from working, particularly any financial ones.  
> Maybe Magisk <https://magisk.me/> is not suitable for a firt-time
> Android user as it can be mind mangling, but in the end it leds those
> apps to run smoothly.

I haven't tried Magisk but I did try other systemless rooting methods
that were still detected by banking apps or Google Pay.


-- 
Neil Bothwick

Make it idiot proof and someone will make a better idiot.


pgp6IHzWJ7jQN.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo + wifi

2021-03-22 Thread Neil Bothwick
On Mon, 22 Mar 2021 10:12:07 -0500, Matt Connell (Gmail) wrote:

> > Also, rooting a phone to install a different OS version can stop some
> > apps from working, particularly any financial ones.  
> 
> Thanks for mentioning this.  I always forget about this because,
> fortunately, my credit union app is not affected in this way.

That's what I said about my bank, until an update to their app refused to
run. Once rooted, it was impossible to completely unroot the phone, even
with a factory reset :(


-- 
Neil Bothwick

Life is pleasant. Death is peaceful. Its the transition thats
troublesome. - Isaac Asimov


pgpoP2ESu7OaH.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo + wifi

2021-03-22 Thread Neil Bothwick
On Mon, 22 Mar 2021 09:46:45 -0500, Matt Connell (Gmail) wrote:

> +1 for Lineage here.
> 
> I didn't recommend it to the OP because for a first-time Android user,
> this might be jumping straight into the deep end of the pool.
> 
> Also, depending on the circumstances, installing Lineage might void
> your warranty.  If going that route, then a used, warranty-less phone
> from FleaBay might be a good option.

Also, rooting a phone to install a different OS version can stop some
apps from working, particularly any financial ones.


-- 
Neil Bothwick

"Of course, I could switch back to Windows. At least there, if I have a
problem, I don't suffer under the illusion that I could ever fix it." -
Unknown (paraphrased)


pgpyZFBAMLb2c.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo + wifi

2021-03-22 Thread Neil Bothwick
On Mon, 22 Mar 2021 09:52:17 +, Peter Humphrey wrote:

> > Any advice wb very welcome ; please remember I know nothing re cell
> > phones, tho' of course I'm quite willing to buy one (brand
> > suggestions ? ).  
> 
> Google Pixel, for the nearest thing to the pure Android experience.
> Others add all manner of bloat - stuff you'll never use but can't
> remove.

Oneplus phones are also close to vanilla Android, and without the Pixel
price tag.


-- 
Neil Bothwick

I've found a solution to Fermat's Last Theorem but I see I've run out of
room o


pgpRnG1I280zf.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Gentoo + wifi

2021-03-22 Thread Neil Bothwick
On Sun, 21 Mar 2021 22:41:44 -0500, Matt Connell (Gmail) wrote:

> However, USB wifi adapters are quite affordable and sufficient for your
> use case, in my opinion.

There are also PCI wifi cards, which would be neater on a desktop. Both
are very cheap, but check what chipset a card uses before buying. Some
need third party modules. I prefer Intel-based ones, they "just work".

> 
> > whether I would need to add any packages to my Gentoo system.  
> 
> Yes, you will.  You'll need to find out what chipset is used by the
> adapter you want to add (or already have). Once you have that, you can
> enable the appropriate kernel drivers and rebuild, and then you'll need
> to install net-wireless/wpa_supplicant to make the actual connection.
> 
> wpa_supplicant can be cumbersome to set up by hand, but the Arch wiki
> has a very comprehensive page[1] on how to configure it. 
> Alternatively, there are GUI tools for managing the configuration (the
> aptly named wpa_gui is usually enough; to get this, you need to enable
> the qt5 use flag for wpa_supplicant), but if you're connecting to one
> network, and never changing the configuration, that might be overkill.

There's nothing to stop you installing with the qt5 flag, setting up and
then removing the flag, although you won't save much if you have other Qt
apps installed.

Setting up wifi for the first time can be a bit trial and error, so you
will need a wired connection as a fallback to search for help or download
software. If possible, get wifi working before you move, most phones have
an option to act as a wireless access point, or hotspot, so you could use
that to make sure your wireless hardware and software is working before
you move. Then you only need to plug in the authentication details at the
new location and all should be well.


-- 
Neil Bothwick

Don't judge a book by its movie.


pgpXdJQx89enQ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] "sys-fs/exfat-utils" vs "sys-fs/exfatprogs"

2021-03-20 Thread Neil Bothwick
On Sat, 20 Mar 2021 11:27:23 -0600, Grant Taylor wrote:

> > Looking at the github readme, it wold appear that exfat-progs is for 
> > use with the new in-kernel exfat fs, while exfat-utils is a companion 
> > to the older FUSE implementation of exfat.  
> 
> Maybe I need more caffeine, but I can't see the /direct/ relationship 
> between /user/ /space/ utilities and /kernel/ /space/ support for the 
> same file system.

> Is there something that I'm missing that would prevent exfat-progs
> (user space) with FUSE exFAT (kernel space) -or- exfat-utils (user
> space) with in-kernel exFAT (kernel space)?

I'm not saying there is a direct relationship, but the exfat-progs readme
states it is for use with the new in-kernel fs while exfat-utils is from
the same devs as the FUSE module.


-- 
Neil Bothwick

Processor: (n.) a device for converting sense to nonsense at the speed
   of electricity, or (rarely) the reverse.


pgpobCOoHzE14.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] "sys-fs/exfat-utils" vs "sys-fs/exfatprogs"

2021-03-20 Thread Neil Bothwick
On Sat, 20 Mar 2021 16:22:45 +0100, Dr Rainer Woitok wrote:

> in a recent Heise article (in German) at
> 
>
> https://www.heise.de/news/SystemRescue-8-00-GnuPG-Schluessel-im-Notfall-einfach-ausdrucken-5078896.html?wt_mc=nl.red.ho.ho-nl-windows.2021-03-15.link.link
> 
> about "SystemRescue" the author mentions among other things that the old
> packet "exfat-utils" has been replaced  with the more modern alternative
> "exfatprogs".
> 
> Gentoo provides both packages.  Up to now I have installed "exfat-utils"
> most probably due  to some recommendation  in the Gentoo Handbook.   Can
> anybody comment on the pros and cons of either package?

Looking at the github readme, it wold appear that exfat-progs is for use
with the new in-kernel exfat fs, while exfat-utils is a companion to the
older FUSE implementation of exfat.


-- 
Neil Bothwick

WORM: (n.) acronym for Write Once, Read Mangled. Used to describe a
  normally-functioning computer disk of the very latest design.


pgp7lmyVkmnpQ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] root on nfs and multiple ip addresses

2021-03-17 Thread Neil Bothwick
On Wed, 17 Mar 2021 15:59:01 +0800, William Kenworthy wrote:

> The lease times are relatively long considering the boot time. 
> Interestingly, dhcp issues the same IP addresses consistently to both
> the boot process and OS.

Is something changing the MAC address of the Pi after initial boot? That
would explain both the issue of two addresses and the consistency of them.


-- 
Neil Bothwick

At any event, the people whose seats are furthest from
the aisle arrive last.


pgpLoopnbzFIP.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Odd Chrome behavior when dragging tab to create new window

2021-03-13 Thread Neil Bothwick
On Sat, 13 Mar 2021 12:18:03 +, Victor Ivanov wrote:

> KDE here. I don't use Chrome so I only just fired it up (completely 
> clean "install") and have the same behaviour.

KDE here too and I use Chromium all the time and have never seen this
behaviour.

> However, this only seems to be happening when using the "System
> titlebar and borders". If you right click on the tab area (not on the
> tab itself) and untick said option the issue will disappear. At least
> it does on my machine and I can move tabs about as normal.

I have that option set.


-- 
Neil Bothwick

For every action, there is an equal and opposite malfunction.


pgpBegG2BPmh9.pgp
Description: OpenPGP digital signature


<    1   2   3   4   5   6   7   8   9   10   >