Re: [gentoo-user] swaps mounted randomly

2020-03-04 Thread n952162
(I see I forgot the case-insensitive flag on the grep, but when I add 
that, the result is the same.)


On 2020-03-05 07:44, n952162 wrote:



On 2020-03-05 00:55, Adam Carter wrote:
On Wed, Mar 4, 2020 at 9:19 PM n952162 > wrote:


Yes, everything mounts when I explicitly say swapon -a.  No
problems in
/var/log/messages.


Anything from 'dmesg | grep -i swap'



This, from this morning:

$ swapon -sv
Filename    Type Size    Used    Priority
/swap   file 6291452 0   5

$ dmesg | grep swap
[    0.160418] Spectre V1 : Mitigation: usercopy/swapgs barriers and 
__user pointer sanitization
[    8.582654] Adding 6291452k swap on /swap. Priority:5 extents:23 
across:8347644k


$ sudo grep 'Mar  5.*swap' /var/log/messages
Mar  5 07:30:53 txm1 kernel: [    0.160418] Spectre V1 : Mitigation: 
usercopy/swapgs barriers and __user pointer sanitization
Mar  5 07:30:53 txm1 kernel: [    8.582654] Adding 6291452k swap on 
/swap.  Priority:5 extents:23 across:8347644k


$ sudo swapon -a

$ swapon -sv
Filename    Type Size    Used    Priority
/swap   file 6291452 0   5
/dev/sdb1   partition 1099772 0   10
/lcl//1/swap    file 3071996 0  1

$ dmesg | grep swap
[    0.160418] Spectre V1 : Mitigation: usercopy/swapgs barriers and 
__user pointer sanitization
[    8.582654] Adding 6291452k swap on /swap. Priority:5 extents:23 
across:8347644k
[  381.200513] Adding 1099772k swap on /dev/sdb1. Priority:10 
extents:1 across:1099772k
[  382.169534] Adding 3071996k swap on /lcl//1/swap.  
Priority:1 extents:129 across:92965568k




Re: [gentoo-user] swaps mounted randomly

2020-03-04 Thread n952162


On 2020-03-05 00:55, Adam Carter wrote:
On Wed, Mar 4, 2020 at 9:19 PM n952162 > wrote:


Yes, everything mounts when I explicitly say swapon -a.  No
problems in
/var/log/messages.


Anything from 'dmesg | grep -i swap'



This, from this morning:

$ swapon -sv
Filename    Type Size    Used    Priority
/swap   file 6291452 0   5

$ dmesg | grep swap
[    0.160418] Spectre V1 : Mitigation: usercopy/swapgs barriers and 
__user pointer sanitization
[    8.582654] Adding 6291452k swap on /swap.  Priority:5 extents:23 
across:8347644k


$ sudo grep 'Mar  5.*swap' /var/log/messages
Mar  5 07:30:53 txm1 kernel: [    0.160418] Spectre V1 : Mitigation: 
usercopy/swapgs barriers and __user pointer sanitization
Mar  5 07:30:53 txm1 kernel: [    8.582654] Adding 6291452k swap on 
/swap.  Priority:5 extents:23 across:8347644k


$ sudo swapon -a

$ swapon -sv
Filename    Type Size    Used    Priority
/swap   file 6291452 0   5
/dev/sdb1   partition 1099772 0   10
/lcl//1/swap    file 3071996 0  1

$ dmesg | grep swap
[    0.160418] Spectre V1 : Mitigation: usercopy/swapgs barriers and 
__user pointer sanitization
[    8.582654] Adding 6291452k swap on /swap.  Priority:5 extents:23 
across:8347644k
[  381.200513] Adding 1099772k swap on /dev/sdb1. Priority:10 extents:1 
across:1099772k
[  382.169534] Adding 3071996k swap on /lcl//1/swap.  
Priority:1 extents:129 across:92965568k




Re: [gentoo-user] KDE weirdness after upgrade past Sunday.

2020-03-04 Thread J. Roeleveld
On Wednesday, 4 March 2020 14:41:31 CET Dale wrote:
> Howdy,
> 
> I did my usual Sunday upgrades the other day. There was a lot of
> upgrades to plasma and elogind it seems.  Let's add LOo in there as well
> just for giggles.  Anyway, I have a few oddities going on here.  I'm not
> quite sure what to make of it but wondering if anyone else has ran into
> this.
> 
> First weirdness.  When I lock my screen, CTRL + shift + L.  It locks the
> screen just fine.  The weird part happens when I poke the mouse or hit a
> key to wake the screen back up.  Instead of a screen asking for my
> password with the goofy looking user avatar, I get a black screen with
> the mouse pointer visible.  The background and the little box for my
> password, nowhere to be found.  After a bit, I type in the password,
> blindly, and it sits there for a while and then my desktop comes back. 
> It takes a while and could be related to other problems coming up.

I investigated this a bit more and found it has to do with " kde-plasma/
kscreenlocker ".
This process was using up 100% CPU (gladly only 1 core) and killing (-9) this 
cleared the black screen.

Can this also be related to still using consolekit? Do I really need to 
migrate to "elogind" to be able to unlock my laptop after hibernate?

Many thanks,

