Re: [gentoo-user] emerge consistently 'hangs' on kernel/gentoo-sources

2023-12-17 Thread Remco Rijnders

Michael responded to me off list, and wrote:

On Sun, Dec 17, 2023 at 10:08:49AM -0500, Michael wrote in 
<675d0538-292f-40de-95c0-446641611...@gmail.com>:

I assume you have a script in /etc/portage/env/sys-kernel to build the
kernel during normal emerge, this is getting stuck because genkernel 
is calling another emerge instance and the hook is holding a lock. 
genkernel needs to be called with --no-module-rebuild in that case, 
then you need to manually call emerge @module-rebuild


I tried "genkernel --no-module-rebuild
--kernel-config=/etc/kernels/kernel-config-6.1.19-gentoo-x86_64 all" and this
did result in a succesful compilation. Doing an emerge afterwards finished
emerging the last four remaining packages. Will see if this fixes it going
forward as well!

Thank you all for the suggestions!



[gentoo-user] emerge consistently 'hangs' on kernel/gentoo-sources

2023-12-17 Thread Remco Rijnders

Hi all,

I've tried googling and didn't get very far so am afraid this might not be a
common thing...

Since a number of months, emerge hangs when doing a upgrade as soon as it gets
to the package gentoo-sources:


Installing (23 of 27) sys-kernel/gentoo-sources-6.1.67::gentoo

 * If you are upgrading from a previous kernel, you may be interested
 * in the following document:
 *   - General upgrade guide: https://wiki.gentoo.org/wiki/Kernel/Upgrade
 * For more info on this patchset, and how to report problems, see:
 * https://dev.gentoo.org/~mpagano/genpatches
WARNING: Will unset existing variable 'TMPDIR' to avoid clashing with genkernel 
config ...
WARNING: Will unset existing variable 'CHOST' to avoid clashing with genkernel 
config ...
* Gentoo Linux Genkernel; Version 4.3.6
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: 
--kernel-config=/etc/kernels/kernel-config-6.1.19-gentoo-x86_64 all

* Working with Linux kernel 6.1.67-gentoo for x86_64
* Using kernel config file '/etc/kernels/kernel-config-6.1.19-gentoo-x86_64' ...
*
* Note: The version above is subject to change (depends on config and status of 
kernel sources).

* kernel: >> Initializing ...
* >> Running 'make mrproper' ...
* >> Running 'make oldconfig' ...
* >> Kernel version has changed (probably due to config change) since 
genkernel start:
*We are now building Linux kernel 6.1.67-gentoo-x86_64 for x86_64 
...
* >> Compiling 6.1.67-gentoo-x86_64 bzImage ...
* >> Compiling 6.1.67-gentoo-x86_64 modules ...
* >> Installing 6.1.67-gentoo-x86_64 modules (and stripping) ...
* >> Generating module dependency data ...
* >> Compiling out-of-tree module(s) ...

It is consistent every time and at the same point. It has been stuck there for
24 hours now. Pressing Ctrl-C takes me back to the command line with no error
indication. Computer load is low, and this is the process tree for emerge:

root 19590  0.0  0.0   7916  4264 pts/5S09:15   0:00  |   
\_ bash
root 19936  0.6  1.9 322620 314152 pts/5   SN+  09:16   1:17  | 
  \_ /usr/bin/python3.11 /usr/lib/python-exec/python3.11/emerge --ask --update 
--newuse --de
ep @world
root  8996  0.1  1.8 324220 308860 pts/5   SN+  09:40   0:20  | 
  \_ /usr/bin/python3.11 /usr/lib/python-exec/python3.11/emerge --ask 
--update --newuse
--deep @world
root  9142  0.0  0.0  10892  7148 pts/5SN+  09:40   0:00  | 
  \_ bash /usr/lib/portage/python3.11/ebuild.sh postinst
root  9153  0.0  0.0  10892  5992 pts/5SN+  09:40   0:00  | 
  \_ bash /usr/lib/portage/python3.11/ebuild.sh postinst
root  9196  0.0  0.0  12724  9024 pts/5SN+  09:40   0:00  | 
  \_ /bin/bash /usr/bin/genkernel 
--kernel-config=/etc/kernels/kernel-config
-6.1.19-gentoo-x86_64 all
root 31236  0.0  0.4  71804 67416 pts/5SN+  10:03   0:00  | 
  \_ /usr/bin/python3.11 
