No Swap Allocation in FSTAB
by Stephen Morris
Hi,
I've noticed when trying remediate performance issues in F34 under
a vm, that fedora does not have a swap specification in fstab anymore,
but is using, in my case, and 8GB swap partition in /dev/zram0. Does
this mean that if I create a swap partition of a bigger size and specify
it in fstab it will be ignored?
Alternatively, given the fedora is using it's own rules for
determining the swap size based on the amount of memory available, is
there any way to increase the size of /dev/zram0 so that there is more
swap space available to the system?
regards,
Steve
2 years, 9 months
gsl
by Patrick Dupre
Hello,
There is a new version of gsl (2.7).
http://www.gnu.org/software/gsl/
What are the plans to have it available in fc34?
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 | | Room# D114A
===========================================================================
2 years, 9 months
test message
by Frank McCormick
My provider is refusing messages from this list.
I'm chccking to see if that's still true.
2 years, 9 months
fedpkg
by Patrick Dupre
Hello,
Trying to build a rpm package for gsl.2.7
I downloaded gsl-2.7.tar.gz
I copy
cp -a gsl.spec.in gsl.spec
and
run (in gsl-2.7)
fedpkg --release fc34 local
but I get
Traceback (most recent call last):
File "/usr/bin/fedpkg", line 33, in <module>
sys.exit(load_entry_point('fedpkg==1.40', 'console_scripts', 'fedpkg')())
File "/usr/bin/fedpkg", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib64/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 855, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3.9/site-packages/fedpkg/__init__.py", line 12, in <module>
import pyrpkg
File "/usr/lib/python3.9/site-packages/pyrpkg/__init__.py", line 47, in <module>
from pyrpkg.lookaside import CGILookasideCache
File "/usr/lib/python3.9/site-packages/pyrpkg/lookaside.py", line 23, in <module>
import pycurl
ImportError: pycurl: libcurl link-time version (7.64.1) is older than compile-time version (7.75.0)
Can I easy fix this issue?
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 | | Room# D114A
===========================================================================
2 years, 9 months
rpmbuild perl-PDL-Graphics-PLplot
by Patrick Dupre
Hello,
This spec file provide the an error.
Can you help me to fix it?
PLplot.c: In function 'XS_PDL__Graphics__PLplot_plgfci':
PLplot.c:85895:25: warning: unused variable 'RETVAL' [-Wunused-variable]
85895 | unsigned int RETVAL;
| ^~~~~~
/usr/lib64/perl5/vendor_perl/PDL/PP.pm: In function 'pdl_init_pltr_copy':
/usr/lib64/perl5/vendor_perl/PDL/PP.pm:3385:61: warning: array subscript '_7 + -1' is outside the bounds of an interior zero-length array 'struct pdl *[0:]' [-Wzero-length-bounds]
3385 | for(i=0; i<__copy->vtable->npdls; i++)
| ~~~~~~~~~~~~~~~~~^~~
In file included from /usr/lib64/perl5/vendor_perl/PDL/PP.pm:1020:
/usr/lib64/perl5/vendor_perl/PDL/Core/pdl.h:291:8: note: while referencing 'pdls'
291 | pdl *pdls[np]
| ^~~~
/usr/lib64/perl5/vendor_perl/PDL/PP.pm:3385:38: warning: array subscript '_7 + -1' is outside the bounds of an interior zero-length array 'struct pdl *[0:]' [-Wzero-length-bounds]
3385 | for(i=0; i<__copy->vtable->npdls; i++)
| ~~~~~~~~~~~~^~~
In file included from /usr/lib64/perl5/vendor_perl/PDL/PP.pm:1020:
/usr/lib64/perl5/vendor_perl/PDL/Core/pdl.h:291:8: note: while referencing 'pdls'
291 | pdl *pdls[np]
| ^~~~
cc1: some warnings being treated as errors
make: *** [Makefile:345: PLplot.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.FwlY8K (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.FwlY8K (%build)
-------------------------------------------------------
Name: perl-PDL-Graphics-PLplot
Version: 0.74
Release: 1%{?dist}
Summary: PDL::Graphics::PLplot Perl module
License: CHECK(Distributable)
Group: Development/Libraries
URL: http://search.cpan.org/dist/PDL-Graphics-PLplot/
Source0: http://www.cpan.org/modules/by-module/PDL/PDL-Graphics-PLplot-%{version}....
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(PDL)
Requires: perl(PDL)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
The interface consists of two levels. A low level interface which maps
closely to the PLplot C interface, and a high level, object-oriented
interface which is easier to use.
%prep
%setup -q -n PDL-Graphics-PLplot-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes META.json plplot.pd README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/PDL*
%{_mandir}/man3/*
%changelog
* Sat Jun 19 2021 Patrick Dupre <pdupre(a)gmx.com> 0.74-1
- Specfile autogenerated by cpanspec 1.78.
===========================================================================
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 | | Room# D114A
===========================================================================
2 years, 9 months
scilab bin
by Patrick Dupre
Trying to install scilab 6.1.0 from scilab-6.1.0.bin.linux-x86_64.tar.gz
I got:
/usr/bin/chcon: failed to change context of '/usr/local/scilab-6.1.0/bin/scilab-bin' to ‘unconfined_u:object_r:execmem_exec_t:s0’: Operation not permitted
Error: Cannot chcon 'scilab-bin'
/usr/bin/chcon: failed to change context of '/usr/local/scilab-6.1.0/bin/scilab-cli-bin' to ‘unconfined_u:object_r:execmem_exec_t:s0’: Operation not permitted
Error: Cannot chcon 'scilab-cli-bin'
scilab-bin: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No such file or directory
I could bit find
libldap
only
penldap-compat.i686 : Package providing legacy non-threded libldap
openldap-compat.x86_64 : Package providing legacy non-threded libldap
It is compatible?
===========================================================================
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 | | Room# D114A
===========================================================================
2 years, 9 months
My FC33->FC34 bind-chroot upgrade notes
by ToddAndMargo
Hi All,
Thank you all for the enormous help in me getting bind-chroot
working after upgrading to Fedora 34. Here are my notes.
Hope this helps someone else.
-T
Broken bind-chroot repair after upgrading to Fedora 34:
# means root
$ means user
1) temporary workaround so you can surf the Internet for help:
Change /etc/resolv.conf to
# search your_domain
# nameserver your_IP
nameserver 208.67.222.123
2) in their "ultimate wisdom", the rpm maintainers disabled
the service after upgrading it. See the following bug I posted
on 2021-06-14:
Bind-chroot upgrade from FC3 to FC34 disables the service
breaking a server
https://bugzilla.redhat.com/show_bug.cgi?id=1972000
To repair:
# systemctl enable named-chroot.service
# systemctl start named-chroot.service
Other useful command(s):
# systemctl stop named-chroot.service
# systemctl status named-chroot.service
# systemctl restart named-chroot.service
3) the new version of bind-chroot enables "dns security validation" by
default.
To repair, place the following in your named.conf:
by itself at the bottom:
include "/etc/named.root.key";
add the following to your "options" block:
dnssec-validation yes;
Other useful command(s):
Validation check:
$ delv @$IP com ds
$ delv @208.67.222.123 com ds
; fully validated
...
4) check (and repair) your configurations:
named.conf:
# named-checkconf -l -t /var/named/chroot /etc/named.conf
Note: if you get the following error message,
`/etc/named.root.key:1: option 'managed-keys' is
deprecated`
it is a bug in named-checkconf.
See the following I posted on 2021-06-14. Just ignore
the message.
named-checkconf gives confusing depreciated
'managed-keys' message
https://bugzilla.redhat.com/show_bug.cgi?id=1972022
Zones:
# named-checkzone -t directory domain filename
Note: the "domain name" in the following comes from named.conf
zone, not `domainname`. For example:
zone "abc.local" {
type master;
file "slaves/rent-a-nerd.hosts";
allow-update { key DHCP_UPDATER; };
};
The "domain" is the name of the "zone". "abc.local" in the above
# named-checkzone -t /var/named/chroot/var/named/slaves
abc.local abc.hosts
zone abc.local/IN: loaded serial 265
OK
# named-checkzone -t /var/named/chroot/var/named/slaves
255.168.192.in-addr.arpa abc.hosts.rev
zone 255.168.192.in-addr.arpa/IN: loaded serial 213
OK
5) restart the bind-chroot service:
Change /etc/resolv.conf back to
search your_domain
nameserver your_IP
# nameserver 208.67.222.123
# systemctl restart named-chroot.service
check for and repair errors with:
$ systemctl status named-chroot.service
# tail -f /var/log/messages
2 years, 9 months
Xorg Scaling Issues
by Stephen Morris
Hi,
I have config file in /etc/X11/xorg.conf.d that is listing
modelines for all resolutions that xrandr indicates is supported by the
vmware video driver. With that file existing can anyone suggest why
Gnome in Xorg will scale to 4k resolution when the desktop is scaled,
but Plasma in X11 will not scale?
regards,
Steve
2 years, 9 months
pavucontrol and 5.1 audio.
by Steve Underwood
Hi,
I've just started using 5.1 audio on a Fedora 33 machine for the first
time, and I have an issue with pavucontrol. I have pipewire installed on
this machine. If I select the "Output Devices" tab, and unlock the
volume control for the 5.1 audio device, I see 6 controls, with these
labels:
Front Left, Front Right, Rear Left, Rear Right, Front Center and
Subwoofer
These labels seem appropriate, and as I adjust the controls the volume
of the appropriate channel changes. However, if I go to the "Playback"
tab, and unlock the volume control for the application (I'm trying this
with VLC), I see 6 controls with the these labels:
Front Left, Front Right, Side Left, Side Right, Front Center and
Subwoofer
Those "side" labels seem like something for a 7.1 device, not a 5.1
device. As I adjust the controls they are mixed up, as follows:
Front Left controls the front left channel (i.e. OK)
Front right controls the front right channel(i.e. OK)
Side Left controls the front centre channel
Side Right controls the subwoofer channel
Front Center controls the rear left channel
Subwoofer controls rear right channel
I'm not sure if this is a bug, or if there might be some configuration
problem on my machine. Has anyone else experienced something like this?
Regards,
Steve
2 years, 9 months