Joost





Re: [gentoo-user] CPU speed scaling quirk (Intel; Dell i660)

2020-03-04 Thread madscientistatlarge
To reduce problems with emitted Radio Frequency Interference, most processors 
now use a clock that varies in speed over time.  This doesn't really reduce the 
emitted energy, but because it is always changing frequency interference with 
other devices tends to be intermittent, and Ideally unnoticeable.  Also the 
oscillators used in computers are not the most precise, they don't need to be 
and precision cost.  The bios may let you toggle this deliberate frequency 
variation and off, which I suppose could be critical in some real-time cases, 
or a varying clock may, in some cases cause objectionable interference where as 
the fixed clock, may not, YMMV.


Sent with ProtonMail Secure Email.

‐‐‐ Original Message ‐‐‐
On Wednesday, March 4, 2020 5:28 PM, Walter Dnes  wrote:

> I've cobbled together a script to select cpu governors and speeds.
> One weird thing I've noticed is that reported cpu speed doesn't quite
> match the selected speed. E.g. on my machine (yours will vary)...
>
> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
>
> ...shows avalable speeds...
>
> 3001000 300 290 280 270 260 250 240 230 
> 220 210 200 190 180 170 160
>
> IMPORTANT "userspace" governor must be present.
>
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq reports speeds
> very close to, but slightly lower than the selected values, and they also
> seem to jump around a bit. What gives?
>
> -
>
> Walter Dnes waltd...@waltdnes.org
> I don't run "desktop environments"; I run useful applications





Re: [gentoo-user] Libreoffice and pasting HTML from web pages.

2020-03-04 Thread james

On 3/2/20 6:07 PM, Dale wrote:

Howdy,

I don't use LOo a whole lot but several months ago, I noticed a
problem.� Sometimes I go to a electronic type website that has info on
circuits and how something works.� Those pages usually contain text,
pics and such.� I highlight what contains the info I want, which may
include some things I don't, then copy it to my clipboard.� I then go to
LOo and paste it as HTML since that's what it is.� Once pasted, I remove
things I don't want, such as social media icons and other unwanted
things.� I also make some images larger, make text larger and such as
well.� When I get it right, I print it as a pdf file or save it as a LOo
document.� That's how I did it in the past.� When I would paste the
contents, it would include images and all and would be done in seconds,
well under a minute for sure.

When I paste the content now, it doesn't include pics.� The boxes is
there and text for the link to the image but no image.� It also locks
LOo up for minutes.� If I try to scroll up or down, it locks up again.
Even with all that, it never loads the images.� I end up killing the
process.� I think this started when the 6.3.* versions came out.� I
would normally go back to a older version but those are no longer in the
tree. I'm wondering if a USE flag could make it work again.� I used euse
-i to see what each flag does but I'm not seeing anything that would
change it.� What I think the problem could be, LOo can't reach the
network anymore.� In the past when I pasted content, I could see
activity on the network.� I think LOo was fetching the pics and maybe
even some other info as well.� Thing is, I don't see why it can't now.
Again, USE flag maybe???

Here is the info for libreoffice.


root@fireball / # emerge -av libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild�� R�� ~] app-office/libreoffice-6.3.5.2::gentoo� USE="cups 
dbus
gtk java kde mariadb pdfimport -accessibility -bluetooth -branding
-coinmp -debug -eds -firebird -googledrive -gstreamer -gtk2 -ldap -odk
-postgres -test" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell
-scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6
-python3_7 -python3_8" 233,805 KiB

Total: 1 package (1 reinstall), Size of downloads: 233,805 KiB

Would you like to merge these packages? [Yes/No] n

Quitting.

root@fireball / # equery list -po libreoffice
 �* Searching for libreoffice ...
[-P-] [� ] app-office/libreoffice-6.3.4.2-r1:0
[IP-] [� ] app-office/libreoffice-6.3.5.2:0
[-P-] [ -] app-office/libreoffice-6.3.:0
[-P-] [ -] app-office/libreoffice-:0
root@fireball / #


Anyone have a clue how to fix this?


I use LO quite a lot; but it is a beast and they are constantly 
'tweaking' small details


SO, you are not alone. If you'll post and example download and a brief 
example guide to what use to work and what does not work now, I'll see 
if I can duplicate the problem. Here is my current LO setup:


 Installed versions:  6.3.4.2-r1^t(02:24:34 AM 02/11/2020)(branding 
cups dbus gstreamer gtk java ldap mariadb odk pdfimport postgres


and

app-office/libreoffice-l10n
 Installed versions:  6.3.4.2... en

I'm interested in more advanced viewing of any and all sorts of 
electrical/electronic file viewing.


curiously,
James



[gentoo-user] CPU speed scaling quirk (Intel; Dell i660)

2020-03-04 Thread Walter Dnes
  I've cobbled together a script to select cpu governors and speeds.
One weird thing I've noticed is that reported cpu speed doesn't quite
match the selected speed.  E.g. on my machine (yours will vary)...

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

...shows avalable speeds...

3001000 300 290 280 270 260 250 240 230 220 
210 200 190 180 170 160

  ***IMPORTANT*** "userspace" governor must be present.

  /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq reports speeds
very close to, but slightly lower than the selected values, and they also
seem to jump around a bit.  What gives?

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] swaps mounted randomly

