Re: [gentoo-user] syslog-ng misbehaving

2021-04-08 Thread Stefan Schmiedl


"Dan Egli" , 08.04.2021, 20:15:

> I'm afraid that didn't work either.  I did as you said, and changed the 
> syslog filter line to read: filter syslog { not filter(sshd) and not filter 
> (samba); }; which would match the previous lines (see URL below). I still see 
> sshd messages in /var/log/messages when I ssh into the machine. I'm totally 
> lost. I've posted relevant files for everyone to see. All are updated in real 
> time becuase they are either symlinks to the actual files, or are the target 
> of a redirection directly:

> https://www.newideatest.site/syslog-conf = /etc/syslog-ng/syslog-ng.conf

Is the filter definition correct?

filter sshd { program("ssdhd"); };
 ^ ???

s.

> https://www.newideatest.site/syslog-out = output of syslog-ng -Fdav
> https://www.newideatest.site/system_log = /var/log/messages


> Any further ideas are most welcome.





Re: [gentoo-user] setting system time

2021-04-08 Thread thelma
On 4/8/21 6:24 PM, Dan Egli wrote:
> On 4/8/2021 6:07 PM, the...@sys-concept.com wrote:
>> Try to set system clock via script:
>>
>> /usr/sbin/htpdate 1.ro.pool.ntp.org
>> /sbin/hwclock -w
>>
>> But when I run it always prints:
>> Offset 38.000 seconds
>>
>> The system clock does not adjust.
> 
> 
> The hardware clock syncs to the software clock. If, when you run the date 
> command, it prints the correct time (accounting for timezones) then as far as 
> I know, that is the time your hardware clock uses. Besides, 38 seconds is not 
> bad. Unless you are doing something between computers that requires EXTREMELY 
> precise time, then I wouldn't bother. If you do want to fix things, ntpdate 
> is kind of old (I assume that's what you meant, as I've never heard of 
> htpdate). You can accomplish the same thing with the ntp command. Just use: 
> ntpd -g -q. That will set the clock once according to the pool server, then 
> quit. And it sets the clock, no matter how far off it is.

Yes, the "ntpd -g -q" work better; the time is adjusted correctly.

with /htpdate 1.ro.pool.ntp.org I always got the same Offset number, doesn't 
matter how many time I run it.



Re: [gentoo-user] setting system time

2021-04-08 Thread Dan Egli

On 4/8/2021 6:07 PM, the...@sys-concept.com wrote:

Try to set system clock via script:

/usr/sbin/htpdate 1.ro.pool.ntp.org
/sbin/hwclock -w

But when I run it always prints:
Offset 38.000 seconds

The system clock does not adjust.



The hardware clock syncs to the software clock. If, when you run the 
date command, it prints the correct time (accounting for timezones) then 
as far as I know, that is the time your hardware clock uses. Besides, 38 
seconds is not bad. Unless you are doing something between computers 
that requires EXTREMELY precise time, then I wouldn't bother. If you do 
want to fix things, ntpdate is kind of old (I assume that's what you 
meant, as I've never heard of htpdate). You can accomplish the same 
thing with the ntp command. Just use: ntpd -g -q. That will set the 
clock once according to the pool server, then quit. And it sets the 
clock, no matter how far off it is.






[gentoo-user] setting system time

2021-04-08 Thread thelma
Try to set system clock via script:

/usr/sbin/htpdate 1.ro.pool.ntp.org
/sbin/hwclock -w

But when I run it always prints:
Offset 38.000 seconds

The system clock does not adjust. 



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

2021-04-08 Thread Dan Egli

On 4/8/2021 5:12 PM, Neil Bothwick wrote:

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.
It all depends on what you want. I've not used Roundcube, although I 
hear it's good. I've used SquirrelMail, Horde, and SOGo. I personally 
prefer SOGo, but it's complicated to setup. SquirrelMail is easy, but 
lacks a lot of features that SOGo had. Horde is kind of in the middle. 
The only thing I'd watch out for is that if you use SOGo, the gentoo 
packages are WAY out of date. The most recent SOGo package in portage is 
4.3.2, but you can get the sources for 5.1.0 from the SOGO.NU website.




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] Looking for other Seamonkey users

