RE: libreoffice chrash on exit
by J.Witvliet@mindef.nl
I've seen like-wise behaviour.
But only when doing presentations, causing each next startup of L.O. doing a recovery.
But, not with "normal" documents.
-----Original Message-----
From: Adrian Sevcenco <Adrian.Sevcenco(a)cern.ch>
Sent: Wednesday, December 16, 2020 11:44 AM
To: users(a)lists.fedoraproject.org
Subject: libreoffice chrash on exit
Hi! after some updates, i have now some crashes when exiting from libre office .. in the crash panel i only have this:
Application: soffice (soffice), signal: Segmentation fault
[KCrash Handler]
#4 0x00007fb272802a47 in QString::~QString() () at /lib64/libQt5Gui.so.5
#5 0x00007fb272802db4 in QList<QString>::~QList() () at
/lib64/libQt5Gui.so.5
#6 0x00007fb27289ef03 in QHash<QString,
QIconTheme>::deleteNode2(QHashData::Node*) () at /lib64/libQt5Gui.so.5
#7 0x00007fb272df17ac in QHashData::free_helper(void
(*)(QHashData::Node*)) () at /lib64/libQt5Core.so.5
#8 0x00007fb27289ab0a in (anonymous
namespace)::Q_QGS_iconLoaderInstance::innerFunction()::Holder::~Holder()
() at /lib64/libQt5Gui.so.5
#9 0x00007fb27b72e237 in __run_exit_handlers () at /lib64/libc.so.6
#10 0x00007fb27b72e3e0 in on_exit () at /lib64/libc.so.6
#11 0x00007fb27b7161e9 in __libc_start_main () at /lib64/libc.so.6
#12 0x000055e8e93f40fe in _start ()
[Inferior 1 (process 21103) detached]
Any idea what is going on?
the hardware is a Ryzen 7 5800X with 16 GB ram (mostly unused)
Thank you!
Adrian
Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The State accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
3 years, 5 months
mysterious/suspicious internet activity.
by home user
Fedora-32 home workstation; gnome.
In ksysguard, I've been noticing internet activity that I can't explain. This has been going on for weeks, and it's making me uncomfortable.
What I do:
1. After the system has been powered down overnight, I boot it up.
2. I sign in to a user account.
3. My .bash_profile sources my .bashrc, sets PATH, and launches xeyes. My .bashrc sources /etc/bashrc, sets PS1 and PATH, and defines aliases.
4. I launch ksysguard, then Spectacle.
5. I wait several seconds, then take a screen-capture of ksysguard's display.
To get a good sample, I did five screen-captures. Here are the google drive links to them:
"https://drive.google.com/file/d/1EdlSgKY0fJpU7r3nbstWA7G_2C93gOgO/view?us..."
"https://drive.google.com/file/d/1jfocTMRnwguRdDIchoBtsNYYwQZr647i/view?us..."
"https://drive.google.com/file/d/1Tx3kDEMbL_TCZZ-F0YOVOXSy2D9G3MAM/view?us..."
"https://drive.google.com/file/d/157KU27QtsJTZghyRgeuafYSnvxR85im4/view?us..."
"https://drive.google.com/file/d/1AyZDRvcKYHYypNSU6AF9Fh34rh_l3q2J/view?us..."
Notes:
* neither Thunderbird nor any other e-mail client nor Firefox nor any other browser had been launched since powering up.
* as far as I know, nothing else that uses the internet had been launched since powering up. actually, the only things I had running were xeyes, ksysguard, Spectacle, and (in the last screen-shot only) gnome terminal (which was idle).
* as far as I know, nothing is set to auto-update.
* as far as I know, nothing has telemetry permission enabled.
Yet there is persistent, continual (not continuous) internet activity in both directions. What is it? What on my system is communicating with what externally, and what is being communicated? Unauthorized updating? Unauthorized telemetry? Unauthorized distributed computing? Spyware? Crypto-currency mining?
This is way outside my knowledge and experience. I need good step-by-step instructions on this.
Thank-you in advance.
Bill.
3 years, 5 months
Re: how to install "4K Video Downloader"?
by David King
On 12/11/20 3:19 PM, Samuel Sieb wrote:
> I use "youtube-dl" from the command line, it gives you a lot of
> control over exactly what formats you want. "youtube-dl -F url" will
> give you the list of available formats and then you can use
> "youtube-dl -f {n} url" to get it. See the man page for details.
> Btw, even though it's called "youtube"-dl, it can download from many
> other sites as well.
I use both 4kVideoDownloader and youtube-dl because neither of them
handles all videos.
Installing 4kVideoDownloader on Fedora isn't all that difficult:
1) Use the "alien" tool to convert the deb package to an rpm package:
sudo alien --to-rpm --scripts 4kvideodownloader_4.13.5-1_amd64.deb
2) Fix the rpm package so that it doesn't try to "own" the "/usr" and
"/usr/bin" directories.
rpmrebuild --edit-spec 4kvideodownloader-4.13-6.x86_64.rpm
When the VI editor session opens, scroll down to the "%files" section of
the file and delete the first eight lines:
%dir %attr(0755, root, root) "/"
%dir %attr(0755, root, root) "/usr"
%dir %attr(0755, root, root) "/usr/lib"
%dir %attr(0755, root, root) "/usr/lib/.build-id"
%dir %attr(0755, root, root) "/usr/lib/.build-id/a4"
%attr(0777, root, root)
"/usr/lib/.build-id/a4/0b64ce7d0c022c77cd85ad6f405b529dc8004c"
%dir %attr(0755, root, root) "/usr/lib/.build-id/f7"
%attr(0777, root, root)
"/usr/lib/.build-id/f7/997df8fab1b5db8950848b227407154e389688"
Save the file and let the rebuild complete.
3) Insrall the rpm package using dnf as usual:
sudo dnf install ~/rpmbuild/RPMS/x86_64/4kvideodownloader-4.13-6.x86_64.rpm
--
David King
dave at daveking dot com
3 years, 5 months
how to install "4K Video Downloader"?
by home user
Once in a while, I want to download a video that I enjoyed watching in Firefox. I googled this. One recommended tool was the "Video DownloadHelper" add-on for Firefox. I installed it; it worked fine for one video, but not the second. Another article pointed to by google is:
"https://www.pcmag.com/news/how-to-download-youtube-videos".
Its first recommended tool is VLC. It worked on the one "Video DownloadHelper" could not handle, but the result was not the best resolution available. VLC doesn't do more than 1K resolution (according to the article). The second thing the article recommended was "4K Video Downloader". The web site for this application is here:
"https://www.4kdownload.com/".
I downloaded the installation package from here:
"https://www.4kdownload.com/downloads".
Its website characterizes iwhat I downloaded as an Ubuntu 64-bit offline installer. How do I get this Ubuntu application installed and working on my Fedora-32 home workstation? I could not find any instructions for this, and the button for getting help does not work.
3 years, 5 months
a Wayland question for 2021
by David
What would it take in 2021 or beyond to bulid a distro free of X, just for
demo purposes ?
I know most applications would not work.
But what would work ? Would AMD graphics work ? Would Mutter work ?
Would you be able to log into Gnome ?
Obviously Xfce and LXDE and LXQt would not work, and I guess Mate, nor
Cinnamon, nor Budgie, would work.
When will Fedora offer such a version ?
I assume in 2030 ?? I doubt I will be above the green grass by then.
David Locklear
3 years, 5 months
xwayland error
by Patrick Dupre
Hello,
When I try to connect to my machine by using dwservice, I get
Error: xWayland is not supported.
Thus, I edited
/etc/gdm/custom.conf
to uncomment
waylandEnable=false
It does not help.
Do I need to reboot?
Thanks
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
3 years, 5 months
a Newbie question
by David
If a Linux user was going to build a new desktop computer using 2020
components, for home use in January of 2021, what version of Fedora should
they use and what options or flavors or isos would one recommend ?
For example, if they installed 32, but with community "Respin" build.
I am assuming the answer is Version 33, but which iso ? Workstation ?
I was thinking of trying the latest "Respin"
F33-WORK-x86_64-LIVE-20201201.iso
David Locklear
3 years, 5 months
Re: btrfs swapfile - Not enough swap space for hibernation.
by Sreyan Chakravarty
On Fri, Dec 11, 2020 at 12:32 AM Chris Murphy <lists(a)colorremedies.com> wrote:
>
> If the journal doesn't have more information about why it says this,
> and if the error is reported in the journal by systemd-logind, enable
> debug logging for logind and reproduce and the try to figure out why
> logind is complaining:
>
> https://github.com/systemd/systemd/issues/15354#issuecomment-610385478
>
Yes.
I have finally found out the reason why logind is complaining, thanks to you.
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: Failed to
open swap file /var/swap/fedora.swap to determine on-disk offset:
Permission denied
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: Sent
message type=method_return sender=n/a destination=:1.57 path=n/a
interface=n/a member=n/a cookie=130 reply_cookie=49 signature=s
error-name=n/a error-message=n/a
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: Got message
type=method_call sender=:1.57 destination=org.freedesktop.login1
path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager
member=CanHybridSleep cookie=50 reply_cookie=0 signature=n/a
error-name=n/a error-message=n/a
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: Sleep mode
"disk" is supported by the kernel.
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: /dev/zram0:
ignoring zram swap
My permissions are as follows:
Permissions of /var/swap directory:
drwxr-xr-x. 1 root root 22 Dec 11 15:06 swap
Permissions of the actual swap file:
-rw-------. 1 root root 9663676416 Dec 11 15:09 fedora.swap
Permissions of the swap subvolume:
drwxr-xr-x. 1 root root 22 Dec 11 15:06 swap
Mount options:
UUID=7d9dbe1b-dea6-4141-807b-026325123ad8 /var/swap
btrfs subvol=swap,rw,noattime,nosuid,x-systemd.device-timeout=0 0
0
/var/swap/fedora.swap none swap
defaults,x-systemd.requires-mounts-for=/var/swap 0 2
Output of /proc/swaps:
Filename Type Size Used Priority
/dev/zram0 partition 4020220 0 100
/var/swap/fedora.swap file 9437180 0 -2
The only reason I can fathom is that systemd-logind is unable to
access the directory /var/swap. IIRC, you were the one who suggested I
mount in that directory.
Not blaming you, but the question is what do I do now ?
The bug that you have linked to is about /home not /var.
So where should I keep the swap for logind to access it without any problems ?
> There is a possibility there isn't enough contiguous space in the
> swapfile for the hibernation image. i.e. when you fallocate the
> swapfile, it may be comprised of one or even dozens of separate
> extents and if one of them isn't big enough for hibernation entry then
> it'll always fail.
>
> As far as I'm aware there isn't a way to ask fallocate for a minimum
> extent size. I've sometimes had to fallocate multiple files in a row
> to get a swapfile with few fragments and then delete the rest.
>
I don't think that is possible since the file was created with dd, not
fallocate.
Also the +C attribute was used.
> OK you're confused. You do not need both chattr +C on the file and the
> nodatacow option. You only need one of those. You should realize that
> the nodatacow option applies file system wide. It's non-obvious but
> really only the VFS mount options can apply separately to bind mounts.
> And on Fedora, since subvolumes are mounted to specific mounts points
> and are thus effectively bind mounts behind the scenes, it seems like
> you can apply some mount options to specific subvolumes as if they are
> separate file systems. But that's not what's going on, they're just
> bind mounts. So you can do atime for one mount point, noatime for
> another. And same for ro or rw. Those are VFS options. The Btrfs mount
> options apply file system wide, that includes nodatacow, compress, and
> so on.
>
> Further problem now that you're using nodatacow is that you have a
> bunch of nodatacow files that have been created in the meantime. And
> those do *not* have chattr +C so you have no easy way to find them.
> You'd have to parse 'btrfs inspect-internal dump-tree' for the
> nodatacow flag.
>
> nodatacow files are also no compression and no data checksums. So I'm
> betting this is not what you want.
Yes, I have removed the nodatacow option from my mount in fstab as it
clearly had no effect.
I am now using the +C attribute.
--
Regards,
Sreyan Chakravarty
3 years, 5 months
Re: btrfs swapfile - Not enough swap space for hibernation.
by Sreyan Chakravarty
On Fri, Dec 11, 2020 at 12:32 AM Chris Murphy <lists(a)colorremedies.com> wrote:
>
> If the journal doesn't have more information about why it says this,
> and if the error is reported in the journal by systemd-logind, enable
> debug logging for logind and reproduce and the try to figure out why
> logind is complaining:
>
> https://github.com/systemd/systemd/issues/15354#issuecomment-610385478
>
> There is a possibility there isn't enough contiguous space in the
> swapfile for the hibernation image. i.e. when you fallocate the
> swapfile, it may be comprised of one or even dozens of separate
> extents and if one of them isn't big enough for hibernation entry then
> it'll always fail.
>
> As far as I'm aware there isn't a way to ask fallocate for a minimum
> extent size. I've sometimes had to fallocate multiple files in a row
> to get a swapfile with few fragments and then delete the rest.
>
> You can use filefrag -v to see the extent sizes. Those extents are
> basically holes that swap code writes into. The swap code isn't
> writing swap or hibernation images via Btrfs. It's just asking Btrfs
> "what are the ranges and locations I can use" and Btrfs reports that
> and then the swap and hibernation code use those areas directly.
>
>
> > $ lsattr /var/swap/fedora.swap
> > ---------------C---- /var/swap/fedora.swap
>
> > UUID=7d9dbe1b-dea6-4141-807b-026325123ad8 /var/swap
> > btrfs subvol=swap,rw,nodatacow,noattime,nosuid,x-systemd.device-timeout=0
>
> OK you're confused. You do not need both chattr +C on the file and the
> nodatacow option. You only need one of those. You should realize that
> the nodatacow option applies file system wide. It's non-obvious but
> really only the VFS mount options can apply separately to bind mounts.
> And on Fedora, since subvolumes are mounted to specific mounts points
> and are thus effectively bind mounts behind the scenes, it seems like
> you can apply some mount options to specific subvolumes as if they are
> separate file systems. But that's not what's going on, they're just
> bind mounts. So you can do atime for one mount point, noatime for
> another. And same for ro or rw. Those are VFS options. The Btrfs mount
> options apply file system wide, that includes nodatacow, compress, and
> so on.
>
> Further problem now that you're using nodatacow is that you have a
> bunch of nodatacow files that have been created in the meantime. And
> those do *not* have chattr +C so you have no easy way to find them.
> You'd have to parse 'btrfs inspect-internal dump-tree' for the
> nodatacow flag.
>
> nodatacow files are also no compression and no data checksums. So I'm
> betting this is not what you want.
>
It's a SELinux error. Are there any SELinux experts here ?
I ran the command:
$ sudo ausearch -m AVC,USER_AVC,SELINUX_ERR -ts recent
and got the error:
time->Fri Dec 11 20:19:20 2020
type=AVC msg=audit(1607698160.378:357): avc: denied { search } for
pid=1362 comm="systemd-logind" name="swap" dev="dm-0" ino=256
scontext=system_u:system_r:systemd_logind_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir permissive=0
If I run the command:
$ /sbin/restorecon /var/swap/fedora.swap
I get the following error:
time->Fri Dec 11 19:59:56 2020
type=AVC msg=audit(1607696996.854:323): avc: denied { read } for
pid=2523 comm="systemd-sleep" name="fedora.swap" dev="dm-0" ino=257
scontext=system_u:system_r:init_t:s0
tcontext=unconfined_u:object_r:var_t:s0 tclass=file permissive=0
My current SELinux label is :
unconfined_u:object_r:swapfile_t:s0 /var/swap/fedora.swap
When I run "/sbin/restorecon", the label changes to :
unconfined_u:object_r:var_t:s0 /var/swap/fedora.swap
IIRC, the correct label is etc_runtime or something like that.
Can any SELinux expert help me ?
--
Regards,
Sreyan Chakravarty
3 years, 5 months