2020-03-04 Thread Adam Carter
On Wed, Mar 4, 2020 at 9:19 PM n952162  wrote:

> Yes, everything mounts when I explicitly say swapon -a.  No problems in
> /var/log/messages.
>

Anything from 'dmesg | grep -i swap'


Re: [gentoo-user] KDE weirdness after upgrade past Sunday.

2020-03-04 Thread Dale
james wrote:
>
> Hello Dale,
>
> Truthfully, I learned, after much pain, decades ago, to keep at least
> (2) working gentoo systems, just to avoid catastrophic situations
>
> Used PC's, if running a minimalistic desktop, are pretty fast. Cross
> compile and copy over the updates, or there are many ways to keep old
> gentoo systems, active.
>
> I also picked up a recent laptop, with a 1G traditional Hard Drive,
> for under $500.00. It's way faster than my '8350' AMD systems, until
> the Kernel-10.0 + starts using the video cards for compiling
> *everything* automagically.  Kernel-10.x is suppose to be a
> 'game-changer' for older hardware, speeding up compiling, tremendously.
>
> I put 'thermaltake-watercoolers 3.0' on all my chassis based gentoo
> systems, at about $80/unit. Keeping the cpu cooled, allows for faster
> speeds. My 8350's run at 4GHz and can easily gain 25% clocking to
> 5GHz. I use sensors
> to monitor temperatures:
>
> 'watch -n5 sensors -f'
>
> If I were you, I'd figure out a second, graphical Gentoo system, on
> the cheap; as it can be used to fix most 'borked gentoo' systems,
> particularly if the best tools are setup and ready, just for
> gentoo_repair.
>
>
> hth,
> James
>
>
>


I've got a spare mobo, memory for it and even my old 4 core CPU.  I need
a case and a video card to build a system.  It's on my todo list, sort
of.  I got some hard drives laying around that should work as well. 
They are older small drives, 2 or 3TB drives.  I guess I could use a
stock CPU cooler but I'd likely buy a new one of those too.  May even
take the cooler on my current system and put on the spare and put the
newer one on this one.  I could get a more efficient one and run this 8
core CPU a bit cooler.  Anyway.  Maybe one day.  Oh crap, power supply. 
Must have that too. 

I was going to watch a show while my download finished.  I feel asleep. 
Anyway, I finally logged out and restarted elogind.  Everything is back
to normal so far.  Another thing I noticed, when I went to login on the
console, note console and Konsole, it to was slow to log me in.  Console
= ctrl + Alt + F1, 2 etc.  Konsole = KDEs commandline program.  They
appear the same but sometimes work differently.  Anyway, both are back
to normal.  I haven't tested the screen lock part yet but I have to go
to a neighbors house and will lock the screen when I leave.  I'll know
when I get back later.

So, if anyone runs up on this thread and are experiencing this type of
issues, restart elogind.  Rebooting would work if a windoze fan or going
to a lower runlevel with the GUI not running and then restart it, using
whatever tool manages services. 

Thanks to all. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: firefox managed by my organization?

2020-03-04 Thread Walter Dnes
On Wed, Mar 04, 2020 at 07:12:35PM +0100, n952162 wrote
> On 2020-03-04 17:14, Daniel Frey wrote:
> >
> > It will go away but allowing Firefox to self-update on Gentoo will get
> > you a very broken Firefox as the ebuilds have gone away from large
> > monolithic builds to linking to local system libraries. Not recommended!
> >
> > Dan
> >
> 
> Ah, good point.  But I should be able to do the same thing from with
> "preference" somewhere, I suspect.

  A Pale Moon user here.  We get the same warnings about not building
Pale Moon with system libs (item 5
https://forum.palemoon.org/viewtopic.php?f=62=20885 ).  Since PM is a
Firefox fork, it inherits a lot of the same behaviour.  I notice that
doing "emerge -pv firefox" shows the following default USE flags...

system-av1 system-harfbuzz system-icu system-jpeg system-libevent
system-libvpx system-sqlite system-webp

  Over-riding them in package.use, that should prevent the problems.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] KDE weirdness after upgrade past Sunday.

2020-03-04 Thread james

On 3/4/20 11:16 AM, Dale wrote:

Jack wrote:

On 3/4/20 8:41 AM, Dale wrote:

All the timing of the above problems are very similar.� I believe they
have the same cause.� When I finished my updates, I logged out, went to
boot runlevel, used checkrestart to make sure everything that needed to
be restarted was clean, restarted any that weren't and then when back to
default runlevel.� In the past this has always worked fine.� Thing is,
elogind is in the boot runlevel.� I'm going to have to get used to
restarting it manually I guess.� Could elogind be the cause of all
this?� Would it be safe to put elogind in the default runlevel?� That
would solve the problem of me forgetting to restart it after upgrades.
Or would some other service in the boot runlevel start it as a
dependency anyway??

When I get to a point where I can logout and back in, I'll test
restarting elogind to see if it helps.� Thing is, I'm not really sure
what all elogind does but from what little I know, it sounds like a good
place to start.� Thing that confuses me, checkrestart not showing it
needed to be restarted.� It's never failed me before.


