Re: [gentoo-user] Is it OK to get rid of app-alternatives/* ?

2023-02-14 Thread Walter Dnes
On Tue, Feb 14, 2023 at 08:57:48PM -0500, Michael Cook wrote
> On 2/14/23 20:47, Walter Dnes wrote:
> >
> >Am I missing something obvious that would cause problems?
> >
> You're missing a lot of manual busy work you would have to do
> maintaining a package.provided since packages depend on stuff in
> that category.

  After thoroughly reading the docs at...
https://www.gentoo.org/support/news-items/2022-12-27-alternatives-introduction.html
it looks like the hand of him-who-must-not-be-named.  Rather than
provide special support for the 1% extreme edge cases, the remaining 99%
of regular users will be dragged through the change. More bloat; and
eselect is on the road to eventual deprecation.  With that in mind, I
don't really have any choice but to go along.  I'll have to change my
sig to include something about a fully functional linux on a 16
*MEGA*byte machine running X (Yes, I actually was doing that back in
2000)... sigh.

-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.



Re: [gentoo-user] Is it OK to get rid of app-alternatives/* ?

2023-02-14 Thread Michael Cook

On 2/14/23 20:47, Walter Dnes wrote:

   A whole bunch of busy-work for emerge, and nothing in the news item
indicates it's really necessary for the average user.  Howsabout...

* manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives"
* and then include "app-alternatives" in the file pointed to by
   PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from="

   Am I missing something obvious that would cause problems?

You're missing a lot of manual busy work you would have to do 
maintaining a package.provided since packages depend on stuff in that 
category.





Re: [gentoo-user] Is it OK to get rid of app-alternatives/* ?

2023-02-14 Thread David Rosenbaum
Dave

On Tue, Feb 14, 2023, 20:47 Walter Dnes  wrote:

>   A whole bunch of busy-work for emerge, and nothing in the news item
> indicates it's really necessary for the average user.  Howsabout...
>
> * manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives"
> * and then include "app-alternatives" in the file pointed to by
>   PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from="
>
>   Am I missing something obvious that would cause problems?
>
> --
> I've seen things, you people wouldn't believe; Gopher, Netscape with
> frames, the first Browser Wars.  Searching for pages with AltaVista,
> pop-up windows self-replicating, trying to uninstall RealPlayer.  All
> those moments, will be lost in time like tears in rain... time to die.
>
>


[gentoo-user] Is it OK to get rid of app-alternatives/* ?

2023-02-14 Thread Walter Dnes
  A whole bunch of busy-work for emerge, and nothing in the news item
indicates it's really necessary for the average user.  Howsabout...

* manually zapping with "rm -rf /var/db/repos/gentoo/app-alternatives"
* and then include "app-alternatives" in the file pointed to by
  PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from="

  Am I missing something obvious that would cause problems?

-- 
I've seen things, you people wouldn't believe; Gopher, Netscape with
frames, the first Browser Wars.  Searching for pages with AltaVista,
pop-up windows self-replicating, trying to uninstall RealPlayer.  All
those moments, will be lost in time like tears in rain... time to die.



Re: [gentoo-user] my 5.15.93 kernel keeps rebooting

2023-02-14 Thread John Covici
On Tue, 14 Feb 2023 16:25:55 -0500,
Rich Freeman wrote:
> 
> On Tue, Feb 14, 2023 at 2:54 PM John Covici  wrote:
> >
> > On Tue, 14 Feb 2023 14:08:34 -0500,
> > Rich Freeman wrote:
> >>
> > > will be displayed on the console briefly.  You can also enable a
> > > network console, which will send the dmesg output continuously over
> > > UDP to another device.
> >
> > OK, how would I set up logging to a network and what would I have to
> > do on another computer -- which in my case is Windows?
> 
> The docs are at:
> https://www.kernel.org/doc/Documentation/networking/netconsole.txt
> 
> (you can also google for linux netconsole for some wiki articles on it)
> 
> I have on my command line: netconsole=@/,@10.1.0.52
> 
> That IP is the host I want the log traffic to go to.  (Read the docs
> if you have a more complicated networking setup - I assume that will
> just run ARP and send stuff out without using a gateway/etc.)
> 
> Then on a receiving linux host I'd run (I think - it has been a while):
> nc -u -l -p 
> 
> Now, you mentioned Windows.  I've never used it, but nmap has a
> program available in a windows version called ncat that might do the
> job: https://nmap.org/ncat/
> 
> You just want to make sure you have it listening on port  for UDP.
> Make sure you use UDP or you won't receive anything.
> 
> If it is working you should get a ton of log spam when your host boots
> - anything that shows up in dmesg will show up in the network console.
> It is sent in realtime.
Sounds great -- I notice you ommitted the ip address,  my network
device is brought up by a systemd unit file, will I need to specify
the device, then?  I was thinking of netconsole=@192.168.0.1/eno1 --
would this be correct, assuming the ip address is correct?

-- 
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] my 5.15.93 kernel keeps rebooting

2023-02-14 Thread Rich Freeman
On Tue, Feb 14, 2023 at 2:54 PM John Covici  wrote:
>
> On Tue, 14 Feb 2023 14:08:34 -0500,
> Rich Freeman wrote:
>>
> > will be displayed on the console briefly.  You can also enable a
> > network console, which will send the dmesg output continuously over
> > UDP to another device.
>
> OK, how would I set up logging to a network and what would I have to
> do on another computer -- which in my case is Windows?

The docs are at:
https://www.kernel.org/doc/Documentation/networking/netconsole.txt

(you can also google for linux netconsole for some wiki articles on it)

I have on my command line: netconsole=@/,@10.1.0.52

That IP is the host I want the log traffic to go to.  (Read the docs
if you have a more complicated networking setup - I assume that will
just run ARP and send stuff out without using a gateway/etc.)

Then on a receiving linux host I'd run (I think - it has been a while):
nc -u -l -p 

Now, you mentioned Windows.  I've never used it, but nmap has a
program available in a windows version called ncat that might do the
job: https://nmap.org/ncat/

You just want to make sure you have it listening on port  for UDP.
Make sure you use UDP or you won't receive anything.

If it is working you should get a ton of log spam when your host boots
- anything that shows up in dmesg will show up in the network console.
It is sent in realtime.

-- 
Rich



Re: [gentoo-user] my 5.15.93 kernel keeps rebooting

2023-02-14 Thread John Covici
On Tue, 14 Feb 2023 14:08:34 -0500,
Rich Freeman wrote:
> 
> On Tue, Feb 14, 2023 at 9:08 AM John Covici  wrote:
> >
> > Hi.  So, foolish me, I decided to go from a working 5.10.155 system to
> > try latest lts of 5.15 which is 5.15.93.  Compile, install went well,
> > but the system keeps rebooting.  It gets all the way and even starts
> > the local services and then here are the last few lines, which may be
> > relevant or not:
> >
> > Feb 14 06:36:31 ccs.covici.com systemd[1]: Starting local.service...
> > Feb 14 06:36:31 ccs.covici.com systemd[1]: Starting
> > systemd-update-utmp-runlevel.service...
> > Feb 14 06:36:31 ccs.covici.com bash[5753]: rm: cannot remove
> > '/etc/ppp/provider_is_up': No such file or directory
> > Feb 14 06:36:31 ccs.covici.com systemd[1]:
> > systemd-update-utmp-runlevel.service: Deactivated successfully.
> > Feb 14 06:36:31 ccs.covici.com systemd[1]: Finished
> > systemd-update-utmp-runlevel.service.
> > -- Boot 5c394be675854680a9cb616208f374f3 --
> >
> > Any trouble shooting suggestions as to what is making the system
> > reboot?
> >
> 
> Where are you getting this from, the system log/journal?  This doesn't
> seem like a clean shutdown, so if it is a kernel PANIC I wouldn't
> expect the most critical info to be in the log (since it will stop
> syncing to protect the filesystem).  The details you need probably
> will be displayed on the console briefly.  You can also enable a
> network console, which will send the dmesg output continuously over
> UDP to another device.  This won't be interrupted by a PANIC unless
> there is some issue with the hardware or networking stack.
> 
> If you can get the final messages on dmesg and the panic core dump
> that would help.
> 
> The other thing you can do is try to capture a kernel core dump, but
> that is a bit more complicated to set up.
> 
> Otherwise your log is just going to say that everything was fine until
> it wasn't.
> 

Thanks a lot for responding.

OK, how would I set up logging to a network and what would I have to
do on another computer -- which in my case is Windows?  I do have a
terminal program on there called teraterm which can do ssh, but that
is about what I have -- unless there is some other program I can put
on there.

-- 
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] my 5.15.93 kernel keeps rebooting

2023-02-14 Thread Rich Freeman
On Tue, Feb 14, 2023 at 9:08 AM John Covici  wrote:
>
> Hi.  So, foolish me, I decided to go from a working 5.10.155 system to
> try latest lts of 5.15 which is 5.15.93.  Compile, install went well,
> but the system keeps rebooting.  It gets all the way and even starts
> the local services and then here are the last few lines, which may be
> relevant or not:
>
> Feb 14 06:36:31 ccs.covici.com systemd[1]: Starting local.service...
> Feb 14 06:36:31 ccs.covici.com systemd[1]: Starting
> systemd-update-utmp-runlevel.service...
> Feb 14 06:36:31 ccs.covici.com bash[5753]: rm: cannot remove
> '/etc/ppp/provider_is_up': No such file or directory
> Feb 14 06:36:31 ccs.covici.com systemd[1]:
> systemd-update-utmp-runlevel.service: Deactivated successfully.
> Feb 14 06:36:31 ccs.covici.com systemd[1]: Finished
> systemd-update-utmp-runlevel.service.
> -- Boot 5c394be675854680a9cb616208f374f3 --
>
> Any trouble shooting suggestions as to what is making the system
> reboot?
>

Where are you getting this from, the system log/journal?  This doesn't
seem like a clean shutdown, so if it is a kernel PANIC I wouldn't
expect the most critical info to be in the log (since it will stop
syncing to protect the filesystem).  The details you need probably
will be displayed on the console briefly.  You can also enable a
network console, which will send the dmesg output continuously over
UDP to another device.  This won't be interrupted by a PANIC unless
there is some issue with the hardware or networking stack.

If you can get the final messages on dmesg and the panic core dump
that would help.

The other thing you can do is try to capture a kernel core dump, but
that is a bit more complicated to set up.

Otherwise your log is just going to say that everything was fine until
it wasn't.

-- 
Rich



[gentoo-user] my 5.15.93 kernel keeps rebooting

2023-02-14 Thread John Covici
Hi.  So, foolish me, I decided to go from a working 5.10.155 system to
try latest lts of 5.15 which is 5.15.93.  Compile, install went well,
but the system keeps rebooting.  It gets all the way and even starts
the local services and then here are the last few lines, which may be
relevant or not:

Feb 14 06:36:31 ccs.covici.com systemd[1]: Starting local.service...
Feb 14 06:36:31 ccs.covici.com systemd[1]: Starting
systemd-update-utmp-runlevel.service...
Feb 14 06:36:31 ccs.covici.com bash[5753]: rm: cannot remove
'/etc/ppp/provider_is_up': No such file or directory
Feb 14 06:36:31 ccs.covici.com systemd[1]:
systemd-update-utmp-runlevel.service: Deactivated successfully.
Feb 14 06:36:31 ccs.covici.com systemd[1]: Finished
systemd-update-utmp-runlevel.service.
-- Boot 5c394be675854680a9cb616208f374f3 --

Any trouble shooting suggestions as to what is making the system
reboot?

Thanks in advance.

-- 
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