2021-04-08 Thread Dale
Dan Egli wrote:
> On 4/7/2021 2:34 AM, Dale wrote:
>
>> root@fireball / # emerge -av dovecot
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>> [ebuild  N ] acct-group/dovecot-0-r1::gentoo  0 KiB
>> [ebuild  N ] acct-group/dovenull-0-r1::gentoo  0 KiB
>> [ebuild  N ] acct-user/dovecot-0-r1::gentoo  0 KiB
>> [ebuild  N ] acct-user/dovenull-0-r1::gentoo  0 KiB
>> [ebuild  N ] net-mail/dovecot-2.3.13-r100::gentoo  USE="bzip2 ipv6
>> lzma mysql pam sqlite tcpd zlib -argon2 -caps -doc -kerberos -ldap
>> (-libressl) -lua -lucene -lz4 -managesieve -postgres -rpc (-selinux)
>> -sieve -solr -static-libs -suid -textcat -unwind -zstd"
>> LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3" 7,282 KiB
>>
>> Total: 5 packages (5 new), Size of downloads: 7,282 KiB
>>
>> Would you like to merge these packages? [Yes/No]
>>
>>
>> I suspect I need to install some other packages to make certain things
>> work.  Then again, maybe they already installed??  Some may recall that
>> cron jobs sent emails so it has to have packages installed for that.
>> The guide I linked to elsewhere has USE flags not listed above.  It may
>> be out of date.  It does say not to use it for older 1.* versions of
>> Dovecot tho.  Just trying to see what I'm getting into here.  I think
>> this is a really good idea but want to see how deep the water is before
>> jumping in.  I can't swim, well, I do, like a lead rock.  :/
>>
>
> My config is more advanced since my dovecot has to talk to both MySQL
> and LDAP databases, and to support compressed messages. So the use
> flags I put on for 2.3.13-r100 are:
> bzip2 doc ipv6 ldap lua lz4 lzma managesieve mysql pam rpc selinux
> sieve sqlite zlib ztd
>
>
>


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.  :/  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. 

Any links would be nice.  At this point, it's emerged, I'm clueless from
there.  I don't even know how to access it to see if it is even running,
other than ps showing it. 

Dale

:-)  :-) 



[gentoo-user] xfce4-panel - segfault at 0 ip

2021-04-08 Thread thelma
I'm getting in "dmesg" xfce4-panel - segfault at 0 ip

xfce4-panel[23477]: segfault at 0 ip  sp 7ffcec729428 error 
14 in xfce4-panel[561557b8+12000]
Code: Unable to access opcode bytes at RIP 0xffd6.

Anybody has an idea what is it?  (this is new installation) 



Re: [gentoo-user] syslog-ng misbehaving

2021-04-08 Thread Dan Egli
I swear Thunderbird is sending to the MTA when it should be saving on 
the IMAP server. Ignore this one for the next one. IT is complete. This 
one is not.


On 4/8/2021 12:13 PM, Dan Egli wrote:

On 4/8/2021 9:59 AM, Dr Rainer Woitok wrote:

Dan,

On Wednesday, 2021-04-07 12:05:10 -0600, you wrote:


I had posted the whole file. But I can do it again easy enough.
...
filter samba { program("samba"); };
filter ssh_messages { facility("AUTH") and level("INFO"); };
filter syslog { not filter("ssh_messages") and not filter("samba"); };

Omit the double quotes  in this last line.   You're needing the NAMES of
the filters here.



I'm afraid that didn't work either.  I did as you said, and changed 
the syslog filter line to read: filter syslog { not filter(sshd) and 
not filter (samba); }; which would match the previous lines (see URL 
below). I still see sshd messages in /var/log/messages when I ssh into 
the machine.






Re: [gentoo-user] syslog-ng misbehaving

2021-04-08 Thread Dan Egli

On 4/8/2021 9:59 AM, Dr Rainer Woitok wrote:

Dan,

On Wednesday, 2021-04-07 12:05:10 -0600, you wrote:


I had posted the whole file. But I can do it again easy enough.
...
filter samba { program("samba"); };
filter ssh_messages { facility("AUTH") and level("INFO"); };
filter syslog { not filter("ssh_messages") and not filter("samba"); };

Omit the double quotes  in this last line.   You're needing the NAMES of
the filters here.



I'm afraid that didn't work either.  I did as you said, and changed the 
syslog filter line to read: filter syslog { not filter(sshd) and not 
filter (samba); }; which would match the previous lines (see URL below). 
I still see sshd messages in /var/log/messages when I ssh into the 
machine. I'm totally lost. I've posted relevant files for everyone to 
see. All are updated in real time becuase they are either symlinks to 
the actual files, or are the target of a redirection directly:


https://www.newideatest.site/syslog-conf = /etc/syslog-ng/syslog-ng.conf
https://www.newideatest.site/syslog-out = output of syslog-ng -Fdav
https://www.newideatest.site/system_log = /var/log/messages