I was recently in a similar position (but not such serious effects)
but discovered that elogind refused to restart.� The message was that
it wouldn't start because it was already started, but that implies
that it simply failed to stop, without producing any error message.� I
didn't want to fight it any further, so I just rebooted.

Jack






So elogind is a pretty good suspect.� One reason I'm asking about this,
I'm trying to figure out how elogind fails.� After all, if I'm stuck on
a console, I can't use Seamonkey or anything to find help.� I need to be
able to recognize what is failing.� So far, I've yet to find where
elogind problems are logged.

When you run into the problem with a stuck script, don't forget the zap
option.� I'd recommend using ps aux | grep  to make sure it is
killed and if not kill it with kill first.� After you use the zap
option, it should start it normally, the start option.� In case you have
never heard of this, it looks like this:


/etc/init.d/chronyd zap


Hope that helps.� Thanks for the reply.

Dale

:-)� :-)


Hello Dale,

Truthfully, I learned, after much pain, decades ago, to keep at least 
(2) working gentoo systems, just to avoid catastrophic situations


Used PC's, if running a minimalistic desktop, are pretty fast. Cross 
compile and copy over the updates, or there are many ways to keep old 
gentoo systems, active.


I also picked up a recent laptop, with a 1G traditional Hard Drive, for 
under $500.00. It's way faster than my '8350' AMD systems, until the 
Kernel-10.0 + starts using the video cards for compiling *everything* 
automagically.  Kernel-10.x is suppose to be a 'game-changer' for older 
hardware, speeding up compiling, tremendously.


I put 'thermaltake-watercoolers 3.0' on all my chassis based gentoo 
systems, at about $80/unit. Keeping the cpu cooled, allows for faster 
speeds. My 8350's run at 4GHz and can easily gain 25% clocking to 5GHz. 
I use sensors

to monitor temperatures:

'watch -n5 sensors -f'

If I were you, I'd figure out a second, graphical Gentoo system, on the 
cheap; as it can be used to fix most 'borked gentoo' systems, 
particularly if the best tools are setup and ready, just for gentoo_repair.



hth,
James




Re: [gentoo-user] Re: firefox managed by my organization?

2020-03-04 Thread n952162

On 2020-03-04 17:14, Daniel Frey wrote:

On 3/4/20 12:14 AM, n952162 wrote:

Yes, you're right:

01~>cat /usr/lib64/firefox/distribution/policies.json
{
   "policies": {
 "DisableAppUpdate": true
   }
}

The prediction is, if I were to remove that file, the banner would go
away.  I'll try that at some point.

Thank you.




It will go away but allowing Firefox to self-update on Gentoo will get
you a very broken Firefox as the ebuilds have gone away from large
monolithic builds to linking to local system libraries. Not recommended!

Dan



Ah, good point.  But I should be able to do the same thing from with
"preference" somewhere, I suspect.




Re: [gentoo-user] palemoon and pdfs

2020-03-04 Thread james

On 3/3/20 5:00 PM, Walter Dnes wrote:

On Tue, Mar 03, 2020 at 11:16:21AM -0500, james wrote

team-gentoo-user,

Palemoon, Installed versions:  28.8.4, is great!

But, no matter what I try, I cannot view 'pdf' files in
palemoon. Is there a page that explains how to get pdf
viewing working on ver 28.8.4?


https://addons.palemoon.org/addon/moon-pdf-viewer/




   You're better off invoking an external app (long story).


Yep; after some extensive reading and further testing, I would agree. 
Hopefully, palemoon comes out with the ability to handle pdfs, security 
issues included, in a more recent version.




Or a workaround like popping up another app so I can read the pdf, which
are common, from whatever source?
ANY hack would be OK


   Another Pale Moon user here.  I use app-text/mupdf which is a
minimalist viewer.  The controls are a bit wierd.  To copy text hold
down the {CTRL} key and simultaneously drag the *RIGHT* mouse key to
extend-select a rectangle.  "+" and "-" control the zoom and {SHIFT}{H}
expands/decreases to properly fit the window.  Searching is like "less".
"/" searches forward (not case-sensitive) and "n" finds next occurence.
See the man page for more goodies.


Yes, I'm testing out mupdf, as it is a bit 'quirky'.
Hey, thanks for the tip, as I'll try something similar, but it's easier 
on my old brain, if I 'autosort/file' pdf's logically under a file-tree 
where a variety of different files all mostly at the bottom of a 
tree-branch. are concentric on subject/content. My database 'fu' is 
not current with all of the latest/cool database tools.



I'll experiment and see if I cannot find a secure solution, that makes 
reading and auto-filing copies of PDFs consistent and easy to recall, 
(logically) sort and filter. But I'd duplicate all the pdfs into one 
dir/branch as a  worst case I can apply search-filters on a single, 
massive dir/branch.



As an engineer, too active, I receive tons of good files/data so, I'm to 
the point of some advance sorting/filing/labeling/searchable solutions 
for a large amount of excellent data/files. Perhaps there is a project 
already 'auto-sorting' and such, that I have missed? One of the newer 
database technologies?





   In my case, it saves a copy of the pdf file in /tmp/mozilla_waltdnes0/
