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

2019-11-15 Thread Wols Lists
On 13/11/19 08:55, Mick wrote:
> NOTE:  I only press the power button momentarily.  If I press and keep 
> pressed 
> the power button for a few seconds, then the system powers off instantly 
> without a graceful shutdown (a.k.a. I then will get a hard shutdown with no 
> disk syncing or flushing of caches).

This is a hardware feature. Now that so much stuff has been moved into
software, including control of the power switch!! (hence pressing it
triggers acpi and all that sort of stuff, and how you have wake-on-lan,
blah blah blah), you need some form of Big Red Switch, and that's it. No
matter how borked your system, holding the power button down is supposed
to be caught by firmware and kill the power after about five seconds.

Cheers,
Wol



Re: [gentoo-user] cannot compile sendmail in new gentoo installation

2019-11-15 Thread John Covici
On Fri, 15 Nov 2019 09:12:42 -0500,
John Covici wrote:
> 
> On Thu, 14 Nov 2019 11:47:53 -0500,
> Grant Taylor wrote:
> > 
> > On 11/13/19 9:51 PM, John Covici wrote:
> > > Hi.  I am trying to create a new installation as a chroot from
> > > my previous one since I don't have another box at hand and
> > > don't want to take this one down for several days to recompile
> > > everything.  Now I am stuck trying to emerge sendmail.  I
> > > cannot emerge 8.15.2 nor 8.14.9.  The last time I emerged
> > > successfully was under gcc 8.3.0 and so I tried emerging that
> > > but sendmail will not compile.  I have ACCEPT_KEYWORDS="~x86
> > > ~amd64" .
> > 
> > I can't comment on the specific problem you're having.  But I can
> > say that sendmail-8.15.2-r2 successfully (re)compiled (emerge
> > -DuNe @world) this past weekend on a current system without any
> > problems.
> 
> OK, so I found an actual gentoo bug on this, apparently, if you go to
> glibc 2.30 you get the problem because /usr/include/resolv.h
> eliminates the definition of RES_USE_INET6 .  They include a reference
> to a patch, but the patch seems not to work, but I am working on a new
> and hopefully better one.

My patch compiles successfully for anyone interested.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] cannot compile sendmail in new gentoo installation

2019-11-15 Thread John Covici
On Thu, 14 Nov 2019 11:47:53 -0500,
Grant Taylor wrote:
> 
> On 11/13/19 9:51 PM, John Covici wrote:
> > Hi.  I am trying to create a new installation as a chroot from
> > my previous one since I don't have another box at hand and
> > don't want to take this one down for several days to recompile
> > everything.  Now I am stuck trying to emerge sendmail.  I
> > cannot emerge 8.15.2 nor 8.14.9.  The last time I emerged
> > successfully was under gcc 8.3.0 and so I tried emerging that
> > but sendmail will not compile.  I have ACCEPT_KEYWORDS="~x86
> > ~amd64" .
> 
> I can't comment on the specific problem you're having.  But I can
> say that sendmail-8.15.2-r2 successfully (re)compiled (emerge
> -DuNe @world) this past weekend on a current system without any
> problems.

OK, so I found an actual gentoo bug on this, apparently, if you go to
glibc 2.30 you get the problem because /usr/include/resolv.h
eliminates the definition of RES_USE_INET6 .  They include a reference
to a patch, but the patch seems not to work, but I am working on a new
and hopefully better one.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com