Any further ideas are most welcome.




Re: [gentoo-user] Console scrollback is back again!

2021-04-08 Thread konsolebox
On Tue, Apr 6, 2021 at 1:12 AM Alan Mackenzie  wrote:
> How to get it working:
> (i) Extract the enclosed patch file to your /usr/src/linux-5.10.27-gentoo
> directory (or probably any 5.10 kernel's).

Works with 5.10.28-gentoo. Thanks again.

I finally can uninstall my 5.8.6 which still has the old scrollback.

-- 
konsolebox



Re: [SOLVED] [gentoo-user] Cannot open virtual console 7 (Permission denied)

2021-04-08 Thread thelma
On 4/8/21 11:01 AM, the...@sys-concept.com wrote:
> 
> On 4/7/21 6:24 PM, the...@sys-concept.com wrote:
>> This is a new installation and I'm getting an error on starting X
>>
>> Fatal server error:
>> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
>>
>> (EE) Server terminated with error (1). Closing log file.
>> xinit: giving up
>> xinit: unable to connect to X server: Connection refused
>>
> [snip]
> 
> If anybody have or get this  "AMD Ryzen 5 3400G with Radeon Vega Graphics"
> lspci | grep -i VGA
> 09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
> Picasso (rev c8)
> 
> In order to make it work, setting in kernel (under Graphics)
> <   > ATI Radeon"
> < M > AMD GPU"
> 
> In make.confg: 
> VIDEO_CARDS="radeonsi" 
> (radeon or amdgpu - does not work.
> 
> emerge -avq x11-base/xorg-drivers media-libs/mesa

I forgot to mention (if someone is using grub)
/etc/default/grub  - has to be installed with:
GRUB_CMDLINE_LINUX="amd_iommu=on iommu=pt"

 



Re: [SOLVED] [gentoo-user] Cannot open virtual console 7 (Permission denied)

2021-04-08 Thread thelma


On 4/7/21 6:24 PM, the...@sys-concept.com wrote:
> This is a new installation and I'm getting an error on starting X
> 
> Fatal server error:
> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
> 
> (EE) Server terminated with error (1). Closing log file.
> xinit: giving up
> xinit: unable to connect to X server: Connection refused
> 
[snip]

If anybody have or get this  "AMD Ryzen 5 3400G with Radeon Vega Graphics"
lspci | grep -i VGA
09:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Picasso (rev c8)

In order to make it work, setting in kernel (under Graphics)
<   > ATI Radeon"
< M > AMD GPU"

In make.confg: 
VIDEO_CARDS="radeonsi" 
(radeon or amdgpu - does not work.

emerge -avq x11-base/xorg-drivers media-libs/mesa



Re: [gentoo-user] syslog-ng misbehaving

2021-04-08 Thread Dr Rainer Woitok
Dan,

On Wednesday, 2021-04-07 12:05:10 -0600, you wrote:

> I had posted the whole file. But I can do it again easy enough.
> ...
> filter samba { program("samba"); };
> filter ssh_messages { facility("AUTH") and level("INFO"); };
> filter syslog { not filter("ssh_messages") and not filter("samba"); };

Omit the double quotes  in this last line.   You're needing the NAMES of
the filters here.

Sincerely,
  Rainer



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] Cannot open virtual console 7 (Permission denied)

2021-04-08 Thread tastytea
On 2021-04-07 22:41-0600 the...@sys-concept.com wrote:

> On 4/7/21 8:18 PM, tastytea wrote:
> > On 2021-04-07 18:24-0600 the...@sys-concept.com wrote:
> >   
> >> This is a new installation and I'm getting an error on starting X
> >>
> >> Fatal server error:
> >> (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission
> >> denied)  
> > […]  
> >> [  1876.135] (EE) dbus-core: error connecting to system bus:
> >> org.freedesktop.DBus.Error.FileNotFound (Failed to connect to
> >> socket /run/dbus/system_bus_socket: No such file or directory) [
> >> 1876.135]  
> > 
> > It seems you didn't start elogind[1][2] and dbus. Both are required
> > for non-root Xorg.
> > 
> > [1] https://wiki.gentoo.org/wiki/Elogind
> > [2]
> > https://wiki.gentoo.org/wiki/Non_root_Xorg#Cannot_start_Xorg_as_regular_user
> >  
> 
> Thank you for the pointer.  I started "dbus" and "elogind"  but in
> the log file I still get: 
> 
> [   121.166] (II) systemd-logind: logind integration requires
> -keeptty and -keeptty was not provided, disabling logind integration

I get that too and it still works. Seems to be not important. 

> "ps -fC X" - does not show any user.

It doesn't show anything here, too.

> loginctl user-status
> fd (1000)
>Since: Thu 2021-04-08 21:12:51 MDT; 37min ago
>State: active
> Sessions: 3 2 *1
>   Linger: no
> Unit: user-1000.slice

That does seem alright.

I can't help with the graphics card stuff, sorry.

> I'm not sure if the driver is correctly installed.
> My AMD CPU is integrated with Graphic: "AMD Ryzen 5 3400G with Radeon
> Vega Graphics"
> 
> lspci | grep -i VGA
> 09:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
> [AMD/ATI] Picasso (rev c8)
> 
> In the kernel I compiled0-in, "< * > ATI Radeon" (option)
> without "<  > AMD GPU"
> 
> When I tried to change it: 
> <   > ATI Radeon" 
> < * > AMD GPU"
> 
> and load: "-*- Firmware loading facility"
> (amdgpu/picasso_ce.bin amdgpu/picasso_k_smc.bin amdgpu/picasso_mc.bin
> amdgpu/picasso_me.bin amdgpu/picasso_mec2.bin amdgpu/picasso_mec.bin
> amdgpu/picasso_pfp.bin amdgpu/picasso_rlc.bin
> amdgpu/picasso_sdma1.bin amdgpu/picasso_sdma.bin
> amdgpu/picasso_smc.bin amdgpu/picasso_uvd.bin amdgpu/picasso_vce.bin)
> 
> I'm getting kernel error when compiling:
> ...
> CC  drivers/base/firmware_loader/main.o
>   UPD
> drivers/base/firmware_loader/builtin/amdgpu/picasso_ce.bin.gen.S AS
>drivers/base/firmware_loader/builtin/amdgpu/picasso_ce.bin.gen.o
> UPD
> drivers/base/firmware_loader/builtin/amdgpu/picasso_k_smc.bin.gen.S
> make[4]: *** No rule to make target
> '/lib/firmware/amdgpu/picasso_k_smc.bin', needed by
> 'drivers/base/firmware_loader/builtin/amdgpu/picasso_k_smc.bin.gen.o'.
>  Stop. make[3]: *** [scripts/Makefile.build:496:
> drivers/base/firmware_loader/builtin] Error 2 make[2]: ***
> [scripts/Makefile.build:496: drivers/base/firmware_loader] Error 2
> make[1]: *** [scripts/Makefile.build:496: drivers/base] Error 2 make:
> *** [Makefile:1726: drivers] Error 2
> 
> 
> 



-- 
Get my PGP key with `gpg --locate-keys tasty...@tastytea.de` or at
.


pgp2u_Yn_y0uO.pgp
Description: Digitale Signatur von OpenPGP


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

2021-04-08 Thread Arve Barsnes
On Thu, 8 Apr 2021 at 14:27, Peter Humphrey  wrote:
> Is there really a problem with the stage-3?

I think the stages are auto-generated, so I'm sure there could be
problematic versions. Maybe try one from a different date.

Also, post the error output if you want input on the emerge failures.

Regards,
Arve



Re: [gentoo-user] emerge failure for dev-lang/R-4.0.4

2021-04-08 Thread Michael Orlitzky
On Wed, 2021-04-07 at 22:15 +0200, k...@aspodata.se wrote:
> 
> yea, it was a try to make c++ programs to behave under changing
> compiler and library situations. Seems that some such programs
> don't want to be built statically so they break whenever some "random"
> lib changes.
> 

That's my best guess as to why your build is using so much more RAM.
Every library with a static-libs USE flag will have a bunch of other
libraries "copy & pasted" into it, and all of those copies take up
their own separate chunk of RAM.

Personally, I would disable static-libs. Within Gentoo the flag is
mostly there because GNU autotools makes it easy to do -- not because
it's a well-thought-out and reliable feature. But if it solves a more-
annoying problem for you, then maybe it's worth it =) In that case
lowering the -j flag for specific packages when you get an allocation
failure is a reasonable workaround.






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

2021-04-08 Thread Peter Humphrey
Hello list,

I'm trying to reinstall this system, but being blocked. I'm following the 
handbook installation instructions.

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.

The same happens with ~amd64 in make.conf, and with plasma profile. No 
systemd here.

Is there really a problem with the stage-3?

More worrying is that my backup USB drive has just failed an fsck. Even more 
worrying still is the same happening to my backup backup! What are the 
chances? Murphy surely does rule...

-- 
Regards,
Peter.