(*YES* with Pale Moon).



This would require, (logically) renaming the pdf's as I do get a myriad 
of files and email, quite a lot I permanently retain...


Here is a master listing of tools; most are available for gentoo:

https://www.tecmint.com/linux-pdf-viewers-and-readers-tools/


Thanks Walt,
James



Re: [gentoo-user] KDE weirdness after upgrade past Sunday.

2020-03-04 Thread Dale
Jack wrote:
> On 3/4/20 8:41 AM, Dale wrote:
>> All the timing of the above problems are very similar.  I believe they
>> have the same cause.  When I finished my updates, I logged out, went to
>> boot runlevel, used checkrestart to make sure everything that needed to
>> be restarted was clean, restarted any that weren't and then when back to
>> default runlevel.  In the past this has always worked fine.  Thing is,
>> elogind is in the boot runlevel.  I'm going to have to get used to
>> restarting it manually I guess.  Could elogind be the cause of all
>> this?  Would it be safe to put elogind in the default runlevel?  That
>> would solve the problem of me forgetting to restart it after upgrades.
>> Or would some other service in the boot runlevel start it as a
>> dependency anyway??
>>
>> When I get to a point where I can logout and back in, I'll test
>> restarting elogind to see if it helps.  Thing is, I'm not really sure
>> what all elogind does but from what little I know, it sounds like a good
>> place to start.  Thing that confuses me, checkrestart not showing it
>> needed to be restarted.  It's never failed me before.
>
> I was recently in a similar position (but not such serious effects)
> but discovered that elogind refused to restart.  The message was that
> it wouldn't start because it was already started, but that implies
> that it simply failed to stop, without producing any error message.  I
> didn't want to fight it any further, so I just rebooted.
>
> Jack
>
>
>


So elogind is a pretty good suspect.  One reason I'm asking about this,
I'm trying to figure out how elogind fails.  After all, if I'm stuck on
a console, I can't use Seamonkey or anything to find help.  I need to be
able to recognize what is failing.  So far, I've yet to find where
elogind problems are logged. 

When you run into the problem with a stuck script, don't forget the zap
option.  I'd recommend using ps aux | grep  to make sure it is
killed and if not kill it with kill first.  After you use the zap
option, it should start it normally, the start option.  In case you have
never heard of this, it looks like this:


/etc/init.d/chronyd zap


Hope that helps.  Thanks for the reply.

Dale

:-)  :-)



Re: [gentoo-user] Re: firefox managed by my organization?

2020-03-04 Thread Daniel Frey

On 3/4/20 12:14 AM, n952162 wrote:

Yes, you're right:

01~>cat /usr/lib64/firefox/distribution/policies.json
{
   "policies": {
     "DisableAppUpdate": true
   }
}

The prediction is, if I were to remove that file, the banner would go
away.  I'll try that at some point.

Thank you.




It will go away but allowing Firefox to self-update on Gentoo will get 
you a very broken Firefox as the ebuilds have gone away from large 
monolithic builds to linking to local system libraries. Not recommended!


Dan



Re: [gentoo-user] Re: KDE weirdness after upgrade past Sunday.

2020-03-04 Thread Dale
Nikos Chantziaras wrote:
> On 04/03/2020 15:41, Dale wrote:
>> [a lot of stuff]
> I know you only reboot every other decade, so I have to ask: did you
> reboot?
>
>
>


I didn't reboot and this is Linux, not windoze.  ;-)  Rebooting
shouldn't be required for a GUI update. 

The reason I suspect elogind, it's the only thing updated that wasn't
restarted.  All the KDE stuff was.  I manually kill anything KDE that
isn't killed when I switch to the boot runlevel.  I've learned in the
past that logging out doesn't always reset those.  Thing is,
checkrestart, I may have also ran that needrestart thing too, didn't
show elogind needed to be restarted.  However, the emerge log shows it
was rebuilt which is odd.  As a general rule, when a package is updated,
it needs to be restarted.  Bug in checkrestart/needrestart or what?

Hoping for a chance to test later.  Large download.  May take a while.

Dale

:-)  :-) 



Re: [gentoo-user] KDE weirdness after upgrade past Sunday.

2020-03-04 Thread Mark Knecht
I'm running Kubuntu but have seen the black screen thing once or twice
about a month ago. It hasn't returned for awhile.

The problem I see about 1 out of every 3 days is ksplashqml crashes when
first logging in. It doesn't seem to cause any long=term problems but it's
frustrating. That's been going on for about a month, maybe a bit longer but
it corresponded to a full upgrade awhile back.

On Wed, Mar 4, 2020 at 8:49 AM Jack  wrote:

> On 3/4/20 8:41 AM, Dale wrote:
> > All the timing of the above problems are very similar.  I believe they
> > have the same cause.  When I finished my updates, I logged out, went to
> > boot runlevel, used checkrestart to make sure everything that needed to
> > be restarted was clean, restarted any that weren't and then when back to
> > default runlevel.  In the past this has always worked fine.  Thing is,
> > elogind is in the boot runlevel.  I'm going to have to get used to
> > restarting it manually I guess.  Could elogind be the cause of all
> > this?  Would it be safe to put elogind in the default runlevel?  That
> > would solve the problem of me forgetting to restart it after upgrades.
> > Or would some other service in the boot runlevel start it as a
> > dependency anyway??
> >
> > When I get to a point where I can logout and back in, I'll test
> > restarting elogind to see if it helps.  Thing is, I'm not really sure
> > what all elogind does but from what little I know, it sounds like a good
> > place to start.  Thing that confuses me, checkrestart not showing it
> > needed to be restarted.  It's never failed me before.
>
> I was recently in a similar position (but not such serious effects) but
> discovered that elogind refused to restart.  The message was that it
> wouldn't start because it was already started, but that implies that it
> simply failed to stop, without producing any error message.  I didn't
> want to fight it any further, so I just rebooted.
>
> Jack
>
>
>


Re: [gentoo-user] KDE weirdness after upgrade past Sunday.

2020-03-04 Thread Jack

On 3/4/20 8:41 AM, Dale wrote:

All the timing of the above problems are very similar.  I believe they
have the same cause.  When I finished my updates, I logged out, went to
boot runlevel, used checkrestart to make sure everything that needed to
be restarted was clean, restarted any that weren't and then when back to
default runlevel.  In the past this has always worked fine.  Thing is,
elogind is in the boot runlevel.  I'm going to have to get used to
restarting it manually I guess.  Could elogind be the cause of all
this?  Would it be safe to put elogind in the default runlevel?  That
would solve the problem of me forgetting to restart it after upgrades.
Or would some other service in the boot runlevel start it as a
dependency anyway??

When I get to a point where I can logout and back in, I'll test
restarting elogind to see if it helps.  Thing is, I'm not really sure
what all elogind does but from what little I know, it sounds like a good
place to start.  Thing that confuses me, checkrestart not showing it
needed to be restarted.  It's never failed me before.


I was recently in a similar position (but not such serious effects) but 
discovered that elogind refused to restart.  The message was that it 
wouldn't start because it was already started, but that implies that it 
simply failed to stop, without producing any error message.  I didn't 
want to fight it any further, so I just rebooted.


Jack




Re: [gentoo-user] Re: KDE weirdness after upgrade past Sunday.

2020-03-04 Thread J. Roeleveld
On 4 March 2020 16:04:01 CET, Nikos Chantziaras  wrote:
>On 04/03/2020 15:41, Dale wrote:
>> [a lot of stuff]
>I know you only reboot every other decade, so I have to ask: did you
>reboot?

I have similar issues. Especially the black screen part.
It only happens when resuming after hibernation on my laptop. (Every time)
Reboots don't help.

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



[gentoo-user] Re: KDE weirdness after upgrade past Sunday.

2020-03-04 Thread Nikos Chantziaras

On 04/03/2020 15:41, Dale wrote:

[a lot of stuff]

I know you only reboot every other decade, so I have to ask: did you reboot?




[gentoo-user] KDE weirdness after upgrade past Sunday.

2020-03-04 Thread Dale
Howdy,

I did my usual Sunday upgrades the other day. There was a lot of
upgrades to plasma and elogind it seems.  Let's add LOo in there as well
just for giggles.  Anyway, I have a few oddities going on here.  I'm not
quite sure what to make of it but wondering if anyone else has ran into
this.

First weirdness.  When I lock my screen, CTRL + shift + L.  It locks the
screen just fine.  The weird part happens when I poke the mouse or hit a
key to wake the screen back up.  Instead of a screen asking for my
password with the goofy looking user avatar, I get a black screen with
the mouse pointer visible.  The background and the little box for my
password, nowhere to be found.  After a bit, I type in the password,
blindly, and it sits there for a while and then my desktop comes back. 
It takes a while and could be related to other problems coming up.

Second weirdness.  When I turn on my external hard drive to do my
backups, the device notifier won't let me mount it.  It says I don't
have permission to mount.  I ended up creating the directory and
mounting it manually to do my backups.  I did a google search but only
found the problem back when KDE5 was first coming out, 2018 or so. 
Given the passage of time, most likely not the same cause.  One link
even said the bug had been fixed. 

Third weirdness.  When I start Krusader as root, I use it to edit files
during updates etc, the window that pops up and asks for my root
password takes a long time to show up.  Sort of like the lock screen
except that it does show up, just really slow to get there.  Also, when
I type in my password in Konsole to login there, it also takes a long
time.  By long time, a minute or so.  Usually, it is almost instant.

All the timing of the above problems are very similar.  I believe they
have the same cause.  When I finished my updates, I logged out, went to
boot runlevel, used checkrestart to make sure everything that needed to
be restarted was clean, restarted any that weren't and then when back to
default runlevel.  In the past this has always worked fine.  Thing is,
elogind is in the boot runlevel.  I'm going to have to get used to
restarting it manually I guess.  Could elogind be the cause of all
this?  Would it be safe to put elogind in the default runlevel?  That
would solve the problem of me forgetting to restart it after upgrades. 
Or would some other service in the boot runlevel start it as a
dependency anyway?? 