/usr/lib/python-exec/python3.11/emerge --ignore
-default-opts --buildpkg=n --usepkg=n --quiet-build=y @module-rebuild

Anyone has any ideas what might be wrong?



Re: [gentoo-user] Mutt vs Fetchmail problem

2021-03-24 Thread Remco Rijnders
On Wed, Mar 24, 2021 at 04:31:56AM -0400, Philip wrote in 
:

210322 Remco Rijnders wrote:

On Mon, Mar 22, 2021 at 03:22:26AM -0400, Philip wrote in

I tried the Mutt 'G' command, which replied :
"STLS: Mate, the command must be CAPA USER PASS QUIT ; no encryption".
Of course, that wouldn't do, as it has to send out my password.
So Fetchmail itself is working, but when Mutt calls it, something goes wrong.

How does Mutt call Fetchmail ?


That I'm not sure (smile).


I think mutt doesn't call fetchmail. You have fetchmail set up to pull mail from
your pop server (this works), and you have mutt set up to also pull mail from
your pop server (this no longer works), using mutt's own built in POP support
(http://www.mutt.org/doc/manual/#pop) which does not use your fetchmail
configuration at all.

You thus have two ways set up to access your mail. You might either do away with
POP support in your mutt (as the mutt manual says: If you only need to fetch all
messages to a local mailbox you should consider using a specialized program,
such as fetchmail(1), getmail(1) or similar.), or make sure that mutt accesses
the POP server the same way that fetchmail does.


I think 'G' is not bound by default in Mutt.


IIRC it is bound by default : at least, it's always worked before.


Ah yes, your version of mutt has POP support built in, mine doesn't and as such
'G' is not bound on my system, my bad.


How did you set it up in your .muttrc ?


 set pop_host="pop."
 set pop_pass=""
 set pop_user=""
 set pop_last

Fetchmail is run as a user cron job.  It was last emerged in 2020.
The cron jobs are running as before, but nothing is downloaded.
.muttrc  hasn't been changed since 2020.

It does appear that it is in fact more convenient to use Fetchmail directly.
Instead of having to check several folders for new mail,
I can issue the command (aliased as 'fm') when I decide to check mail
& it actually tells me how many it's downloading,
so if there's nothing, I don't have to do anything else.

However, it wb helpful to find out what has gone wrong.
It must be some pkg I updated since 210220.


Either something changed in your system, or possibly on the ISP side of things.
The "Mate, the command must be one of CAPA, USER, PASS or QUIT" error you get is
returned by the server you are trying to retrieve your mail from, not mutt, and
probably in relation to mutt sending the STLS command to (attempt to) start a
secure session. You might want to see what mutt does different from what
fetchmail does. Try adding ':995' (for port 995, used for encrypted POP3) to the
pop_host setting?

Of late, a lot of email providers (notably gmail, MS/outlook, and I think Yahoo
too) require OAUTH support to access mail. Maybe this applies to you? See the
interwebs for documentation on how to configure this for fetchmail and mutt
respectively.

I hope this helps you a little further.

Kind regards,

Remco



Re: [gentoo-user] Mutt vs Fetchmail problem

2021-03-22 Thread Remco Rijnders
On Mon, Mar 22, 2021 at 03:22:26AM -0400, Philip wrote in 
:

I tried the Mutt 'G' command, which replied :
"STLS: Mate, the command must be CAPA USER PASS QUIT ; no encryption".
Of course, that wouldn't do, as it has to send out my password.
...
So Fetchmail itself is working, but when Mutt calls it, something goes wrong.
Can anyone offer a suggestion what that might be ?


How does mutt call fetchmail? I think 'G' is not bound by default in mutt, how
did you set it up in your .muttrc?

Remmy



Re: [gentoo-user] Console scrollback

2021-01-21 Thread Remco Rijnders
On Thu, Jan 21, 2021 at 08:58:42AM +, Jorge wrote in 
:

On Thu, Jan 21, 2021 at 8:53 AM Wols Lists  wrote:





https://lwn.net/Articles/842415/

Take a read, as it's mentioned in this article.


Paywalled... :(


Try this link: https://lwn.net/SubscriberLink/842415/5bc3e39b4d4f52fe/



Re: [gentoo-user] thunderbird - 78.6.0 disable line wrap

2021-01-02 Thread Remco Rijnders
On Fri, Jan 01, 2021 at 09:40:59PM -0700, thelma wrote in 
<4047b613-de75-3eeb-46cf-df4895577...@sys-concept.com>:
I was using old version of thunderbird and line wrap was in "Option" 
menu; but in new version "line wrap On/Off" disappeared.


How to disable line wrap?


They make this really impossible to find... Anyways, go to the menu Edit -->
Preferences, then scroll down go to the bottom option in the window that shows
"Config Editor...". Click to accept the risk and void your warranty. In the
search bar, enter "wrap". I think the settings you'll want are
mail.wrap_long_lines and/or plain_text.wrap_long_lines. Double click to change
the values. The changed settings should take effect immediately.

I hope this helps.

Kind regards,

Remco



Re: [gentoo-user] apache blocking access based country

2020-12-08 Thread Remco Rijnders
On Tue, Dec 08, 2020 at 11:18:49PM -0700, thelma wrote in 
<94662af9-b159-65ca-371d-1521ab4fa...@sys-concept.com>:

Steve, suggested a good alternative database of IP's with two letter
country beside them.  It can be sorted by country in a spreadsheet. This
16MB file would seem like an ideal solution; but checking is it is
missing 212.114.17 number I've checked earlier from the other source.
The number 212.114.16 correctly identified as "FR" (France).

deny from 212.114.16.0/24
deny from 212.114.17.0/24

The dbip-country-lite-2020-12.csv lists:
212.114.10.0212.114.15.255  RU
212.114.16.0212.114.31.255  FR
212.114.32.0212.114.49.39   DE


Just wanted to point out that "212.114.17.0/24" is included in the
"212.114.16.0   212.114.31.255  FR" entry you show, so it doesn't seem to be
missing at all. For reasons of efficiency, it is preferable to have blocks
listed that are bigger than /24's if they roll up to bigger blocks per
country.



Re: [gentoo-user] Apache 2.4 can not access server subdirectory

2020-10-29 Thread Remco Rijnders
On Thu, Oct 29, 2020 at 08:10:07AM -0600, thelma wrote in 
<474d741a-a72d-e3ff-f771-5c7ecd72c...@sys-concept.com>:

On 10/29/2020 06:21 AM, Remco Rijnders wrote:

On Wed, Oct 28, 2020 at 10:36:12PM -0600, thelma wrote in
<7b3d3416-77b0-02eb-ad05-f717fdf0b...@sys-concept.com>:

After installing apache 2.4 I can not access server subdirectory:
server/admin/index.html

Forbiden
You don't have permission to access /admin/index.html on this server

I can access index.html in a directory below /admin (server/index.html)
but not the server/admin/index.html


That seems to suggest that either the permissions or ownership of
admin/index.html are different from admin/server/index.html, or that
there is a
difference of that kind between the directories admin/ and admin/server.
Are
they?


Here are the permissions:

index on server/
-rw-r--r--  1 root root19078 Jan 14  2011 index.php

index on server/admin/
drwxr-xr-x  6 root root 4096 Oct 28 22:08 admin
-rwxrwxrwx  1 apache apache   428 Oct 28 16:44 index.html

It works on Apache 2.2 but not Apache 2.4


Hi Thelma,

Please help us help you a little better. As I understand it, you have two
index.html files, but you show only one above. What role does index.php have in
all this? I am also unclear if your set up is server/admin or admin/server, as
you used both in your first message. So, all in all, I am a little confused as
to what your exact problem is and what the exact permissions on all the
directories and index.html files involved are.

Thanks!



Re: [gentoo-user] Apache 2.4 can not access server subdirectory

2020-10-29 Thread Remco Rijnders
On Wed, Oct 28, 2020 at 10:36:12PM -0600, thelma wrote in 
<7b3d3416-77b0-02eb-ad05-f717fdf0b...@sys-concept.com>:

After installing apache 2.4 I can not access server subdirectory:
server/admin/index.html

Forbiden
You don't have permission to access /admin/index.html on this server

I can access index.html in a directory below /admin (server/index.html)
but not the server/admin/index.html


That seems to suggest that either the permissions or ownership of
admin/index.html are different from admin/server/index.html, or that there is a
difference of that kind between the directories admin/ and admin/server. Are
they?



Re: [gentoo-user] "mysql_connect() or mysql_query()" deprecated

2020-10-25 Thread Remco Rijnders
On Sun, Oct 25, 2020 at 05:24:26PM -0600, thelma wrote in 
:

The function in newer php "mysql_connect() or mysql_query()" were removed but I 
don't know starting from which version?

I'm running PHP Version 5.6.33-pl0-gentoo and these function work.
But I upgraded one of my system to php-5.6.40 and I'm getting an error:

PHP Fatal error:  Call to undefined function mysql_connect() in 
/var/www/catalog/admin/includes/functions/database.php on line 19


Hi Thelma,

I think mysql support was not removed between the two versions you
mention. The PHP website says "This extension was deprecated in PHP
5.5.0, and it was removed in PHP 7.0.0.", which would be a logical
point to do this. Could it be that your "use" flags for PHP changed?
Make sure to emerge PHP with the mysql use flag to build with mysql
database support.

I hope this helps.

Kind regards,

Remco



Re: [gentoo-user] .fetchmailrc syntax error

2020-10-14 Thread Remco Rijnders
On Thu, Oct 15, 2020 at 12:54:13AM +, Thomas wrote in 
<20201015005421.3ae0be0...@pigeon.gentoo.org>:

I didn't know getmail was deprecated, but haven't used getmail in a long time.

Maybe deprecated because of using Python 2.x which is deprecated?  Or did 
they/could they port to Python 3.x?


Hi Thomas,

Getmail has been removed from Gentoo because it was 2.x only indeed. See
https://archives.gentoo.org/gentoo-dev/message/e6e2aad22bc828eb877ffa06219bb8c2

Upstream has not made support for Python 3.* a priority and as such getmail has
been forked into a version which does work with Python 3.*, see
http://www.getmail6.org/


I use mpop and msmtp but am considering other possibilities including mutt.

I want to keep email in a format that does not limit use to one particular 
application.


fetchmail and getmail are MDA's (Mail Delivery Agent), while mutt is a MUA (Mail
User Agent). While there is some overlap in functionality, they do serve
different roles. mutt can work fine with either fetchmail or getmail and is
happy to work with both mbox format mail files as well as maildir's.

BTW, you, or the MUA you currently use, somehow managed to make your message
respond to a different message than the one which you are quoting, which makes
your message show up on the incorrect thread for many clients.



Re: [gentoo-user] [OT] .fetchmailrc syntax error

2020-10-14 Thread Remco Rijnders
On Wed, Oct 14, 2020 at 07:03:01PM -0400, Walter wrote in 
<20201014230301.ga25...@waltdnes.org>:

 With getmail having been deprecated, I can't pull it in on my fresh
install, so I *HAVE TO* go with fetchmail.


Hi Walter,

I don't have an answer to your fetchmail problem but would like to point out
that work is being done to get a python 3 compatible version of checkmail in
gentoo. See https://github.com/gentoo/gentoo/pull/17239 for this. It has not yet
been merged into gentoo official, but I use this package myself without issue.

Hopefully in the near future this package will become part of gentoo. Till then,
I can help you to install this package/ebuild on your system if needed.

Regards,

Remco



Re: [gentoo-user] tips on running a mail server in a cheap vps provider run but not-so-trusty admins?

2020-08-18 Thread Remco Rijnders
On Tue, Aug 18, 2020 at 07:00:52AM +, Caveman wrote in 
<2gbde2AzVUH4P9HuGPvBvJpZBjaeFBqUfOPfrojvSXcRQgqYcNuLDa0BZbdtS1QrvKymDpPLozphS0JtKDgRXX4WE1rh439hq_VnseMCJZo=@protonmail.com>:

yes.  smtp is nasty, and also redundant.


How is it redundant?


makes me wonder if i should just create me a
hidden tor service that is just a normal website,
and give its url to people (instead of email) who
want to message me by telling them ``submit your
messages to me''.  then, verify messages by
mailing their supplied email a confirmation
message.


Ah, the "Don't spam us, we'll spam you approach?"



Re: [gentoo-user] What is faster: amd64 or x86?

2020-08-11 Thread Remco Rijnders
On Mon, Aug 10, 2020 at 07:46:36PM -0400, Jack wrote in 
<46fdde47-4437-5aa4-926d-e42aaed8e...@users.sourceforge.net>:

On Mon, Aug 10, 2020, at 1:19 PM, Никита Степанов wrote:

What is faster: amd64 or x86?


Nikita, what are you really asking about? Or, are you just looking to 
stir the pot?


I think the intended or underlying question was: Should I use the x86
or amd64 boot media to install Gentoo on my system?

And I think the appropiate answer almost always is amd64 if the system
supports it. I can see exceptions on severely memory constrained
systems or if you need to mainly run software that can only run in 32
bit, but both seem rather uncommon to me.



Re: [gentoo-user] Local mail server

2020-07-30 Thread Remco Rijnders
On Thu, Jul 30, 2020 at 01:48:05PM +0100, antlists wrote in 
:

I don't think an ISP is supposed to allocate less ...


I think your original message was open for multiple interpretations,
or at least I read it as you saying there are 32 bit addresses the ISP
allocates from. I now see the alternate one and the one you probably
intended that there is 32 bits worth of /64's to hand out to
customers. I'm sorry for misunderstanding at first.

Yes, a mimimum of /64 is what is recommended (and needed to make
stateless auto configuration work on the customers end). Whether the
/64 you get allocated is dynamic or static, can still depend on the
ISP's practises and business model.

Cheers,

Remco



Re: [gentoo-user] Local mail server

2020-07-30 Thread Remco Rijnders

Point is though, with IPv6 addresses are no longer a scarce
commodity. The cost to an ISP to give you one IPv6 address (/128) is
just the same as given you enough room for your own IPv4 internet
(/64).


Oops, brain freeze. A /64 gives you enough room for an IPv4 internet
of IPv4 networks as IPv4 is just 32 bits.



Re: [gentoo-user] Local mail server

2020-07-30 Thread Remco Rijnders
On Thu, Jul 30, 2020 at 10:05:46AM +0100, antlists wrote in 
:
From what little I understand, IPv6 *enforces* CIDR. So, of the 64 
network bits, maybe the first 16 bits are allocated to each high level 
allocator eg RIPE, ARIN etc. An ISP will then be allocated the next 16 
bits, giving them a 32-bit address space to allocate to their 
customers - each ISP will have an address space the size of IPv4?!


Each customer is then given one of these 64-bit address spaces for 
their local network. So routing tables suddenly become extremely 
simple - eactly the way IPv4 was intended to be.


An IPv6 address is 128 bits in length. Usually an ISP allocates 64
bits to a single customer, allowing the systems on/behind that
connection to automatically assign themselves an address based on
their MAC address for example. Note that also allocations bigger than
64 bits are common so customers get 70 or 76 bits to use and can use
multiple subnets on their home/business networks.

Point is though, with IPv6 addresses are no longer a scarce
commodity. The cost to an ISP to give you one IPv6 address (/128) is
just the same as given you enough room for your own IPv4 internet
(/64). Whether they make them static or dynamic depends on their
policy and what their customers are willing to put up with / pay for.



Re: [gentoo-user] To do list or bug tracker? Project management?

2020-07-20 Thread Remco Rijnders
On Mon, Jul 20, 2020 at 05:56:10PM +0200, Stroller wrote in 
:

Does anyone have any recommendations for a task management app, please?

I bought a boat a year ago, and can't keep a track of all the work that needs 
doing and the things that need fixing.

I took a look at To Do apps for my Mac a while back but they all seemed to 
focus more on the formatting of the list (what font to use and what kind of 
bullet points), rather than the actual tasks.

I'd like something that tracks dependencies - that I need to order this part 
before I can complete that task, to divide jobs that can be completed now from 
those that need something else doing first.


Hi Stroller,

I myself am a fan/user of taskwarrior, which you can find in package
app-misc/task . It is a stand alone command line application and can
track dependencies and even help you prioritise your tasks.

Regards,

Remco



Re: [gentoo-user] Joining PDF files together.

2020-07-09 Thread Remco Rijnders
On Thu, Jul 09, 2020 at 01:31:36PM +, Alan wrote in 
<20200709133136.GA4852@ACM>:

Hello, Gentoo.

I've just scanned in a two-page document using sane, and it's given me
as output two separate files.  I would like to join these together into
a single document.

Would somebody please suggest to me an appropriate package to do this
with.


I have no experience with either myself, but I think you can use
either pdftk, or the pdfunite command in the poppler package.