When I get to a point where I can logout and back in, I'll test
restarting elogind to see if it helps.  Thing is, I'm not really sure
what all elogind does but from what little I know, it sounds like a good
place to start.  Thing that confuses me, checkrestart not showing it
needed to be restarted.  It's never failed me before.

Thoughts??

Dale

:-)  :-) 



Re: [gentoo-user] swaps mounted randomly

2020-03-04 Thread n952162

Yes, everything mounts when I explicitly say swapon -a.  No problems in
/var/log/messages.

Here's the output of swapon -sv:

# swapon -sv
Filename    Type Size    Used    Priority
/swap   file 6291452 0   5
/dev/sdb1   partition 1099772 776 10
/lcl/WDC_WD20EFRX-68EUZN0_WD-/1/swap file    3071996
0   1

On 2020-03-04 10:43, Michael wrote:

On Wednesday, 4 March 2020 09:24:31 GMT n952162 wrote:

On 2020-03-04 10:10, Michael wrote:

On Wednesday, 4 March 2020 08:09:45 GMT n952162 wrote:

Hi,

I have 3 swap devices and files.  At boot, it seems indeterminate which
ones get "mounted" (as swap areas).

Does anyone have an idea why they're not all mounted?

Here are the swap lines from my fstab:

#LABEL=swapnoneswapsw0 0

/dev/disk/by-id/ata-TOSHIBA_DT01ACA300_-part1none swap

sw,pri=100 0

/swapnoneswapsw,pri=50 0

/lcl/WDC_WD20EFRX-68EUZN0_WD-yy/1/swapnone swap
sw,pri=10 0

The second entry is missing the device you intend to mount.

When you list the first and third devices do you see anything wrong with
them?

When you try to enable them manually with 'swapon -v' what do you get?

PS. If any of these swap block devices are actually files within a fs make
sure you first fill them up with dd, because files with holes in them
could
fail to be enabled.  Also some fs (btrfs?) are not good candidates for
having swap files on them, if they move data around with cow.

The second and third entries are files, created with dd(1), from
/dev/zeros, as shown on the mkswap(8) man page.  No word in
/var/log/messages for non-mounted swaps.

I assume you have run something like this:

dd if=/dev/zero of=/swap bs=4096 count=
mkswap -c -f -L moreswap /swap
swapon -v -o pri=5 /swap

When you run 'swapon -v /swap' does it enable it?  Is dmesg happy?





Re: [gentoo-user] Re: problem with Fetchmail

2020-03-04 Thread Philip Webb
200304 William Kenworthy wrote:
> On 4/3/20 8:58 am, Jack wrote:
>> Can you try to run fetchmail manually,
>> perhaps with increased verbosity or debug output ?
> Fetchmail itself is independent of cron -
> it doesn't use it for scheduling,
> at least in the configurations I use (fcron).
> You can cron fetchmail, buts that's not normal.
> 'cron' programs by default have a very stripped down environment
> which is the usual cause of errors & can be hard to identify whats missing.
> If it's something like emailing an error log or test commands,
> run the commands from the error message manually,
> then via a test cron entry to narrow it down.
> Try grep'ing /etc to find the actual commands. 

Thanks to both.  I've found the source of the msgs :
Fetchmail was polling  2  mail servers, my ISP + a university a/c ;
when I commented the lines for the latter in  .fetchmailrc , they stopped.
Since I no longer expect to get mail via the UoT a/c,
I can leave it at that, tho' perhaps I should amend my sig below.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] swaps mounted randomly

2020-03-04 Thread Michael
On Wednesday, 4 March 2020 09:24:31 GMT n952162 wrote:
> On 2020-03-04 10:10, Michael wrote:
> > On Wednesday, 4 March 2020 08:09:45 GMT n952162 wrote:
> >> Hi,
> >> 
> >> I have 3 swap devices and files.  At boot, it seems indeterminate which
> >> ones get "mounted" (as swap areas).
> >> 
> >> Does anyone have an idea why they're not all mounted?
> >> 
> >> Here are the swap lines from my fstab:
> >> 
> >> #LABEL=swapnoneswapsw0 0
> >> 
> >>/dev/disk/by-id/ata-TOSHIBA_DT01ACA300_-part1none swap
> >> 
> >> sw,pri=100 0
> >> 
> >> /swapnoneswapsw,pri=50 0
> >> 
> >> /lcl/WDC_WD20EFRX-68EUZN0_WD-yy/1/swapnone swap
> >> sw,pri=10 0
> > 
> > The second entry is missing the device you intend to mount.
> > 
> > When you list the first and third devices do you see anything wrong with
> > them?
> > 
> > When you try to enable them manually with 'swapon -v' what do you get?
> > 
> > PS. If any of these swap block devices are actually files within a fs make
> > sure you first fill them up with dd, because files with holes in them
> > could
> > fail to be enabled.  Also some fs (btrfs?) are not good candidates for
> > having swap files on them, if they move data around with cow.
> 
> The second and third entries are files, created with dd(1), from
> /dev/zeros, as shown on the mkswap(8) man page.  No word in
> /var/log/messages for non-mounted swaps.

I assume you have run something like this:

dd if=/dev/zero of=/swap bs=4096 count=
mkswap -c -f -L moreswap /swap
swapon -v -o pri=5 /swap

When you run 'swapon -v /swap' does it enable it?  Is dmesg happy?



signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] swaps mounted randomly

2020-03-04 Thread n952162



On 2020-03-04 10:10, Michael wrote:

On Wednesday, 4 March 2020 08:09:45 GMT n952162 wrote:

Hi,

I have 3 swap devices and files.  At boot, it seems indeterminate which
ones get "mounted" (as swap areas).

Does anyone have an idea why they're not all mounted?

Here are the swap lines from my fstab:

#LABEL=swapnoneswapsw0 0

   /dev/disk/by-id/ata-TOSHIBA_DT01ACA300_-part1none swap
sw,pri=100 0

/swapnoneswapsw,pri=50 0

/lcl/WDC_WD20EFRX-68EUZN0_WD-yy/1/swapnone swap
sw,pri=10 0


The second entry is missing the device you intend to mount.

When you list the first and third devices do you see anything wrong with them?

When you try to enable them manually with 'swapon -v' what do you get?

PS. If any of these swap block devices are actually files within a fs make
sure you first fill them up with dd, because files with holes in them could
fail to be enabled.  Also some fs (btrfs?) are not good candidates for having
swap files on them, if they move data around with cow.



The second and third entries are files, created with dd(1), from
/dev/zeros, as shown on the mkswap(8) man page.  No word in
/var/log/messages for non-mounted swaps.




Re: [gentoo-user] swaps mounted randomly

2020-03-04 Thread Michael
On Wednesday, 4 March 2020 08:09:45 GMT n952162 wrote:
> Hi,
> 
> I have 3 swap devices and files.  At boot, it seems indeterminate which 
> ones get "mounted" (as swap areas).
> 
> Does anyone have an idea why they're not all mounted?
> 
> Here are the swap lines from my fstab:
> 
> #LABEL=swapnoneswapsw0 0
> 
>   /dev/disk/by-id/ata-TOSHIBA_DT01ACA300_-part1none swap
> sw,pri=100 0
> 
> /swapnoneswapsw,pri=50 0
> 
> /lcl/WDC_WD20EFRX-68EUZN0_WD-yy/1/swapnone swap
> sw,pri=10 0
> 

The second entry is missing the device you intend to mount.

When you list the first and third devices do you see anything wrong with them?

When you try to enable them manually with 'swapon -v' what do you get?

PS. If any of these swap block devices are actually files within a fs make 
sure you first fill them up with dd, because files with holes in them could 
fail to be enabled.  Also some fs (btrfs?) are not good candidates for having 
swap files on them, if they move data around with cow.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: firefox managed by my organization?

2020-03-04 Thread n952162

On 2020-03-04 09:06, Nikos Chantziaras wrote:

On 03/03/2020 00:16, n952162 wrote:

I have a banner that says that "your browser is being managed by your
organization".  Oh yeah?  I guess that would be gentoo.  How can I break
that relationship?


I use firefox-bin and this:

  qlist firefox-bin | grep json

reveals that the ebuild installs:

  /opt/firefox/distribution/policies.json

which disables the built-in update check:

  {
    "policies": {
  "DisableAppUpdate": true
    }
  }

Probably something similar is happening with the non-bin firefox ebuild.



In particular, when I set my default home page (to blank), after
properly exiting firefox and re-starting, I'm back to the mozilla home
page and I get a mozilla privacy notice tab.  Is that "managed"?


Hm. Probably not. Something else might be causing this.




Yes, you're right:

01~>cat /usr/lib64/firefox/distribution/policies.json
{
  "policies": {
    "DisableAppUpdate": true
  }
}

The prediction is, if I were to remove that file, the banner would go
away.  I'll try that at some point.

Thank you.




[gentoo-user] swaps mounted randomly

2020-03-04 Thread n952162

Hi,

I have 3 swap devices and files.  At boot, it seems indeterminate which 
ones get "mounted" (as swap areas).


Does anyone have an idea why they're not all mounted?

Here are the swap lines from my fstab:

#LABEL=swap        none        swap        sw        0 0

 /dev/disk/by-id/ata-TOSHIBA_DT01ACA300_-part1    none swap    
sw,pri=10    0 0


/swap    none    swap    sw,pri=5    0 0

/lcl/WDC_WD20EFRX-68EUZN0_WD-yy/1/swap    none swap    
sw,pri=1    0 0




[gentoo-user] Re: firefox managed by my organization?

2020-03-04 Thread Nikos Chantziaras

On 03/03/2020 00:16, n952162 wrote:

I have a banner that says that "your browser is being managed by your
organization".  Oh yeah?  I guess that would be gentoo.  How can I break
that relationship?


I use firefox-bin and this:

  qlist firefox-bin | grep json

reveals that the ebuild installs:

  /opt/firefox/distribution/policies.json

which disables the built-in update check:

  {
"policies": {
  "DisableAppUpdate": true
}
  }

Probably something similar is happening with the non-bin firefox ebuild.



In particular, when I set my default home page (to blank), after
properly exiting firefox and re-starting, I'm back to the mozilla home
page and I get a mozilla privacy notice tab.  Is that "managed"?


Hm. Probably not. Something else might be causing this.