Re: [CentOS] resetting a serial port

2023-12-13 Thread Fred
have never used usb-to-serial devices, so I'm probably wrong here...
wondering if, on the system where you work, have you tried  using the reset
or tset command?

otherwise, though *being a Linux user I hate to suggest this*, but have you
tried the "universal-fix-all-problems" technique that Windows users learn
early on, i.e., reboot one or both systems? rebooting one of the systems
then trying to connect may tell you which system is wedged. maybe.

Good luck!

Fred

On Wed, Dec 13, 2023 at 8:46 PM Robert Moskowitz 
wrote:

> I have Centos 7 arm32 running on a Cubieboard and I am logged in as root
> on its serial uart from another system.
>
> On that system I use
>
> screen /dev/ttyUSB0 115200
>
> Well it was working well for a couple days, but now only garbage comes
> across.  Something messed up the serial link.
>
> pulling the usb cable to the usb/serial adapter does not reset things.
>
> I can ssh into the server and see root logged into ttyS0
>
> How do I reset that serial port so that I can work on the system?
>
> thanks
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where is glib-devl x86-64?

2023-03-21 Thread Fred
Leon, I think you may be right. Was trying to avoid using things like
flatpak, but I can see I can't actually do that.

Thanks again!

Fred

On Tue, Mar 21, 2023 at 10:18 PM Leon Fauster via CentOS 
wrote:

> Am 21.03.23 um 23:10 schrieb Fred:
> > that's what I thought at first, but there is no gimp-devel either
> > installed, or available.
> >
>
> I think you will get more trouble because this plugin uses python2 code
> and I am not sure if this is supported under EL9.
>
> You could try the flatpak version of this plugin ...
>
> $ flatpak remote-add --user --if-not-exists flathub
> https://flathub.org/repo/flathub.flatpakrepo
>
> $ flatpak --user install Resynthesizer org.gimp.GIMP
>
> --
> Leon
>
>
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where is glib-devl x86-64?

2023-03-21 Thread Fred
that's what I thought at first, but there is no gimp-devel either
installed, or available.

Fred

On Tue, Mar 21, 2023 at 2:39 PM Robert Heller  wrote:

> At Tue, 21 Mar 2023 14:13:50 -0400 CentOS mailing list 
> wrote:
>
> >
> > well, I'm still confused.
> >
> > sudo dnf install glib2-devel says it is already installed.
> >
> > running autogen.sh for resynthesizer outputs:
> >
> > $ ./autogen.sh
> >
> > I am testing that you have the required versions of autoconf,
> > automake, glib-gettextize and intltoolize...
> >
> > checking for autoconf >= 2.54 ... yes (version 2.69)
> > checking for automake >= 1.6 ... yes (version 1.16.2)
> > checking for glib-gettextize >= 2.0.0 ... yes (version 2.68.4)
> > checking for intltool >= 0.17 ... yes (version 0.51.0)
> >
> > I am going to run ./configure with the following arguments:
> >
> >   --enable-maintainer-mode
> >
> > If you wish to pass additional arguments, please specify them
> > on the ./autogen.sh command line or set the AUTOGEN_CONFIGURE_ARGS
> > environment variable.
> >
> > Copying file po/Makefile.in.in
> >
> > Please add the files
> >   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
> >   progtest.m4
> > from the /usr/share/aclocal directory to your autoconf macro directory
> > or directly to your aclocal.m4 file.
> > You will also need config.guess and config.sub, which you can get from
> > ftp://ftp.gnu.org/pub/gnu/config/.
> >
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
> > checking for gawk... gawk
> > checking whether make sets $(MAKE)... yes
> > checking whether make supports nested variables... yes
> > checking whether make supports the include directive... yes (GNU style)
> > checking for gcc... gcc
> > checking whether the C compiler works... yes
> > checking for C compiler default output file name... a.out
> > checking for suffix of executables...
> > checking whether we are cross compiling... no
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether gcc accepts -g... yes
> > checking for gcc option to accept ISO C89... none needed
> > checking whether gcc understands -c and -o together... yes
> > checking dependency style of gcc... gcc3
> > checking for library containing strerror... none required
> > checking for gcc... (cached) gcc
> > checking whether we are using the GNU C compiler... (cached) yes
> > checking whether gcc accepts -g... (cached) yes
> > checking for gcc option to accept ISO C89... (cached) none needed
> > checking whether gcc understands -c and -o together... (cached) yes
> > checking dependency style of gcc... (cached) gcc3
> > checking for gcc... (cached) gcc
> > checking whether we are using the GNU C compiler... (cached) yes
> > checking whether gcc accepts -g... (cached) yes
> > checking for gcc option to accept ISO C89... (cached) none needed
> > checking whether gcc understands -c and -o together... (cached) yes
> > checking dependency style of gcc... (cached) gcc3
> > checking how to run the C preprocessor... gcc -E
> > checking for grep that handles long lines and -e... /usr/bin/grep
> > checking for egrep... /usr/bin/grep -E
> > checking for ANSI C header files... yes
> > checking whether to enable maintainer-specific portions of Makefiles...
> yes
> > checking for pkg-config... /usr/bin/pkg-config
> > checking pkg-config is at least version 0.9.0... yes
> > checking for GIMP... no
> > configure: error: *GIMP development libraries not found*; please install.
>
> GIMP is not "GLib" -- they are different animals.
>
> You need to install GIMP and probably GIMP-devel.
>
>
> >
> > Configure failed or did not finish!
> >
> > clearly I'm not smart enough to figure this out. one of you smart people
> > feel like offering further advice?
> >
> > PS:
> > oh, there is also a glib2.pc file in /usr/lib64/pkgconfig.
> >
> > $ ls -l /usr/lib64/pkgconfig/glib-2*
> > -rw-r--r--. 1 root root 444 May 16  2022 /usr/lib64/pkgconfig/glib-2.0.pc
> >
> > cat /usr/lib64/pkgconfig/glib-2.0.pc:
> >
> > prefix=/usr
> > libdir=${prefix}/lib64
> > includedir=${prefix}/include
> >
> > bindir=${prefix}/bin
> > glib_genmarshal=${bindir}/glib-genmarshal
> > gobject_query=${bindir}/gobject-query
> > 

Re: [CentOS] where is glib-devl x86-64?

2023-03-21 Thread Fred
well, I'm still confused.

sudo dnf install glib2-devel says it is already installed.

running autogen.sh for resynthesizer outputs:

$ ./autogen.sh

I am testing that you have the required versions of autoconf,
automake, glib-gettextize and intltoolize...

checking for autoconf >= 2.54 ... yes (version 2.69)
checking for automake >= 1.6 ... yes (version 1.16.2)
checking for glib-gettextize >= 2.0.0 ... yes (version 2.68.4)
checking for intltool >= 0.17 ... yes (version 0.51.0)

I am going to run ./configure with the following arguments:

  --enable-maintainer-mode

If you wish to pass additional arguments, please specify them
on the ./autogen.sh command line or set the AUTOGEN_CONFIGURE_ARGS
environment variable.

Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GIMP... no
configure: error: *GIMP development libraries not found*; please install.

Configure failed or did not finish!

clearly I'm not smart enough to figure this out. one of you smart people
feel like offering further advice?

PS:
oh, there is also a glib2.pc file in /usr/lib64/pkgconfig.

$ ls -l /usr/lib64/pkgconfig/glib-2*
-rw-r--r--. 1 root root 444 May 16  2022 /usr/lib64/pkgconfig/glib-2.0.pc

cat /usr/lib64/pkgconfig/glib-2.0.pc:

prefix=/usr
libdir=${prefix}/lib64
includedir=${prefix}/include

bindir=${prefix}/bin
glib_genmarshal=${bindir}/glib-genmarshal
gobject_query=${bindir}/gobject-query
glib_mkenums=${bindir}/glib-mkenums

Name: GLib
Description: C Utility Library
Version: 2.68.4
Requires.private: libpcre >=  8.31, sysprof-capture-4 >=  3.38.0
Libs: -L${libdir} -lglib-2.0
Libs.private: -pthread -lm
Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include


On Tue, Mar 21, 2023 at 11:10 AM Fred  wrote:

> I dunno. I guess it could be. Went to the Gimp site and saw that
> glib-devel was mentioned there.
>
> My tired old brain is a bit confused by this, since most other -devel
> packages put -devel following the program/package name, and gimp doesn't.
> I'll give that a try, though, to see if it takes care of my issue. Thanks!
>
>
> On Tue, Mar 21, 2023 at 2:32 AM Simon Matter 
> wrote:
>
>> Hi,
>>
>> > I have a brand new installation of Rocky Linux 9.1 (I know, this isn't a
>> > Rocky mailing list, but I can't find anything on this on Rocky forums,
>> > etc.
>> > so I figured I would ask here),
>> > and I installed Gimp, and would like to install the Resynthesizer plugin
>> > package.
>> >
>> > Trying to compile it from source, autogen.sh complains that I don't have
>> > the gimp development libraries installed. In fact, I can't find
>> glib-deve

Re: [CentOS] where is glib-devl x86-64?

2023-03-21 Thread Fred
I dunno. I guess it could be. Went to the Gimp site and saw that glib-devel
was mentioned there.

My tired old brain is a bit confused by this, since most other -devel
packages put -devel following the program/package name, and gimp doesn't.
I'll give that a try, though, to see if it takes care of my issue. Thanks!


On Tue, Mar 21, 2023 at 2:32 AM Simon Matter  wrote:

> Hi,
>
> > I have a brand new installation of Rocky Linux 9.1 (I know, this isn't a
> > Rocky mailing list, but I can't find anything on this on Rocky forums,
> > etc.
> > so I figured I would ask here),
> > and I installed Gimp, and would like to install the Resynthesizer plugin
> > package.
> >
> > Trying to compile it from source, autogen.sh complains that I don't have
> > the gimp development libraries installed. In fact, I can't find
> glib-devel
> > anywhere in any of the configured repos (all the default Rocky repos,
> > epel,
> > rpmfusion).
> >
>
> Can it be that what you're looking for is glib2-devel?
>
> Regards,
> Simon
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] where is glib-devl x86-64?

2023-03-20 Thread Fred
I have a brand new installation of Rocky Linux 9.1 (I know, this isn't a
Rocky mailing list, but I can't find anything on this on Rocky forums, etc.
so I figured I would ask here),
and I installed Gimp, and would like to install the Resynthesizer plugin
package.

Trying to compile it from source, autogen.sh complains that I don't have
the gimp development libraries installed. In fact, I can't find glib-devel
anywhere in any of the configured repos (all the default Rocky repos, epel,
rpmfusion).

Rocky is shipping an unstable development version of Gimp, so maybe they
haven't made glib-devel available yet ???

Thanks in advance for any help you can give!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel updates do not boot - always boots oldest kernel

2023-03-14 Thread Fred
I had something like this happen some years ago on a workstation with
2-disk (software/Linux) RAID 1. Turns out one of the disks had been ejected
from the raid array. It was that ejected disk that was getting the updates,
but since it was no longer in the array it wasn't being booted, but rather
the other one that wasn't getting the updates.

Fred

On Tue, Mar 14, 2023 at 7:31 AM Rob Kampen 
wrote:

> OK,
>
> found out the problem as to why it doesn't boot any kernel except 36.2
>
> the system reports that it cannot find
>
> vmlinuz-3.10.0-1160.88.1.el7.x86_64
>
> or any one of the others, except for vmlinuz-3.10.0-1160.36.2.el7.x86_64
>
> hence a manual selection from the grub menu when in front of the machine
> will only load the 36.2 kernel
>
> I found that under /boot/grub2 there were two .rpmnew files that mucked
> up the symbolic link to the grubenv file - so fixed that and did a
> reinstall of the latest kernel.
>
> Now all the grub and efi files appear to update correctly - progress.
>
> Now just need to work out why the efi boot process can see the old
> (original) kernel (36.2) but none of the later ones.
>
> Any ideas of where to look for this? seems a much more fundamental
> problem related to kernel install and efi booting
>
> Thanks
> Rob
>
> On 14/03/23 22:41, Petko Alov wrote:
> > Change it to
> >
> > GRUB_DEFAULT=0
> >
> > (I encountered the same issue week ago with a workstation booted for
> > three month with an older kernel because of
> > https://bugzilla.redhat.com/show_bug.cgi?id=2143438 , and solved it
> > this way)
> >
> > Regards,
> >
> > Petko
> >
> >
> >
> > On 3/14/23 10:51, Rob Kampen wrote:
> >> Can I edit /etc/default/grub and change
> >>
> >> GRUB_DEFAULT=saved
> >>
> >> to something else?
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7, removing zoom problem

2023-02-07 Thread Fred
ah, that's OK for now, as long as it works.

I'm trying to build up the courage to do a full system upgrade to
Rocky.latest. I hate doing upgrades, it's such a pain in the rear to get
everything working again, and get all my tweaks back into place. I despise
Gnome 3+, and prefer Mate. Someone (EPEL ??)  built Mate for C7, but the
existing binaries for C8 don't work very well, there are none that I know
of for  C9, and AFAIK Rocky is the only Centos clone that supports Mate.
there IS Ubuntu Mate, but I am more comfy with RH-derived systems.

One thing I won't have to do anymore is set up email (used to have my own
domain for email, but moved and can't get a static IP anymore, decided it
was too much bother to do the ddns thing) along with POP3 for my wife to
use. We now just use gmail.

But I see that the time for said upgrade is drawing nearer and nearer.

Fred

On Tue, Feb 7, 2023 at 9:22 PM Ian Mortimer  wrote:

> On Mon, 2023-02-06 at 21:13 -0500, Fred wrote:
>
> > well, as one of the earlier posters showed how, I did remove the
> > existing
> > one then installed the new one (the one that Zoom offers for Centos-
> > 7, not
> > the one for Centos-8, which has the problem you describe) and voila,
> > works
> > like a charm!
>
> Yes but that's the old version - 5.13.4.711 not the latest 5.13.7.683.
> "Check for Updates" will tell you there's a new version but you'll be
> stuck with that old version until you upgrade from CentOS 7 to
> something newer.
>
>
> --
> Ian
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7, removing zoom problem

2023-02-06 Thread Fred
well, as one of the earlier posters showed how, I did remove the existing
one then installed the new one (the one that Zoom offers for Centos-7, not
the one for Centos-8, which has the problem you describe) and voila, works
like a charm!

Fred

On Mon, Feb 6, 2023 at 7:35 PM Ian Mortimer  wrote:

> On Sun, 2023-02-05 at 17:09 -0500, Fred wrote:
>
> > Guys, I'm trying to update my zoom client and yum (or yumex) won't let
> > me
> > do an update,
>
> That's because CentOS/RHEL 7 is no longer supported.  Zoom download
> page shows 5.13.4.711 as the latest for 7. (5.13.7.683 is the latest
> for 8+.)
>
> > so I try to remove the installed one, on the theory that if
> > it isn't there I should be able to install a newer one
>
> You can download and install 5.13.7.683 but it won't start:
>
>  zoom: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found
> (required by zoom)
> zoom: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found
> (required by zoom)
>
>
> --
> Ian
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] C7, removing zoom problem

2023-02-05 Thread Fred
Guys, I'm trying to update my zoom client and yum (or yumex) won't let me
do an update, so I try to remove the installed one, on the theory that if
it isn't there I should be able to install a newer one, by doing "sudo yum
remove zoom_x86_64" (where my PWD is the directory where the zoom RPM files
live) and it tells me "no packages marked for removal.

Reading thru the man page for rpm I can't figure out any other way to do
it. Suggestions, any one?

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS9 vs. s-nail

2023-01-19 Thread Fred
=20 is an ASCII space character, and =3D is an ascii "=" (equal) sign.

I've seen various emailed documents that mangle them as you see, but if I
ever knew the cause, my tired old brain no longer remembers.

Fred

On Thu, Jan 19, 2023 at 2:42 PM Bill Gee  wrote:

> Now that I have a test CentOS9 system set up, I am trying to get it to
> send me logwatch reports via email.  S-nail is proving very frustrating.
>   It almost works ...  But not quite!
>
> The main problem is bogus characters in the logwatch report.  Here is a
> section of the report I get through email:
>
>
> ==
> =20
>   ### Logwatch 7.5.5 (01/22/21) =20
>  Processing Initiated: Thu Jan 19 13:31:57 2023
>  Date Range Processed: yesterday
>( 2023-Jan-18 )
>Period is day.
>  Detail Level of Output: 5
>  Type of Output/Format: email / text
>  Logfiles for Host: centos7.billgee.local
>   ##=20
> =20
>   - Kernel Audit Begin =20
>
>Number of audit daemon starts: 1=20
> =20
>   **Unmatched Entries**
>  audit: type=3D1403 audit(1674073255.247:3): auid=3D4294967295
> ses=3D429=
> 4967295 lsm=3Dselinux res=3D1: 1 Time(s)
>  auditd[517]: audit dispatcher initialized with q_depth=3D1200 and 1
> act=
> ive plugins: 1 Time(s)
> =20
>   -- Kernel Audit End -=20
>
> =20
>   - Chrony report Begin =20
>
>   MS Name/IP address Stratum Poll Reach LastRx Last sample
> =
>  =20
>   =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D
>   ^* server3.17.168.192.IN-AD> 4   6   37742-16us[  -23us] ± 9=
> 716us
>   Name/IP AddressNP  NR  Span  Frequency  Freq Skew  Offset
> Std=
>   Dev
> 
>
> What are all those =20 and =30 strings for?  How do I make them go away?
>
> I have been experimenting with a line in /etc/s-nail.rc.
>
> set ttycharset=utf-8
>
> That is the only value for this that produces anything useful.  If I set
> it to charset-7bit or charset-8bit, then s-nail complains about invalid
> syntax on the "set mta=" line.  What
>
> I just don't get it.  Can someone shed some light on this?
>
> For what it is worth, a test CentOS8 system using mailx (the REAL
> mailx!) works perfectly.  So do all of my CentOS7 and Fedora systems.
>
> --
> ===
> Bill Gee
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LibreOffice on CentOS 7

2022-11-03 Thread Fred
as mentioned above, I'm running 7.4.0.3 LibreOffice on Centos 7. Have had
no trouble with it.

On Thu, Nov 3, 2022 at 6:43 PM  wrote:

> Sorry, my misunderstanding. The version I gave is the version of
> CentOS7, the version of LibreOffice is 5.3.6.1-25.el7_9.
>
> -From: "Pete Geenhuizen"
>
> To: "CentOS mailing list", "H"
> Cc:
> Sent: Thursday November 3 2022 7:52:59AM
> Subject: Re: [CentOS] LibreOffice on CentOS 7
>
>  Why not simply download the latest and greatest version LibreOffice
> from
>  their we site I've been doing that for several years on both Centos 7
>  and now Rocky 8 and it has worked without fail.
>
>  On 11/3/22 10:46, H wrote:
>  > On 11/02/2022 03:53 PM,jefflp...@twc.com wrote:
>  >> 3.10.0-1160.76.1.el7.x86_64. I check for updates every day.
>  >>
>  >> Jeff
>  >>
>  >> -From: "H"
>  >> To: "CentOS mailing list"
>  >> Cc:
>  >> Sent: Wednesday November 2 2022 6:28:52AM
>  >> Subject: Re: [CentOS] LibreOffice on CentOS 7
>  >>
>  >> On November 1, 2022 5:13:49 PM EDT, Josh Boyer wrote:
>  >> >On Tue, Nov 1, 2022, 5:05 PM H wrote:
>  >> >
>  >> >> I am running the default version of LibreOffice 5.3.6.1 on
> CentOS
>  >> 7.
>  >> >This
>  >> >> is quite an old version and has a serious bug in Calc, possibly
> an
>  >> >errant
>  >> >> pointer, that frequently locks up spreadsheets.
>  >> >>
>  >> >> Has anyone installed a later version of LO on CentOS 7? I would
>  >> >prefer a
>  >> >> version that is not flatpak, snap or appimage etc...
>  >> >>
>  >> >
>  >> >Could you elaborate why you would like to avoid those packaging
>  >> >formats?
>  >> >
>  >> >josh
>  >> >___
>  >> >CentOS mailing list
>  >> >CentOS@centos.org
>  >> >https://lists.centos.org/mailman/listinfo/centos
>  /> >> />
>  >> A general dislike of anything that gets between the operating
> system
>  >> and an application potentially introducing its own complications.
>  >>
>  >> Does anyone happen to know what the latest native version for
> CentOS
>  >> 7 is?
>  >> ___
>  >> CentOS mailing list
>  >> CentOS@centos.org
>  >> https://lists.centos.org/mailman/listinfo/centos
>  /> >> />
>  >> ___
>  >> CentOS mailing list
>  >> CentOS@centos.org
>  >> https://lists.centos.org/mailman/listinfo/centos
>  /> > That seems to be version 3.10.0, or? As I wrote, I am running
> 5.3.6.1...
>  >
>  > ___
>  > CentOS mailing list
>  > CentOS@centos.org
>  > https://lists.centos.org/mailman/listinfo/centos
>  /> >
>
>  --
>  Unencumbered by the thought process.
>  -- Click and Clack the Tappet brothers
>  ___
>  CentOS mailing list
>  CentOS@centos.org
>  https://lists.centos.org/mailman/listinfo/centos
>  />
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LibreOffice on CentOS 7

2022-11-01 Thread Fred
I always use the packages from the document foundation, on my C7, without
trouble.

On Tue, Nov 1, 2022, 17:14 Josh Boyer  wrote:

> On Tue, Nov 1, 2022, 5:05 PM H  wrote:
>
> > I am running the default version of LibreOffice 5.3.6.1 on CentOS 7. This
> > is quite an old version and has a serious bug in Calc, possibly an errant
> > pointer, that frequently locks up spreadsheets.
> >
> > Has anyone installed a later version of LO on CentOS 7? I would prefer a
> > version that is not flatpak, snap or appimage etc...
> >
>
> Could you elaborate why you would like to avoid those packaging formats?
>
> josh
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Recording Levels Audacity 2.3.3

2022-10-16 Thread Fred
Mark, that is my understanding of how it works on Linux systems. It is
assumed that your input source will have a way of adjusting its output.
I did a lot of digitizing of phonograph records a couple years ago, and
found that the Pulse Audio Volume Control works for this.

Fred

On Sun, Oct 16, 2022 at 5:26 PM Mark LaPierre  wrote:

> Hey Y'all,
>
> I cannot adjust the recording level in Audacity on my CentOS Stream
> release 8 system.  It says that my system is prohibiting that.
>
> Bus 005 Device 004: ID 08bb:2900 Texas Instruments PCM2900 Audio Codec
>
> Is there a way to fix this without building a whole new system?
>
> --
>  _
> °v°
>/(_)\
> ^ ^
>   Mark LaPierre
> 
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unable to relay mail through gmail anymore

2022-08-05 Thread Fred
I can send mail from my C7  box (via sendmail) to myself at my gmail
account using gmail's smtp server. I don't very often forward mail THRU
gmail to other sites, so I don't know if that has changed.

On Fri, Aug 5, 2022 at 11:14 AM Richard 
wrote:

>
> > Date: Friday, August 05, 2022 10:39:04 -0400
> > From: Frank Bures 
> >
> > I have my CentOS7 sendmail configured to relay outgoing system
> > e-mail through my gmail account.
> >
> > The setup recently stopped working. Gmail SMTP keeps returning
> > "service unavailable".
> >
> > I think it has something to do with the recent changes in Gmail
> > authentication procedures.
> >
> > Does anyone know how to make the relaying work again?  I could not
> > find anything on the Net.
>
> I'm assuming you are pushing the mail to gmail through port 465 or
> 587. If that's the case, if you aren't already, you will need to set
> up and use a google "app password". Alternatively, get whatever you
> are using on the centos side that authenticates with gmail to support
> OAuth 2.
>
> You can no longer use your google side-wide password to authenticate
> 3rd party apps with gmail so need to use one of the alternatives in
> its place.
>
> I would actually expect you to get an authentication failure message
> so they may have changed something else that disabled this approach.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 guest on virt-manager

2022-06-03 Thread Fred
I have no experience with virt-manager, but I'm gonna guess that CDRoms
don't do secure boot? If so, and you turned it off in that VM it might boot.

Fred

On Fri, Jun 3, 2022 at 2:43 PM Jerry Geis  wrote:

> Hello -
>
> I am running Centos 7 virt-manager which I have used for years.
> Trying to install Ubuntu 22.04 as a guest. I have set up the CDRom - even
> disconnected and reset it - but it never boots the CDROM ??? Why ?
>
> It just defaults back to the OS that is already loaded.
>
> I'm confused. Why don't it boot the CDROM.  I event set the boot options to
> BOOT CDROM and unchecked everything else. I have the VM machine set for
> secure boot.
>
> Thanks
>
> Jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Updating a package to one from a different repository

2022-03-21 Thread Fred
Delete the package then reinstall from EPEL???


On Mon, Mar 21, 2022, 10:33 Kenneth Porter  wrote:

> At some point I updated fail2ban from a copr repo to get the latest
> release. That repo no longer exists but a newer version is available in
> EPEL. Is there a direct way to get yum to update using the different repo?
> Or do I need to save my config and DB, erase the old version, and install
> the new one from EPEL?
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] chkrootkit---abandoned???

2022-01-18 Thread Fred
Just tried to check for updated chkrootkit and it appears there haven't
been any since 0.53, 3 1/2 years ago.

Anybody know if it is now accessible somewhere other than www.chkrootkit.org
??

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printing on C8S

2022-01-07 Thread Fred
OK, I've done those commands, and the system thinks it has a printer
configured. I had assumed that the everywhere driver meant we'd be using
"ipp everywhere", which I had assumed meant I would NOT need to install
Brother drivers. but send a print job causes no paper to come out of the
printer, and I see this in lpstat -t output:

$ lpstat -t
scheduler is running
no system default destination
device for DCP7065DN: ///dev/null
DCP7065DN accepting requests since Fri 07 Jan 2022 10:46:21 AM EST
printer DCP7065DN is idle.  enabled since Fri 07 Jan 2022 10:46:21 AM EST
File "/usr/lib/cups/filter/brlpdwrapperDCP7065DN" not available: No such
file or directory
DCP7065DN-6 fredex  867328   Fri 07 Jan 2022 10:46:21
AM EST

which makes me guess I still need the Brother drivers. I can certainly go
get them and install them (not as if I hadn't done it before on multiple
systems), but I was hoping that "ipp everywhere" would work.

[later] I managed to get a working printer by using the Gnome printer
configuration tool. but it wasn't fun. I had to install the Brother drivers
because 'everywhere' doesn't seem to work with my Brother printer (possibly
Brother's fault, I dunno). the gnome printer setup tool is anything but
intuitive--despite what the help system says I can't find any way to define
the default printer, there's just no option there where help says it should
be. when I enter the URI of the printer (ipp://192.168.2.97/ipp) it lists
three choices of printers, as far as I can tell, only one of them actually
prints anything. but then I shouldn't be surprised at the ugly tool, it
fits right in with the rest of the Gnome desktop.

Unfortunately, the MATE for Centos-8 seems to be a one-off by a 3rd party,
so I can't complain to the Mate community about its lack of a printer
config tool (or other tools that don't work).

In fact, system-config-printer does seem to exist, but (1) it isn't found
in any menu I can find, anywhere, but on disk, if one searches with some
diligence, and (2) when I attempt to invoke it "python36 gui.py" it just
errors out on me. since I don't know any more about python than it takes to
type that command, I don't know how to fix it. I'm guessing it has never
been ported to Python 3.x.

I'd like to stay with CentOS or other RH-derived distro, but not if I'm
forced to use Gnome desktop.

Thanks for all the various replies you all sent me!

Fred

On Fri, Jan 7, 2022 at 10:21 AM Fred  wrote:

> John, it is a Brother DCP7065DN, on the hardwired network and visible to
> all the computers here.
>
> Actually, I just installed Mate (can't stand that Gnome-thing) but neither
> it nor Gnome shows any printer config utilities.
>
> Barry, I'll check into lpadmin. Still, I'd think there would be something
> actually visible in one of the menus, and as far as I can see there isn't.
>
> Fred
>
> On Fri, Jan 7, 2022 at 2:34 AM John Call  wrote:
>
>> Hi Fred, can you share a little bit more information? For example, are you
>> using the default Gnome desktop environment? What kind of printer do you
>> have? How is it connected to C8S (USB, Wi-Fi, Ethernet...?)
>>
>> I use Gnome, and it's been a long time since I had to poke around with
>> CUPS. My Brother printer (MFC-9340CDW) is pretty old these days, but still
>> works after I download and install the "Driver Install Tool" RPM from the
>> brother.com website...
>>
>> On Thu, Jan 6, 2022 at 9:16 PM Fred  wrote:
>>
>> > OK, I give up. How do I configure a printer on Centos 8 Stream? I can't
>> > find any tools for doing that.
>> >
>> > further, there doesn't seem to be a cups executable (which should allow
>> > setting up a printer) though there ARE a bunch of cups packages
>> installed.
>> >
>> > Anyone got any clues for me?
>> >
>> > Thanks in advance!
>> >
>> > Fred
>> > ___
>> > CentOS mailing list
>> > CentOS@centos.org
>> > https://lists.centos.org/mailman/listinfo/centos
>> >
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printing on C8S

2022-01-07 Thread Fred Erickson
On Fri, 7 Jan 2022 10:21:01 -0500
Fred  wrote:

> John, it is a Brother DCP7065DN, on the hardwired network and visible
> to all the computers here.
> 
> Actually, I just installed Mate (can't stand that Gnome-thing) but
> neither it nor Gnome shows any printer config utilities.
> 
> Barry, I'll check into lpadmin. Still, I'd think there would be
> something actually visible in one of the menus, and as far as I can
> see there isn't.
> 
> Fred

On Fedora Mate, printer settings are in: System > Control Center >
Administration, Print Settings.

Fred, too.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printing on C8S

2022-01-07 Thread Fred
John, it is a Brother DCP7065DN, on the hardwired network and visible to
all the computers here.

Actually, I just installed Mate (can't stand that Gnome-thing) but neither
it nor Gnome shows any printer config utilities.

Barry, I'll check into lpadmin. Still, I'd think there would be something
actually visible in one of the menus, and as far as I can see there isn't.

Fred

On Fri, Jan 7, 2022 at 2:34 AM John Call  wrote:

> Hi Fred, can you share a little bit more information? For example, are you
> using the default Gnome desktop environment? What kind of printer do you
> have? How is it connected to C8S (USB, Wi-Fi, Ethernet...?)
>
> I use Gnome, and it's been a long time since I had to poke around with
> CUPS. My Brother printer (MFC-9340CDW) is pretty old these days, but still
> works after I download and install the "Driver Install Tool" RPM from the
> brother.com website...
>
> On Thu, Jan 6, 2022 at 9:16 PM Fred  wrote:
>
> > OK, I give up. How do I configure a printer on Centos 8 Stream? I can't
> > find any tools for doing that.
> >
> > further, there doesn't seem to be a cups executable (which should allow
> > setting up a printer) though there ARE a bunch of cups packages
> installed.
> >
> > Anyone got any clues for me?
> >
> > Thanks in advance!
> >
> > Fred
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] printing on C8S

2022-01-06 Thread Fred
OK, I give up. How do I configure a printer on Centos 8 Stream? I can't
find any tools for doing that.

further, there doesn't seem to be a cups executable (which should allow
setting up a printer) though there ARE a bunch of cups packages installed.

Anyone got any clues for me?

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to clear out /var/cache?

2021-12-31 Thread Fred
well, I removed all the files in the tree under /var/cache/yum/x86_64/7 but
left all the directories empty. that got rid of a couple gigs of stuff.

among the remains, the only other big one remaining is:

2.3G abrt-di

which I won't mess with for now.

I've got 4.2G free, now, so that should run me for quite a while.

Thanks to all of you for your tips!

Fred

On Fri, Dec 31, 2021 at 10:38 AM Stephen John Smoogen 
wrote:

> On Thu, 30 Dec 2021 at 18:21, Fred  wrote:
>
> > Is it safe to just remove files from /var/cache on a running system, or
> is
> > there a correct procedure for doing that?
> >
> > Mine has hit over 3 gigs, making it one of the larger directories in /,
> > which is running low on space. I've hit all the low-hanging fruit I can
> > find and now I come to things like /var/cache, and I don't know what to
> do
> > about such.
> >
> >
> The first step is to find out what is using it. It is probably dnf but
> could be other utilities which are trying and failing to do something. I
> start off with
>
> ```
> $ sudo -i
> # cd /var/cache
> # du -sch | sort -h
> 0   ./PackageKit
> 0   ./app-info
> 0   ./bpf
> 0   ./fwupd
> 0   ./httpd
> 0   ./krb5rcache
> 0   ./libX11
> 0   ./libvirt
> 0   ./private
> 0   ./realmd
> 36K ./ldconfig
> 1.7M./man
> 29M ./dnf
> 31M total
>
> while on a different system:
> 4.0K./abrt-di
> 4.0K./bpf
> 4.0K./foomatic
> 4.0K./krb5rcache
> 4.0K./private
> 4.0K./realmd
> 8.0K./httpd
> 8.0K./libX11
> 8.0K./powertop
> 96K ./ldconfig
> 300K./ibus
> 520K./libvirt
> 3.5M./man
> 4.2M./fwupd
> 38M ./app-info
> 59M ./cups
> 213M./PackageKit
> 332M./dnf
> 2.1G./mock
> 2.7Gtotal
>
> ```
>
> As others have noted, dnf is probably the most used tool here, but it could
> be mock or some other utility (I had cups because I misconfigured something
> once)
>
> dnf is a tricky tool because sometimes a command will create a
> 'not-so-temporary' cached tree which can't be cleaned because `dnf clean
> all` doesn't know it. What I do is a `dnf clean all` and then go into
> /var/cache/dnf and see what else might be still there. In my case I found a
> large trove of packages from when I had enabled testing at one point and
> then turned it off before doing a clean. I normally just delete all the
> directories and do a `dnf update` to see if it reports errors.
>
> Hope this helps.
>
>
>
> Thanks in advance!
> >
> > Fred
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
>
> --
> Stephen J Smoogen.
> Let us be kind to one another, for most of us are fighting a hard battle.
> -- Ian MacClaren
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to clear out /var/cache?

2021-12-30 Thread Fred
Skylar: that's more or less what I've been doing, looking for huge things
in /.

Kenneth: the latest version of kdirstat appears to now be named qdirstat,
no kde bits required. it is certainly a handy way to quickly find the disk
space sinks. Thanks for the pointer.

but I still don't know the proper way to clear out a lot of this stuff. I
certainly don't want to hose my system.

It is C7, up to date, and it has been running for at least five years with
partitions as they are set now: / is 50 gigs. had a popup message this
morning telling me that / was nearly full. found it with 2 gigs free.
sounds as if something has been slowly eating away at the space. I could
use gparted to rearrange things, making / bigger, but as it has been going
for five years, it strikes me that it more likely needs a lot of garbage
collection to be done. I've manually cleaned up some detritus, it now
reports 3.7G free which should hold me for a little while.

So, can anyone advise me on what is and what is not safe to whack/delete
from the root partition?

Thanks!

Fred

On Thu, Dec 30, 2021 at 7:16 PM Kenneth Porter 
wrote:

> --On Thursday, December 30, 2021 6:20 PM -0500 Fred 
>
> wrote:
>
> > Mine has hit over 3 gigs, making it one of the larger directories in /,
> > which is running low on space. I've hit all the low-hanging fruit I can
> > find and now I come to things like /var/cache, and I don't know what to
> do
> > about such.
>
> Have you run KDirStat to find the disk pigs? I regularly use its Windows
> derivative, WinDirStat.
>
> <http://kdirstat.sourceforge.net/>
> <https://windirstat.net/>
>
> I wish there was a web-based version for headless servers without X
> libraries.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] how to clear out /var/cache?

2021-12-30 Thread Fred
Is it safe to just remove files from /var/cache on a running system, or is
there a correct procedure for doing that?

Mine has hit over 3 gigs, making it one of the larger directories in /,
which is running low on space. I've hit all the low-hanging fruit I can
find and now I come to things like /var/cache, and I don't know what to do
about such.

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] C9S

2021-12-10 Thread Fred
Hi!

I'm experimenting with C9 Stream, in Virtualbox.

I'm hoping someone, somewhere, will provide the Mate desktop for it. I
positively cannot stand that Gnome thing that they think we should all be
using.

I've installed C9 and C9S for epel but they don't have it (yet??) either.

Anyone know where I can find it?

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mounting XFS RAID-1 disk partition that needs repair.

2021-11-24 Thread Fred
Ah HA! I b elieve I saw in a dump somewhere that it was 0.9. so I should be
off to the races!

Thanks!

Fred

On Wed, Nov 24, 2021 at 1:14 PM Simon Matter  wrote:

> > haven't tried the suggestions yet, but here is some diagnostics on what
> > happens when I attempt to mount it:
> > upon running *mdadm --assemble /dev/md40 /mnt/dvd --run*, info from
> > /var/log/messages):
> > (note that /mnt/dvd is just an empty mount point that exists, used here
> > for
> > convenience).
> >
> > Nov 24 12:21:42 fcshome kernel: md: md40 stopped.
> > Nov 24 12:21:42 fcshome kernel: md/raid1:md40: active with 1 out of 2
> > mirrors
> > Nov 24 12:21:42 fcshome kernel: md40: detected capacity change from 0 to
> > 996887429120
> >
> > output from doing:
> > sudo mount /dev/md40 /mnt/dvd
> > mount: mount /dev/md40 on /mnt/dvd failed: Structure needs cleaning
> >
> > corresponding items from /var/log/messages:
> > Nov 24 12:22:55 fcshome kernel: XFS (md40): Superblock earlier than
> > Version
> > 5 has XFS_[PQ]UOTA_{ENFD|CHKD} bits.
> > Nov 24 12:22:55 fcshome kernel: XFS (md40): Metadata corruption detected
> > at
> > xfs_sb_read_verify+0x122/0x160 [xfs], xfs_sb block 0xff
> > ff
> > Nov 24 12:22:55 fcshome kernel: XFS (md40): Unmount and run xfs_repair
> > Nov 24 12:22:55 fcshome kernel: XFS (md40): First 128 bytes of corrupted
> > metadata buffer:
> > Nov 24 12:22:55 fcshome kernel: 8e0c8f4e: 58 46 53 42 00 00 10 00
> > 00 00 00 00 0e 81 b1 e0  XFSB
> > Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0010: 00 00 00 00 00 00 00 00
> > 00 00 00 00 00 00 00 00  
> > Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0020: d2 22 a7 30 dd 88 48 8b
> > bd bb 9c 8b 2a 22 72 cc  .".0..H.*"r.
> > Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0030: 00 00 00 00 08 00 00 04
> > 00 00 00 00 00 00 00 80  
> > Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0040: 00 00 00 00 00 00 00 81
> > 00 00 00 00 00 00 00 82  
> > Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0050: 00 00 00 01 00 74 0d 8f
> > 00 00 00 20 00 00 00 00  .t. 
> > Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0060: 00 00 80 00 30 c4 02 00
> > 01 00 00 10 00 00 00 00  0...
> > Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0070: 00 00 00 00 00 00 00 00
> > 0c 09 08 04 17 00 00 19  
> > Nov 24 12:22:55 fcshome kernel: XFS (md40): SB validate failed with error
> > -117.
> >
> > running xfs_repair give:
> > sudo xfs_repair /dev/md40
> > Phase 1 - find and verify superblock...
> > xfs_repair: V1 inodes unsupported. Please try an older xfsprogs.
> >
> > before proceeding with other experiments, I decided to use dd to create
> an
> > image file on my local disk of that partition so I could mess with it
> with
> > less chance of trashing the on-disk partition. when attempting to use it,
> > I
> > get:
> >
> > sudo mdadm --assemble /dev/md41 ./part4.img --run
> > mdadm: ./part4.img is not a block device.
> > mdadm: ./part4.img has no superblock - assembly aborted
> >
> > So, I thought maybe the image had somehow become corrupted, so I did:
> >
> > sudo md5sum /dev/sdd4
> > bd7cac3c886e7b3110e28100e119bb82  /dev/sdd4
> >
> > and
> >
> > md5sum part4.img
> > bd7cac3c886e7b3110e28100e119bb82  part4.img
> >
> > which shows the partition and its disk image to be identical.
> >
> > Why shouldn't a dd image of a partition work just as well (for my
> > purposes)
> > as the actual disk partition? I've certainly done this before with EXTn
> > and
> > NTFS filesystems, is XFS somehow different in this regard?
> >
> > Do any of you know what I'm doing wrong here?
>
> I'm not sure but I think you are making it too complicated.
>
> If the partition is from a software RAID 1, then you should be able to use
> it directly without building an mdadm array.
>
> That said, it depends on the metadata type IIRC. If metadata is in the
> beginning of the partition, then you have to remove it by doing a dd to a
> file and skipping the metadata in the beginning of the partition.
>
> md raid metadata locations:
> 0.9 At the end of the device
> 1.0 At the end of the device
> 1.1 At the beginning of the device
> 1.2 4K from the beginning of the device
>
> So with metadata versions 0.9 0r 1.0, you could directly use the md
> partition like a normal partition, only some bytes in the end are not used
> by the filesystem.
>
> Regards,
> Simon
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mounting XFS RAID-1 disk partition that needs repair.

2021-11-24 Thread Fred
haven't tried the suggestions yet, but here is some diagnostics on what
happens when I attempt to mount it:
upon running *mdadm --assemble /dev/md40 /mnt/dvd --run*, info from
/var/log/messages):
(note that /mnt/dvd is just an empty mount point that exists, used here for
convenience).

Nov 24 12:21:42 fcshome kernel: md: md40 stopped.
Nov 24 12:21:42 fcshome kernel: md/raid1:md40: active with 1 out of 2
mirrors
Nov 24 12:21:42 fcshome kernel: md40: detected capacity change from 0 to
996887429120

output from doing:
sudo mount /dev/md40 /mnt/dvd
mount: mount /dev/md40 on /mnt/dvd failed: Structure needs cleaning

corresponding items from /var/log/messages:
Nov 24 12:22:55 fcshome kernel: XFS (md40): Superblock earlier than Version
5 has XFS_[PQ]UOTA_{ENFD|CHKD} bits.
Nov 24 12:22:55 fcshome kernel: XFS (md40): Metadata corruption detected at
xfs_sb_read_verify+0x122/0x160 [xfs], xfs_sb block 0xff
ff
Nov 24 12:22:55 fcshome kernel: XFS (md40): Unmount and run xfs_repair
Nov 24 12:22:55 fcshome kernel: XFS (md40): First 128 bytes of corrupted
metadata buffer:
Nov 24 12:22:55 fcshome kernel: 8e0c8f4e: 58 46 53 42 00 00 10 00
00 00 00 00 0e 81 b1 e0  XFSB
Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0010: 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00  
Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0020: d2 22 a7 30 dd 88 48 8b
bd bb 9c 8b 2a 22 72 cc  .".0..H.*"r.
Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0030: 00 00 00 00 08 00 00 04
00 00 00 00 00 00 00 80  
Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0040: 00 00 00 00 00 00 00 81
00 00 00 00 00 00 00 82  
Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0050: 00 00 00 01 00 74 0d 8f
00 00 00 20 00 00 00 00  .t. 
Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0060: 00 00 80 00 30 c4 02 00
01 00 00 10 00 00 00 00  0...
Nov 24 12:22:55 fcshome kernel: 8e0c8f4e0070: 00 00 00 00 00 00 00 00
0c 09 08 04 17 00 00 19  
Nov 24 12:22:55 fcshome kernel: XFS (md40): SB validate failed with error
-117.

running xfs_repair give:
sudo xfs_repair /dev/md40
Phase 1 - find and verify superblock...
xfs_repair: V1 inodes unsupported. Please try an older xfsprogs.

before proceeding with other experiments, I decided to use dd to create an
image file on my local disk of that partition so I could mess with it with
less chance of trashing the on-disk partition. when attempting to use it, I
get:

sudo mdadm --assemble /dev/md41 ./part4.img --run
mdadm: ./part4.img is not a block device.
mdadm: ./part4.img has no superblock - assembly aborted

So, I thought maybe the image had somehow become corrupted, so I did:

sudo md5sum /dev/sdd4
bd7cac3c886e7b3110e28100e119bb82  /dev/sdd4

and

md5sum part4.img
bd7cac3c886e7b3110e28100e119bb82  part4.img

which shows the partition and its disk image to be identical.

Why shouldn't a dd image of a partition work just as well (for my purposes)
as the actual disk partition? I've certainly done this before with EXTn and
NTFS filesystems, is XFS somehow different in this regard?

Do any of you know what I'm doing wrong here?

Thanks in advance!

Fred

On Tue, Nov 23, 2021 at 3:57 PM Fred  wrote:

> I'll take a look at these two ideas soon. Thanks!
>
> On Tue, Nov 23, 2021 at 10:03 AM Simon Matter 
> wrote:
>
>> Hi,
>>
>> > I'm attempting to extract data from a HD that has a bunch of linux-raid
>> > partitions, including one large one with data I need to save off the
>> disk.
>> >
>> > I actually have two drives like that (both not from the same RAID pair),
>> > and one of them I was successful in creating a MD device so I could
>> mount
>> > it RO and copy off a ton of data.
>> >
>> > the second one fails to mount, saying the XFS filesystem is corrupted.
>> > Attempting to run XFS_repair I get a message that the filesystem is
>> XFS-1
>> > and I need an older version of XFS tools to do it.
>>
>> Are you sure the filesystem is really corrupt? Maybe it's only your kernel
>> which doesn't understand the old XFS version?
>>
>> To use older xfs_repair, you can just download an older version like
>> xfsprogs-2.9.4-1.el4.centos.x86_64.rpm, extract it to a directory and call
>> the xfs_repair binary from the package.
>>
>> I'm not sure whether you need a matching xfs kernel module to run
>> xfs_repair successfully.
>>
>> Regards,
>> Simon
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] mounting XFS RAID-1 disk partition that needs repair.

2021-11-23 Thread Fred
I'll take a look at these two ideas soon. Thanks!

On Tue, Nov 23, 2021 at 10:03 AM Simon Matter 
wrote:

> Hi,
>
> > I'm attempting to extract data from a HD that has a bunch of linux-raid
> > partitions, including one large one with data I need to save off the
> disk.
> >
> > I actually have two drives like that (both not from the same RAID pair),
> > and one of them I was successful in creating a MD device so I could mount
> > it RO and copy off a ton of data.
> >
> > the second one fails to mount, saying the XFS filesystem is corrupted.
> > Attempting to run XFS_repair I get a message that the filesystem is XFS-1
> > and I need an older version of XFS tools to do it.
>
> Are you sure the filesystem is really corrupt? Maybe it's only your kernel
> which doesn't understand the old XFS version?
>
> To use older xfs_repair, you can just download an older version like
> xfsprogs-2.9.4-1.el4.centos.x86_64.rpm, extract it to a directory and call
> the xfs_repair binary from the package.
>
> I'm not sure whether you need a matching xfs kernel module to run
> xfs_repair successfully.
>
> Regards,
> Simon
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] mounting XFS RAID-1 disk partition that needs repair.

2021-11-23 Thread Fred
I'm attempting to extract data from a HD that has a bunch of linux-raid
partitions, including one large one with data I need to save off the disk.

I actually have two drives like that (both not from the same RAID pair),
and one of them I was successful in creating a MD device so I could mount
it RO and copy off a ton of data.

the second one fails to mount, saying the XFS filesystem is corrupted.
Attempting to run XFS_repair I get a message that the filesystem is XFS-1
and I need an older version of XFS tools to do it.

I'm running Centos-7 with whatever version of XFS tools comes with it,
according to 'yum list installed' it appears to be xfsprogs 4.5.0-22.el7.

I don't particularly want to install another, older, version of xfsprogs on
this system. can anyone suggest any other way to gain access to this disk
partition?

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Auditing all Linux clients with centralised server

2021-07-09 Thread Fred
I don't think it is a problem limited to America. Greed exists worldwide.

On Fri, Jul 9, 2021 at 8:48 AM mario juliano grande-balletta <
mario.balle...@gmail.com> wrote:

> Before anyone mentions "charity" and Bill Gates foundation
> just remember how many good technology companies and software that
> Microsoft destroyed with FUD tactics in the 80's, 90's, and
> 2000's.
> charity begins at home they say in America...
> what about those few million employees who lost jobs, homes, cars,
> savings because Microsoft destroyed their companies?  what about
> them?  where was their charity?
> In America it's all too common to use treachery, dishonesty in business
> and politics to climb to the top, and destroy competition, and then
> pretend to give to charitable causes...
> pure hypocrisyblatant hypocrisy
> I for one cannot be bought, never..
> as a veteran and so many other things, I will never surrender to
> corporate bullying from anyone, including Amazon, I left AWS for
> similar reasons..
> I am proud to say I have not used a Windows OS since
> 1995and still refuse to this day to allow any Microsoft
> devices attach to my SOHO networks...
> same for Apple and IBM and Oracle.
> freedom is more than an idea, more than a principle, it is a lifestyle
> too!
>
>
>
>
>
>
> On Fri, 2021-07-09 at 08:14 -0400, mario juliano grande-balletta wrote:
> > This is what I remember about evil
> > Microsoft...
> > In 1992, Microsoft released Windows NT, and advertised it as the
> > greatest operating system and began giving away free licenses to
> > colleges and universities and hiring public relations firms to
> > publish phony surveys and results to prove Windows NT was better than
> > Novell NetWare or any other OS.  Meanwhile, it took 4 years for
> > Microsoft to finally install Windows NT at their HQ in Redmond,
> > Washington.  Why so long?  Because they were successfully running
> > Novell NetWare, the same NetWare that Microsoft was slowly destroying
> > with FUD in the tech journals and media with phony surveys.
> > Someone here said a leopard never changes his spots, KUDOS Sir!
> > Microsoft is a cancer, a cancer to freedom, a cancer to innovation
> > and always was, who didn't they destroy back in the 90's and early
> > 2000's?  They stole Word from WordPerfect, they stole Office from
> > Borland, and Excel was plagiarized from Lotus 1-2-3.
> > Microsoft deserves to be hacked and destroyed and is the epitome of
> > the most evil and treacherous an American corporation can
> > become.
> > I HATE MICROSOFT and so do many others who survived their FUD tactics
> > from the 90's.  Some of you weren't even born yet...
> > I know Gates and Ballmer and company all to welllong before the
> > documentaries "Pirates Of Silicon Valley" and "Triumph Of The Nerds".
> > Any efforts they make toward linux are for control and never for
> > freedom or innovation.  Control, power, greed are their only goals,
> > always.
> > WAKE UP!
> >
> >
> >
> >
> >
> >
> >
> > On Fri, 2021-07-09 at 09:25 +0200, Ralf Prengel wrote:
> > > Zitat von Kaushal Shriyan :
> > > Hi,
> > > I have 20 Linux servers in the network. Is there a way to audit all
> > > Linuxclients using a centralized server? For example, what commands
> > > are run byJohn on Linuxnode1? Steve on Linuxnode15? and so on and
> > > so forth totrack user activity. Which files have been modified or
> > > edited or commandsetc.. by the users.
> > > I have installed auditd, but it is local to the Linux server.Thanks
> > > in advance.
> > >
> > > Hallo,what is about ansible for example.Ralf
> > >
> > >
> > > ___CentOS mailing
> > > listcen...@centos.org
> > > https://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Audacity

2021-07-07 Thread Fred
I built it from source, once, several years ago. don't recall h aving had
any problems. You may try that a last resort, y'know?

On Wed, Jul 7, 2021 at 7:35 PM mark  wrote:

> I'm trying to record a reading of my just-published novel... and I'm
> underwhelmed. In KDE, I select multimedia->audacity, and it crashes. I
> can get it to run from a command line, but if I try to start "new", it
> crashes. When I was testing, and got the correct mike, then wanted to
> delete what I'd done and actually start, it crashes.
>
> This is as installed, nothing odd.
>
> Recommendations (other than reinstall)?
>
> mark
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resize a VM: any risk involved ?

2021-04-08 Thread Fred
I'm using VirtualBox for a few VMs, the biggest one is a Ubuntu 20.04 that
ocassionally grows too small, so I use virtualbox tools to enlarge the disk
then boot up something that h as gparted in it and use gparted to
stretch/move partitions.

Not being familiar with (i.e., not having used) KVM I can't say what's the
best way, but it seems to me that gparted would be easier than the steps
you described., once you've changed the partition size.

On Thu, Apr 8, 2021 at 11:43 AM Nicolas Kovacs  wrote:

> Hi,
>
> I'm currently fiddling with KVM, Proxmox and various VMs.
>
> I setup a very basic VM with a manual (fdisk) partitioning scheme: one
> /boot
> partition, one swap partition, and one root partition, the latter being the
> last partition and thus expandable).
>
> I'm starting with a reduced disk size (6 GB in total) and a minimal
> installation. The idea behind this approach is that I can clone this
> minimal VM
> and then eventually expand it to fit my needs.
>
> Here's how I expand the available disk size.
>
> First I increase the virtual disk in the hypervisor.
>
> Then I fire up the VM and do the following:
>
> # yum install cloud-utils-growpart
> # lsblk
> # growpart -v /dev/sda 3
> # resize2fs /dev/sda3
>
> Now here's my question (finally): is there any risk involved in this sort
> of
> operation? Or can it be performed on a production system without having to
> worry about data loss?
>
> Cheers from the sunny South of France,
>
> Niki
>
> --
> Microlinux - Solutions informatiques durables
> 7, place de l'église - 30730 Montpezat
> Site : https://www.microlinux.fr
> Blog : https://blog.microlinux.fr
> Mail : i...@microlinux.fr
> Tél. : 04 66 63 10 32
> Mob. : 06 51 80 12 12
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] video driver for NVIDIA Quadro

2021-04-07 Thread Fred
is that a notebook? There is a listing at nvidia.com for a K3100M at this
page: https://www.nvidia.com/Download/driverResults.aspx/153717/en-us

On Wed, Apr 7, 2021 at 11:00 PM Fred  wrote:

> Have you looked at Nvidia.com? They probably have something for it unless
> it is truly ancient.
>
> On Wed, Apr 7, 2021 at 7:48 PM R C  wrote:
>
>> Hello,
>>
>>
>> I am running Centos/RHEL 8 on a Dell precision M6800/6700 with a: NVIDIA
>> Corporation GK104GLM [Quadro K3100M]
>>
>>
>> Is there a driver for that one?  or am I stuck with nouveaux ?
>>
>>
>> thanks,
>>
>>
>> Ron
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
>>
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] video driver for NVIDIA Quadro

2021-04-07 Thread Fred
Have you looked at Nvidia.com? They probably have something for it unless
it is truly ancient.

On Wed, Apr 7, 2021 at 7:48 PM R C  wrote:

> Hello,
>
>
> I am running Centos/RHEL 8 on a Dell precision M6800/6700 with a: NVIDIA
> Corporation GK104GLM [Quadro K3100M]
>
>
> Is there a driver for that one?  or am I stuck with nouveaux ?
>
>
> thanks,
>
>
> Ron
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] almalinux?

2021-04-05 Thread Fred
There used to be several RHEL clones too, but many (some??) have dropped by
the wayside. I started with TaoLinux, a rebuild of EL6, by basically one
guy at a university, because he wanted his own RHEL clone to run at work.
when he changed jobs he worked with Johnny to come up with a transition for
Taolinux users to turn their systems into CentOS systems. As I understand
it, also, Scientific Linux has quit and urges its users to go to Centos (or
did, before the big hullabaloo in the CentOS world). there was also
Whitebox LInux, but I don't know what ever became of it.

So, hopefully those doing rebuilds of 8 will also eventually coalesce into
a smaller number, hopefully 1.

Fred

On Mon, Apr 5, 2021 at 2:31 PM Simon Matter  wrote:

> > Anyone looked into almalinux? I was sort of waiting for rocky, but I see
> > from over the weekend on slashdot that almalinux stable is released.
> >
> >   mark
>
> I hoped they would join forces and produce only one RHEL clone but put
> some effort into bringing EPEL to a usable state for EL8 instead. IMHO
> that would help *MUCH* more than to have two almost identical rebuilds of
> RHEL.
>
> Simon
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to reset the USB subsystem?

2021-01-14 Thread Fred
from a non-expert (me):

possibly figure out what happens when the device is plugged/unplugged and
doing that by hand. if you can find the udev file(s) that manage the
port(s) that get hung you may be able to figure out what those steps would
be.

or you could try, when hung, plugging it into a different USB port... some
motherboards have multiple USB controllers, so even if one gets wedged
tight, the other one(s) shouldn't be.

Good Luck!

Fred

On Thu, Jan 14, 2021 at 11:22 AM Frank Bures  wrote:

> Hi,
>
> my USB connected printer goes into deep space from time to time probably
> due to a HW problem on the MoBo.
>
> Is there a way how to reset the USB subsystem the same way one can restart
> networking or X without the necessity to reboot?
>
> Thanks
> Frank
>
> --
>
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rare but repeating system crash in C7

2021-01-07 Thread Fred
Seems to be. Thanks again!

Fred

On Thu, Jan 7, 2021 at 1:46 AM Simon Matter  wrote:

> Hi Fred, no I was asking about the auto mount and umount issue you had.
> Did you get it to work correctly?
>
> Simon
>
> > Simon, if you're talking about the occasional crash, I don't know, since
> > it
> > happens only occasionally. If I can make it thru six months without
> seeing
> > it, then I'll declare it fixed.
> >
> > Thanks!
> >
> > On Wed, Jan 6, 2021 at 1:23 PM Simon Matter 
> > wrote:
> >
> >> Have you been able to fix the issue?
> >>
> >> Regards,
> >> Simon
> >>
> >> > OK, here's where I stand now:
> >> > 1. I stopped and disabled autofs. (I have 2 SMB filesystems out on the
> >> LAN
> >> > that have also been automounting with autofs, do I need to do similar
> >> > changes in fstab for them?)
> >> > 2. yes it has.
> >> > 3. none I can see.
> >> > 4. nothing that leaps out at me. there are a couple about /mnt/backup
> >> not
> >> > existing but they appear to be old ones, aren't happening anymore.
> >> >
> >> > So, I've made a minor tweak to /etc/fstab, nothing that should matter.
> >> > rebooted, and when it comes up /mnt/backup is mounted. TWICE,
> >> according
> >> to
> >> > the output of mount:
> >> >
> >> >  $ mount | grep backup
> >> > systemd-1 on /mnt/backup type autofs
> >> >
> >>
> (rw,relatime,fd=25,pgrp=1,timeout=900,minproto=5,maxproto=5,direct,pipe_ino=9840)
> >> > /dev/sdc1 on /mnt/backup type ext4
> >> > (rw,relatime,seclabel,stripe=8191,data=ordered)
> >> >
> >> > is this really a double mount, or is this what I'm supposed to be
> >> seeing?
> >> >
> >> > doesn't seem to timeout and auto umount.
> >> >
> >> > Thanks again for your assistance!
> >> >
> >> > Fred
> >> >
> >> > On Mon, Jan 4, 2021 at 7:48 AM Strahil Nikolov via CentOS
> >> > 
> >> > wrote:
> >> >
> >> >> Verify that:
> >> >> 1. Autofs is not running
> >> >> 2. Systemd has created '.mount' and '.automount' units
> >> >> systemctl status mnt-backup.mount mnt-backup.automount
> >> >> systemctl cat mnt-backup.mount mnt-backup.automount
> >> >>
> >> >> 3. Verify that there are no errors in local-fs.target
> >> >> systemctl status local-fs.target
> >> >>
> >> >> 4. Check for errors via:
> >> >> mount -a
> >> >> journalctl -e
> >> >>
> >> >> Best Regards
> >> >> Strahil Nikolov
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> В понеделник, 4 януари 2021 г., 01:29:25 Гринуич+2, Fred <
> >> >> fred.fre...@gmail.com> написа:
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> OK, I think I've got it set up as described here, while fixing the
> >> >> misplaced fields in /etc/fstab:
> >> >>
> >> >> UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backupext4
> >> >> x-systemd.automount,x-systemd.idle-timeout=15min,noauto 0  2
> >> >>
> >> >> now when I do, e.g., "ls /mnt/backup"
> >> >>
> >> >> I get:
> >> >>
> >> >> $ sudo !!
> >> >> sudo ls /mnt/backup
> >> >> ls: cannot open directory /mnt/backup: No such file or directory
> >> >>
> >> >> if I do:
> >> >>
> >> >> ls /mnt
> >> >>
> >> >> I see:
> >> >>
> >> >> backup
> >> >>
> >> >> use su to become root, then:
> >> >> ls -l /mnt shows:
> >> >>
> >> >> # ls -al
> >> >> total 4
> >> >> drwxr-xr-x.  3 root root0 Jan  2 13:24 .
> >> >> dr-xr-xr-x. 21 root root 4096 Jan  2 09:22 ..
> >> >> dr-xr-xr-x.  2 root root0 Jan  2 13:24 backup
> >> >>
> >> >> ls backup shows:
> >> >>
> >> >> # ls -al backup
> >> >> ls: cannot open directory backup: No such file or directory
> >> >>
> >&

Re: [CentOS] rare but repeating system crash in C7

2021-01-06 Thread Fred
Simon, if you're talking about the occasional crash, I don't know, since it
happens only occasionally. If I can make it thru six months without seeing
it, then I'll declare it fixed.

Thanks!

On Wed, Jan 6, 2021 at 1:23 PM Simon Matter  wrote:

> Have you been able to fix the issue?
>
> Regards,
> Simon
>
> > OK, here's where I stand now:
> > 1. I stopped and disabled autofs. (I have 2 SMB filesystems out on the
> LAN
> > that have also been automounting with autofs, do I need to do similar
> > changes in fstab for them?)
> > 2. yes it has.
> > 3. none I can see.
> > 4. nothing that leaps out at me. there are a couple about /mnt/backup not
> > existing but they appear to be old ones, aren't happening anymore.
> >
> > So, I've made a minor tweak to /etc/fstab, nothing that should matter.
> > rebooted, and when it comes up /mnt/backup is mounted. TWICE, according
> to
> > the output of mount:
> >
> >  $ mount | grep backup
> > systemd-1 on /mnt/backup type autofs
> >
> (rw,relatime,fd=25,pgrp=1,timeout=900,minproto=5,maxproto=5,direct,pipe_ino=9840)
> > /dev/sdc1 on /mnt/backup type ext4
> > (rw,relatime,seclabel,stripe=8191,data=ordered)
> >
> > is this really a double mount, or is this what I'm supposed to be seeing?
> >
> > doesn't seem to timeout and auto umount.
> >
> > Thanks again for your assistance!
> >
> > Fred
> >
> > On Mon, Jan 4, 2021 at 7:48 AM Strahil Nikolov via CentOS
> > 
> > wrote:
> >
> >> Verify that:
> >> 1. Autofs is not running
> >> 2. Systemd has created '.mount' and '.automount' units
> >> systemctl status mnt-backup.mount mnt-backup.automount
> >> systemctl cat mnt-backup.mount mnt-backup.automount
> >>
> >> 3. Verify that there are no errors in local-fs.target
> >> systemctl status local-fs.target
> >>
> >> 4. Check for errors via:
> >> mount -a
> >> journalctl -e
> >>
> >> Best Regards
> >> Strahil Nikolov
> >>
> >>
> >>
> >>
> >>
> >> В понеделник, 4 януари 2021 г., 01:29:25 Гринуич+2, Fred <
> >> fred.fre...@gmail.com> написа:
> >>
> >>
> >>
> >>
> >>
> >> OK, I think I've got it set up as described here, while fixing the
> >> misplaced fields in /etc/fstab:
> >>
> >> UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backupext4
> >> x-systemd.automount,x-systemd.idle-timeout=15min,noauto 0  2
> >>
> >> now when I do, e.g., "ls /mnt/backup"
> >>
> >> I get:
> >>
> >> $ sudo !!
> >> sudo ls /mnt/backup
> >> ls: cannot open directory /mnt/backup: No such file or directory
> >>
> >> if I do:
> >>
> >> ls /mnt
> >>
> >> I see:
> >>
> >> backup
> >>
> >> use su to become root, then:
> >> ls -l /mnt shows:
> >>
> >> # ls -al
> >> total 4
> >> drwxr-xr-x.  3 root root0 Jan  2 13:24 .
> >> dr-xr-xr-x. 21 root root 4096 Jan  2 09:22 ..
> >> dr-xr-xr-x.  2 root root0 Jan  2 13:24 backup
> >>
> >> ls backup shows:
> >>
> >> # ls -al backup
> >> ls: cannot open directory backup: No such file or directory
> >>
> >> why? it clearly appears to exist 
> >>
> >> the FS isn't mounted, but /mnt/backup exists, so it should be visible as
> >> an
> >> entry directory. also, I can mount it manually:
> >>
> >> mount UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backup
> >>
> >> and then access it. but it doesn't automount with, e.g. "ls /mnt/backup"
> >> or
> >> "ls /mnt/backup/backups".
> >>
> >> I must still be doing something wrong but maybe I'm too stupid to see
> >> it.
> >> (Please don't agree with me publicly...! :=) )
> >>
> >> Fred
> >>
> >> On Sun, Jan 3, 2021 at 4:36 PM Pete Biggs  wrote:
> >>
> >> > >
> >> > > I commented out those entries in /etc/auto.master before modifying
> >> the
> >> > > fstab entry:
> >> > >
> >> > > UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backup
> >> > > ext4,x-systemd.automount,x-systemd.idle-timeout=15min  noauto  0
> >>  2
> >> >
> >> > That's not correct.  See 'man fstab'. It shou

Re: [CentOS] rare but repeating system crash in C7

2021-01-04 Thread Fred
OK, here's where I stand now:
1. I stopped and disabled autofs. (I have 2 SMB filesystems out on the LAN
that have also been automounting with autofs, do I need to do similar
changes in fstab for them?)
2. yes it has.
3. none I can see.
4. nothing that leaps out at me. there are a couple about /mnt/backup not
existing but they appear to be old ones, aren't happening anymore.

So, I've made a minor tweak to /etc/fstab, nothing that should matter.
rebooted, and when it comes up /mnt/backup is mounted. TWICE, according to
the output of mount:

 $ mount | grep backup
systemd-1 on /mnt/backup type autofs
(rw,relatime,fd=25,pgrp=1,timeout=900,minproto=5,maxproto=5,direct,pipe_ino=9840)
/dev/sdc1 on /mnt/backup type ext4
(rw,relatime,seclabel,stripe=8191,data=ordered)

is this really a double mount, or is this what I'm supposed to be seeing?

doesn't seem to timeout and auto umount.

Thanks again for your assistance!

Fred

On Mon, Jan 4, 2021 at 7:48 AM Strahil Nikolov via CentOS 
wrote:

> Verify that:
> 1. Autofs is not running
> 2. Systemd has created '.mount' and '.automount' units
> systemctl status mnt-backup.mount mnt-backup.automount
> systemctl cat mnt-backup.mount mnt-backup.automount
>
> 3. Verify that there are no errors in local-fs.target
> systemctl status local-fs.target
>
> 4. Check for errors via:
> mount -a
> journalctl -e
>
> Best Regards
> Strahil Nikolov
>
>
>
>
>
> В понеделник, 4 януари 2021 г., 01:29:25 Гринуич+2, Fred <
> fred.fre...@gmail.com> написа:
>
>
>
>
>
> OK, I think I've got it set up as described here, while fixing the
> misplaced fields in /etc/fstab:
>
> UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backupext4
> x-systemd.automount,x-systemd.idle-timeout=15min,noauto 0  2
>
> now when I do, e.g., "ls /mnt/backup"
>
> I get:
>
> $ sudo !!
> sudo ls /mnt/backup
> ls: cannot open directory /mnt/backup: No such file or directory
>
> if I do:
>
> ls /mnt
>
> I see:
>
> backup
>
> use su to become root, then:
> ls -l /mnt shows:
>
> # ls -al
> total 4
> drwxr-xr-x.  3 root root0 Jan  2 13:24 .
> dr-xr-xr-x. 21 root root 4096 Jan  2 09:22 ..
> dr-xr-xr-x.  2 root root0 Jan  2 13:24 backup
>
> ls backup shows:
>
> # ls -al backup
> ls: cannot open directory backup: No such file or directory
>
> why? it clearly appears to exist 
>
> the FS isn't mounted, but /mnt/backup exists, so it should be visible as an
> entry directory. also, I can mount it manually:
>
> mount UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backup
>
> and then access it. but it doesn't automount with, e.g. "ls /mnt/backup" or
> "ls /mnt/backup/backups".
>
> I must still be doing something wrong but maybe I'm too stupid to see it.
> (Please don't agree with me publicly...! :=) )
>
> Fred
>
> On Sun, Jan 3, 2021 at 4:36 PM Pete Biggs  wrote:
>
> > >
> > > I commented out those entries in /etc/auto.master before modifying the
> > > fstab entry:
> > >
> > > UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backup
> > > ext4,x-systemd.automount,x-systemd.idle-timeout=15min  noauto  0  2
> >
> > That's not correct.  See 'man fstab'. It should be
> >
> >device  mount-point  filesystem-type  options  dump  fsck
> >
> > So you should have:
> >
> > UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backup  ext4
> >  x-systemd.automount,x-systemd.idle-timeout=15min,noauto 0 2
> >
> >
> > >
> > > which is exactly as it was before except for the x-systemd entries as
> you
> > > described.
> >
> > Yeah, you put them in the wrong place.
> >
> >
> > P.
> >
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
>
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rare but repeating system crash in C7

2021-01-03 Thread Fred
OK, I think I've got it set up as described here, while fixing the
misplaced fields in /etc/fstab:

UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf   /mnt/backup ext4
 x-systemd.automount,x-systemd.idle-timeout=15min,noauto 0   2

now when I do, e.g., "ls /mnt/backup"

I get:

$ sudo !!
sudo ls /mnt/backup
ls: cannot open directory /mnt/backup: No such file or directory

if I do:

ls /mnt

I see:

backup

use su to become root, then:
ls -l /mnt shows:

# ls -al
total 4
drwxr-xr-x.  3 root root0 Jan  2 13:24 .
dr-xr-xr-x. 21 root root 4096 Jan  2 09:22 ..
dr-xr-xr-x.  2 root root0 Jan  2 13:24 backup

ls backup shows:

# ls -al backup
ls: cannot open directory backup: No such file or directory

why? it clearly appears to exist 

the FS isn't mounted, but /mnt/backup exists, so it should be visible as an
entry directory. also, I can mount it manually:

mount UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf   /mnt/backup

and then access it. but it doesn't automount with, e.g. "ls /mnt/backup" or
"ls /mnt/backup/backups".

I must still be doing something wrong but maybe I'm too stupid to see it.
(Please don't agree with me publicly...! :=) )

Fred

On Sun, Jan 3, 2021 at 4:36 PM Pete Biggs  wrote:

> >
> > I commented out those entries in /etc/auto.master before modifying the
> > fstab entry:
> >
> > UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf   /mnt/backup
> > ext4,x-systemd.automount,x-systemd.idle-timeout=15min   noauto  0   2
>
> That's not correct.  See 'man fstab'. It should be
>
> device  mount-point  filesystem-type  options   dump   fsck
>
> So you should have:
>
> UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf  /mnt/backup  ext4
>  x-systemd.automount,x-systemd.idle-timeout=15min,noauto 0 2
>
>
> >
> > which is exactly as it was before except for the x-systemd entries as you
> > described.
>
> Yeah, you put them in the wrong place.
>
>
> P.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rare but repeating system crash in C7

2021-01-03 Thread Fred
$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

$ sudo systemctl status mnt-backup.mount mnt-backup.automount
[sudo] password for fredex:
● mnt-backup.mount - /mnt/backup
   Loaded: loaded (/etc/fstab; bad; vendor preset: disabled)
   Active: active (mounted) since Sat 2021-01-02 22:20:05 EST; 14h ago
Where: /mnt/backup
 What: /dev/sdc1
 Docs: man:fstab(5)
   man:systemd-fstab-generator(8)
Tasks: 0

● mnt-backup.automount
   Loaded: loaded
   Active: inactive (dead)
Where: /mnt/backup
[fredex@fcshome Desktop]$ systemctl cat mnt-backup.mount
mnt-backup.automount
No files found for mnt-backup.automount.
# /run/systemd/generator/mnt-backup.mount
# Automatically generated by systemd-fstab-generator

[Unit]
SourcePath=/etc/fstab
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
RequiresOverridable=systemd-fsck@dev-disk-by
\x2duuid-259ec5ea\x2de8a4\x2d465a\x2
After=systemd-fsck@dev-disk-by
\x2duuid-259ec5ea\x2de8a4\x2d465a\x2d9263\x2d1c062

[Mount]
What=/dev/disk/by-uuid/259ec5ea-e8a4-465a-9263-1c06217b9aaf
Where=/mnt/backup
Type=ext4
Options=noauto

the fstab statement I put in my last posting was a copy/paste from
/etc/fstab, so it should be correct as shown. I don't see a comma before
noauto.



On Sun, Jan 3, 2021 at 11:42 AM Strahil Nikolov 
wrote:

> Are you still on 7.6 ? I recently discovered that a bug in sysstat was
> fixed in 7.7 that prevented autofs from umounting the filesystem.
>
> The following should show if it's taking into action:
> systemctl status mnt-backup.mount mnt-backup.automount
> systemctl cat mnt-backup.mount mnt-backup.automount
>
>
> Are you sure that you got no "," before that "noauto" ?
>
> Best Regards,
> Strahil Nikolov
>
>
>
>
>
>
> В неделя, 3 януари 2021 г., 16:25:47 Гринуич+2, Fred <
> fred.fre...@gmail.com> написа:
>
>
>
>
>
> Strahil:
>
> I WAS using that, but the automatic umount never worked, leaving it
> mounted all the time.
>
> I commented out those entries in /etc/auto.master before modifying the
> fstab entry:
>
> UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf   /mnt/backup
> ext4,x-systemd.automount,x-systemd.idle-timeout=15min   noauto  0   2
>
> which is exactly as it was before except for the x-systemd entries as you
> described.
>
> and the peculiar thing is it STILL does not automount. and yes, I did do
> systemctl restart local-fs.target.
>
> do I need to reboot (or something simpler, maybe) to fully disable the
> auto.master stuff?
>
> Thanks again!
>
> Fred
>
> On Sun, Jan 3, 2021 at 5:54 AM Strahil Nikolov via CentOS <
> centos@centos.org> wrote:
> > Hi Fred,
> >
> > do you use automatic umount for the map in /etc/auto.master (--timeout) ?
> >
> > If yes, then the systemd mount options probably won't help.
> >
> > Best Regards,
> > Strahil Nikolov
> >
> >
> >
> >
> >
> >
> >
> >
> > В неделя, 3 януари 2021 г., 04:27:17 Гринуич+2, Fred <
> fred.fre...@gmail.com> написа:
> >
> >
> >
> >
> >
> > Yeah, and the instructions for setting RAID-1 or RAID-0 have the switch
> > positions exactly reversed.
> >
> > Strahil: I'm using autofs to automount the unit. but just turned that off
> > and enabled the xsystemd.automount in fstab, we'll see how that works.
> >
> > Fred
> >
> >
> > On Sat, Jan 2, 2021 at 4:11 PM Warren Young  wrote:
> >
> >> On Jan 2, 2021, at 11:17 AM, Fred  wrote:
> >> >
> >> > I assume that the yottamaster device runs Linux, just like 99% of
> other
> >> > such devices.
> >>
> >> 99% of NAS boxes, maybe, but not dumb RAID boxes like the one I believe
> >> you’re referring to.
> >>
> >> (And I doubt even that, with the likes of FreeNAS extending down from
> the
> >> enterprise space where consumer volume can affect that sort of thing.)
> >>
> >> I have more than speculation to back that guess: the available firmware
> >> images are far too small to contain a Linux OS image, their manuals
> don’t
> >> talk about Linux or GPL that I can see, and there’s no place to download
> >> their Linux source code per the GPL.
> >>
> >> While doing this exploration, I’ve run into multiple problems with their
> >> web site, which strengthens my suspicion that this box is your
> culprit.  If
> >> they’re this slipshod with their marketing material, what does that say
> >> about their engineering department?
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> https://lists.centos.org/mailman/listinfo/centos
> >
> >>
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rare but repeating system crash in C7

2021-01-03 Thread Fred
Strahil:

I WAS using that, but the automatic umount never worked, leaving it mounted
all the time.

I commented out those entries in /etc/auto.master before modifying the
fstab entry:

UUID=259ec5ea-e8a4-465a-9263-1c06217b9aaf   /mnt/backup
ext4,x-systemd.automount,x-systemd.idle-timeout=15min   noauto  0   2

which is exactly as it was before except for the x-systemd entries as you
described.

and the peculiar thing is it STILL does not automount. and yes, I did do
systemctl restart local-fs.target.

do I need to reboot (or something simpler, maybe) to fully disable the
auto.master stuff?

Thanks again!

Fred

On Sun, Jan 3, 2021 at 5:54 AM Strahil Nikolov via CentOS 
wrote:

> Hi Fred,
>
> do you use automatic umount for the map in /etc/auto.master (--timeout) ?
>
> If yes, then the systemd mount options probably won't help.
>
> Best Regards,
> Strahil Nikolov
>
>
>
>
>
>
>
>
> В неделя, 3 януари 2021 г., 04:27:17 Гринуич+2, Fred <
> fred.fre...@gmail.com> написа:
>
>
>
>
>
> Yeah, and the instructions for setting RAID-1 or RAID-0 have the switch
> positions exactly reversed.
>
> Strahil: I'm using autofs to automount the unit. but just turned that off
> and enabled the xsystemd.automount in fstab, we'll see how that works.
>
> Fred
>
>
> On Sat, Jan 2, 2021 at 4:11 PM Warren Young  wrote:
>
> > On Jan 2, 2021, at 11:17 AM, Fred  wrote:
> > >
> > > I assume that the yottamaster device runs Linux, just like 99% of other
> > > such devices.
> >
> > 99% of NAS boxes, maybe, but not dumb RAID boxes like the one I believe
> > you’re referring to.
> >
> > (And I doubt even that, with the likes of FreeNAS extending down from the
> > enterprise space where consumer volume can affect that sort of thing.)
> >
> > I have more than speculation to back that guess: the available firmware
> > images are far too small to contain a Linux OS image, their manuals don’t
> > talk about Linux or GPL that I can see, and there’s no place to download
> > their Linux source code per the GPL.
> >
> > While doing this exploration, I’ve run into multiple problems with their
> > web site, which strengthens my suspicion that this box is your culprit.
> If
> > they’re this slipshod with their marketing material, what does that say
> > about their engineering department?
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
>
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rare but repeating system crash in C7

2021-01-02 Thread Fred
Yeah, and the instructions for setting RAID-1 or RAID-0 have the switch
positions exactly reversed.

Strahil: I'm using autofs to automount the unit. but just turned that off
and enabled the xsystemd.automount in fstab, we'll see how that works.

Fred


On Sat, Jan 2, 2021 at 4:11 PM Warren Young  wrote:

> On Jan 2, 2021, at 11:17 AM, Fred  wrote:
> >
> > I assume that the yottamaster device runs Linux, just like 99% of other
> > such devices.
>
> 99% of NAS boxes, maybe, but not dumb RAID boxes like the one I believe
> you’re referring to.
>
> (And I doubt even that, with the likes of FreeNAS extending down from the
> enterprise space where consumer volume can affect that sort of thing.)
>
> I have more than speculation to back that guess: the available firmware
> images are far too small to contain a Linux OS image, their manuals don’t
> talk about Linux or GPL that I can see, and there’s no place to download
> their Linux source code per the GPL.
>
> While doing this exploration, I’ve run into multiple problems with their
> web site, which strengthens my suspicion that this box is your culprit.  If
> they’re this slipshod with their marketing material, what does that say
> about their engineering department?
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rare but repeating system crash in C7

2021-01-02 Thread Fred
Warren, thanks for the additional info.

I assume that the yottamaster device runs Linux, just like 99% of other
such devices. as to whether it uses linux software raid or some cheap
(megaraid???) chipset, I don't know, nor know how to tell. but I'll check
that URL you sent and see what happens.

Thanks again!

Fred

On Sat, Jan 2, 2021 at 12:28 PM Warren Young  wrote:

> On Jan 2, 2021, at 9:55 AM, Fred  wrote:
> >
> > Plantronics USB headset/microphone?
> > Yottamaster RAID-1 storage (USB3)?
> > Behringer USB audio interface?
> > Logitech wireless mouse?
> > Leopold USB keyboard?
>
> HID devices won’t go to sleep when the computer does, else they couldn’t
> wake it back up.  (Keyboard & mouse, mainly.)
>
> The two audio interfaces may or may not sleep.  Try checking their
> indicator LEDs when the computer goes to sleep: I’d expect them to visibly
> show that they’ve gone to sleep if they do.  If they do, then on wake, they
> *could* do this sort of thing.
>
> I’d go after the RAID enclosure first, particularly if it’s hardware RAID,
> since that means it’s “clever,” thus suspect.  Check that you’ve got the
> current firmware:
>
> https://www.yottamaster.com/?route=common/driver
>
> If it’s one of their JBOD models, requiring that you do some sort of
> software RAID, I’d expect a much different report in the kernel log if the
> corresponding software RAID component had a bug, which would mean it’s got
> some fundamental USB compatibility problem if that’s the device causing the
> problem. Again, check for firmware updates.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rare but repeating system crash in C7

2021-01-02 Thread Fred
Warren, thanks for the reply!

Plantronics USB headset/microphone?
Yottamaster RAID-1 storage (USB3)?
Behringer USB audio interface?
Logitech wireless mouse?
Leopold USB keyboard?

Does any one of them sound more likely than the others?

Of all those, the yottamaster device is the most recent. Unfortunately I
haven't kept notes on when it occurs, so it's possible it was occurring
before I got that device. :(
If it is that device (used primarily for nightly backups) might it help if
I unmount it after each use?

Thanks in advance!

Fred


On Sat, Jan 2, 2021 at 11:13 AM Warren Young  wrote:

> On Jan 2, 2021, at 7:44 AM, Fred  wrote:
> >
> > I'm further guessing that "xhci_hcd" has something to do with USB
>
> Yup:
> https://en.wikipedia.org/wiki/Extensible_Host_Controller_Interface#Virtualization_support
>
> > If so I don't know what it would be...
>
> My guess: you have USB-attached storage that’s waking up when you wiggle
> the mouse, and it’s crashing the bus, kicking the kernel driver over, so
> the system reboots to protect itself.
>
> If not storage, then something else sufficiently complicated, which wakes
> up when you wake the system.
>
> I’d exclude things like optical drives, unless they have disks in them at
> the time this happens.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] rare but repeating system crash in C7

2021-01-02 Thread Fred
: Initializing cgroup subsys cpu
Jan  2 09:20:11 fcshome kernel: Initializing cgroup subsys cpuacct
Jan  2 09:20:11 fcshome kernel: Linux version 3.10.0-1160.6.1.el7.x86_64

The last four events are the start of reboot and everything above is
leading up to the crash.

I note that there was a selinux event early in this list of events, but I
see those frequently and they normally don't cause a crash. if I scroll
upward from this list, I find more of the same above what is shown here.

The selinux event seems to be related to a SMB mount. since I have a
Synology box on the LAN, and it stays mounted nearly all the time, I
suspect the selinux event has something to do with that, but I have no idea
why it would cause a crash once every few months. Is that selinux event
something I need to fix?

I'm further guessing that "xhci_hcd" has something to do with USB, am I
right? If so I don't know what it would be...

Clues would be greatly appreciated!

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] units command, crazy output

2020-12-30 Thread Fred
whenever I use the units command from a script, e.g.:

elapsed=86500
echo elapsed time: `units "$elapsed sec" hms`
elapsed time: *Currency exchange rates from 2012-10-24* 24 hr + 1 min + 40
sec

the man page even says it outputs that when run without arguments.

My question is why in the world does it? certainly when run from within a
script doing conversions of time using the "hms" option, I don't want that
to be stuck in the middle of my output.

Anybody know why it does that, or how to make it quit? (I know, I use sed
to filter it out, but can't understand why I should have to.

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Moving to CentOS 8 Stream

2020-12-10 Thread Kienker, Fred
"It takes years to build a reputation and seconds to destroy it."

-- Business 101 class


Best regards, 
Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ntpdate past CentOS 7

2020-12-02 Thread Fred
and I'm doing much the same: a Raspberry Pi running Raspbian, acts as my
nameserver (instead of my ISP) and NTP server. all the systems in-house
sync time from it.

On Wed, Dec 2, 2020 at 3:22 PM Bill Gee  wrote:

> What IS in your chrony.conf file?
>
> "pool.ntp.org" is not a single server.  It is a collection of several
> dozen.  When you specify a pool of servers for chrony, it will pick 4
> mostly at random and use those.  The four servers it chooses will change
> over time.
>
> If you want to use exactly one specific server, then take the pool out of
> chrony.conf and add your specific server.  I do not see a way for chronyc
> to remove servers, so it is a matter of editing the file directly and then
> restarting chronyd.
>
> In my case, only my internal master server goes against a pool.  All other
> internal systems use the internal master as their only source.  Sometimes
> when I do "chronyc sources" on them, I see the server listed twice.  After
> investigation I found that one is for IPv4 and the other for IPv6.
>
> --
> Bill Gee
>
>
>
> On Wednesday, December 2, 2020 2:00:56 PM CST Jerry Geis wrote:
> > Thanks everyone for the comments. So trying to use the new "chronyc/d"
> >
> > So trying a couple things with chronyc
> >
> > chronyc sources
> > 210 Number of sources = 5
> > MS Name/IP address Stratum Poll Reach LastRx Last sample
> >
> ===
> > ^* time.cloudflare.com   3  10   377   220   -481us[ -503us] +/-
> > 17ms
> > ^- zeit.arpnetworks.com  2   9   377   452  -1083us[-1104us] +/-
> >  100ms
> > ^- lofn.fancube.com  2  10   377   851  -1833us[-1854us] +/-
> > 64ms
> > ^- ntp3.junkemailfilter.com  2   9   377   227   -937us[ -959us] +/-
> > 76ms
> > ^- b.st1.ntp.br  1   6   37756  -2300us[-2300us] +/-
> > 79ms
> >
> > NONE of the above are listed in /etc/chrony.conf
> >
> > Then I tried "chronyc add server pool.ntp.porg" and ran "chronyc sources"
> > again and my server was not added ?
> >
> > I am trying to use the command line chronyc - to "add" the server I want
> -
> > also wish there was an EASY way to clear the server list. Have not seen
> > that though.
> >
> > What I need is a way to add the server i want - list the server to make
> > sure my server is in the list - and remove servers I dont want (or all).
> >
> > Thanks,
> >
> > Jerry
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kindle app on CentOS 7?

2020-10-09 Thread Fred
Mark:

Older version(s), e.g. 1.17 of Kindle for PC worked fine on wine (on my
Ubuntu 18.04 VM), but some of the later versions didn't. I was using it for
DeDRM, and since I wasn't smart enough to figure out the correct
incantation to make later versions work, I chose a different approach. I
can tell you what that was if you care.

I used Ubuntu because I've never had any luck making things work in Wine on
Centos, possibly because RH/Centos only ship 64-bit wine and Calibre and
Kindle for PC are 32-bit. There's a (somewhat outdated) HOWTO on Apprentice
Alf's blog about doing the kindle on Ubuntu setup that I followed, and it
was close enough to let me get it working. I don't have a clue about
whether 20.04 is still close enough, or not.

Good Luck!

Fred

On Fri, Oct 9, 2020 at 11:37 AM mark  wrote:

> Anyone got a link to someone's how to install the kindle app for PC on
> CentOS 7?
>
> mark "don't get me started on Nook and ACE"
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] strange email from cron regarding "rear"

2020-10-07 Thread Fred
I don't understand what this means, I found it in root's email this morning:

To log into the recovery system via ssh set up /root/.ssh/authorized_keys
or specify SSH_ROOT_PASSWORD
WARNING: /usr/lib/grub/x86_64-efi/moddep.lst not found, grub2-mkimage will
likely fail. Please install the grub2-efi-x64-modules package to fix this.
ERROR: Error occurred during grub2-mkimage of BOOTX64.efi
Aborting due to an error, check /var/log/rear/rear-fcshome.log for details
/bin/sh: line 1: 30339 Terminated  /usr/sbin/rear mkrescue

It is possible it has happened before, as until recently I haven't paid a
lot of attention to root's email (I know, I know,... bad me).

but I wonder what it's all about... I have not knowingly ever used "rear"
or "mkrescue".

BTW, this is on an up to date Centos-7 X86-64 machine.

Thanks in advance!

Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS 7 to attempt recovery of failed disk

2020-09-26 Thread Fred
Well, I'm not a noted expert on ddrescue, but my limited experience tells
me that when it hits bad spots (or a big cluster of them) it can go very
slowly as it tries multiple times to read each sector (or track, I'm not
sure which, in this case). It keeps a list of bad spots and goes back at
the end to try again to read something from them. Of course, if you've had,
eg. a head crash, there's probably nothing there to read.

On Sat, Sep 26, 2020 at 1:41 PM Jerry Geis  wrote:

> Hello
>
> I did try the "dd conv=noerror …"
> The ddrescue - doesnt stop - it just doesnt "continue" past a certain
> point. Somewhere around the 117G mark - it just doesnt go past that .
> (same with dd, gets to 117G and just doesnt continue.
> I have let the dd run all night - did not go past the 117G.
>
> Thanks for any suggestions.
>
> Jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using CentOS 7 to attempt recovery of failed disk

2020-09-26 Thread Fred
Also, does ddrescue "stop" (as in quit) or is it just stuck there spending
a lot of time trying to read one or more bad spots? it is intended to keep
trying until it gets something, or gives up and skips to the next
track/sector/whatever. If you let it go for a long time (overnight???) does
it proceed ?

On Sat, Sep 26, 2020 at 9:15 AM Valeri Galtsev 
wrote:

>
>
> > On Sep 26, 2020, at 8:05 AM, Jerry Geis  wrote:
> >
> > I have a disk that is flagging errors, attempting to rescue the data.
> >
> > I tried dd first - if gets about 117G of 320G disk and stops incrementing
> > the save image any more.
>
> did you try
>
> dd conv=noerror …
>
> this flag makes dd not stop on input error. Whatever is irrecoverable is
> irrecoverable, but this way you will get stuff beyond failure point.
>
> Valeri
>
> >
> > Now I'm trying ddrescue and it also stops about the same point
> >
> > Thoughts on how to continue past that point ?
> > Thanks,
> >
> > Jerry
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] changing subscribed email address?

2020-09-02 Thread Fred Smith
On Wed, Sep 02, 2020 at 03:42:25PM -0400, Stephen John Smoogen wrote:
> On Wed, 2 Sep 2020 at 15:30, Fred Smith 
> wrote:
> 
> > On Wed, Sep 02, 2020 at 12:25:44PM -0700, John Pierce wrote:
> > > On Wed, Sep 2, 2020, 12:21 PM Jake Shipton 
> > > wrote:
> > >
> > > >
> > > >
> > > > Attached to the footer of every message on the list features the
> > > > following link:
> > > >
> > > > https://lists.centos.org/mailman/listinfo/centos
> > > >
> > > > You can use this to manage your subscription (Scroll down the page).
> > > >
> > >
> > >
> > > there's no option on that page to change the address which the original
> > > poster was asking about. As far as I know the only method is to
> > unsubscribe
> > > the old address and subscribe the new address.
> >
> > What John said...
> >
> > I'm aware of the footer on all the list mails, I followed the link and
> > as John says, there is no method listed for changing the email address.
> > I can certainly un/re-subscribe, just didn't especially want to if there
> > was an official way.
> >
> 
> Mailman2 was written in the 1990's at a time where email lists were a bit
> more obscure. It can be done but it takes a couple of sidesteps outlined in
> the following web pages.
> 
> https://www.gnu.org/software/mailman/mailman-member/node22.html
> https://www.gnu.org/software/mailman/mailman-member/node9.html#sec:web

OK, I think I got it. it is a tad obscure, though.

Now to wait for the next  mail to come thru...

Thanks Stephen!

> 
> 
> >
> 
> -- 
> Stephen J Smoogen.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   Show me your ways, O LORD, teach me your paths;
 Guide me in your truth and teach me,
 for you are God my Savior,
And my hope is in you all day long.
-- Psalm 25:4-5 (NIV) 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] changing subscribed email address?

2020-09-02 Thread Fred Smith
On Wed, Sep 02, 2020 at 12:25:44PM -0700, John Pierce wrote:
> On Wed, Sep 2, 2020, 12:21 PM Jake Shipton 
> wrote:
> 
> >
> >
> > Attached to the footer of every message on the list features the
> > following link:
> >
> > https://lists.centos.org/mailman/listinfo/centos
> >
> > You can use this to manage your subscription (Scroll down the page).
> >
> 
> 
> there's no option on that page to change the address which the original
> poster was asking about. As far as I know the only method is to unsubscribe
> the old address and subscribe the new address.

What John said...

I'm aware of the footer on all the list mails, I followed the link and
as John says, there is no method listed for changing the email address.
I can certainly un/re-subscribe, just didn't especially want to if there
was an official way.

Fred
-- 
---
Under no circumstances will I ever purchase anything offered to me as
the result of an unsolicited e-mail message. Nor will I forward chain
letters, petitions, mass mailings, or virus warnings to large numbers
of others. This is my contribution to the survival of the online
community.
 --Roger Ebert, December, 1996
- The Boulder Pledge -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] changing subscribed email address?

2020-09-02 Thread Fred Smith
hi!

I'm going to move soonand will lose this email address, so I'm going around
all my various sbuscriptions changing the subscribed email address.

But I don't see how to do that for the CentOS lists, other than perhaps
to unsubscribe then re-subscribe.

Can anyone out enlighten me?

Thanks in advance!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] DVR recorder how to resucue files

2020-08-26 Thread Fred Smith
On Wed, Aug 26, 2020 at 10:04:26AM -0400, Yves Bellefeuille wrote:
> ralf.pren...@comline.de wrote:
> 
> >  Trying to mount this file simple with mount -o loop save.dd
> >  /mnt/backup fails.
> >  I found out that VDR are using non-standard disk-configurations and
> >  filesystems.
> 
> If this were a normal DVD, you'd have to specify the file system:
> 
> mount -t iso9660 -o loop save.dd /mnt/backup
> 
> But you say the DVD uses a non-standard file system, so this may not
> work.
> 
> > Tools like parted don t show partions in the  bckup-file
> 
> DVDs don't have partitions, and I don't think parted would work on an
> image anyway.

the OP said "DVR, not "DVD".

I'd try fdisk to see if there are partitions, first, then if you find anything
that looks likely, try mounting that.

Also, try the "disks" utility, which also may be able to tell you something 
about the disk.

Good luck!

Fred

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fixing grub/shim issue Centos 7

2020-08-06 Thread Fred Smith
On Thu, Aug 06, 2020 at 03:57:56PM +0200, Nicolas Kovacs wrote:
> Le 04/08/2020 à 08:31, lpeci a écrit :
> > I had the same problem with my UEFI bios machine and I fixed it so for 
> > Centos 7:

While this worked for me, it might not work for you...

My "solution" was to boot the previous kernel, which came up just fine,
yum remove kernel.xx.yy.zz
yum install kernel.xx.yy.zz

which rebuilds the initrd, and voila!

Fred
> > 
> > 1) Boot from an rescue linux usb
> > 
> > 2) When the rescue system is running:
> > 
> >     2.1) #chroot /mnt/sysimage
> > 
> > 3) Config network:
> > 
> >     3.1) # ip addr add X.X.X.X/X dev X
> > 
> >     3.2) # ip route add default via X.X.X.X    <--- default router
> > 
> > 4) And finally:
> > 
> >     #yum downgrade shim\* grub2\* mokutil
> > 
> >     #exit
> > 
> >     #reboot
> > 
> > I hope you can fix it with these steps.
> 
> Thanks for the detailed suggestion.
> 
> Unfortunately I couldn't recover the installation, and I had to redo 
> everything
> from scratch, which cost me the first two days of my holidays.
> 
> One thought regularly kept crossing my mind:
> 
> "How on earth could this have passed Q & A ?"
> 
> :o)
> 
> Cheers,
> 
> Niki
> 
> -- 
> Microlinux - Solutions informatiques durables
> 7, place de l'église - 30730 Montpezat
> Site : https://www.microlinux.fr
> Blog : https://blog.microlinux.fr
> Mail : i...@microlinux.fr
> Tél. : 04 66 63 10 32
> Mob. : 06 51 80 12 12
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] GUI boot failure after latest shim (etc) updates

2020-08-02 Thread Fred Smith


This isn't the problem everyone else has been talking about, but...

I made sure that yum update offered the packages Johnny said it should
then updated. when I rebooted everything looked normal except it was
taking a long time to bring up the login screen.

Flipped over to ALT-F2 and saw a message about waiting for Plymouth
boot screen to quit. I waited a while and it went up to (and past)
15 minutes. It said "no limit" so it apparently would have gone on
forever.

I couldn't get to a text-mode screen with ALT-f[2-6] so I went down
to my Linux laptop to see if I could ssh into this box. Lo and behold,
ssh worked fine. So I ran top and saw a plymouth (or plymouthd, I
forget which) at the top of the list. killed it, came back upstairs
and it was no longer spewing that message.

now ALT-f2 gave me a text login, that I'm using now.

I ran startx and after a long-seeming wait I get a desktop, but it
is NOT my normal Mate desktop. Might be Gnome (since I installed
a Centos Gnome system and retrofitted Mate from EPEL).

Johnny had said we needed to make sure the kernel was installed
along with the shim, et al. I looked at the list of files YUM
wanted to install and saw some kernel files, so I assumed all
was well. But maybe I missed something.

What info can I provide to help figure this out? Or, what Kernel
files should I force to be (re)installed? 

Also, I don't very often manually force a kernel install, but I know
that some of the files are updates and some are installs, I'd appreciate
a reminder of which is which so I can force it.

Thanks in advance!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Brother HL-L2360DW printing quality

2020-07-22 Thread Fred Smith
On Wed, Jul 22, 2020 at 07:05:52PM -0400, H wrote:
> On 09/20/2019 08:27 PM, H wrote:
> > On 09/20/2019 09:02 AM, Stephen John Smoogen wrote:
> >> On Thu, 19 Sep 2019 at 20:23, H  wrote:
> >>> I have the above printer but have not been able to resolve issues with 
> >>> the printing quality in CentOS 7. The test page prints fine but when I 
> >>> print PDF-documents, most recently using Chinese fonts, it is lacking and 
> >>> the pages very hard to read. The settings in the Mate Cups configuration 
> >>> panel are fine and set to 600 dpi, the settings in the printer menu are 
> >>> all OK yet it prints more like maybe 150 or even 75 dpi.
> >>>
> >> Warning: this advise is old and possibly out of date for how printer
> >> administration should be done these days.
> >>
> >> Usually when I run into this sort of issue it usually has to be fixed
> >> with an updated ppd driver from the vendor for that printer... usually
> >> the one they give to Apple and possibly one that was aimed for the
> >> country/area the language is not working on. I would then have to
> >> double set the printer with one for Western fonts and one for
> >> non-Western using 2 different ppds because things looked wrong one way
> >> or another. In looking at the ppd's it looked like they had the
> >> equivalent to microcode they sent the printer to update to do things
> >> 'better'. I can say the quality of printing was vastly different.
> >>
> >> The other item was just that some fonts look great on screen and dont'
> >> print well.. but I am guessing htis is one printer which is acting
> >> badly and others are doing well?
> >>
> >>
> >>> Any suggestion what might be wrong?
> >>>
> >>> ___
> >>> CentOS mailing list
> >>> CentOS@centos.org
> >>> https://lists.centos.org/mailman/listinfo/centos
> >>
> > See my reply to Fred. Just checked the printer drivers for Linux on the 
> > Brother website 
> > (https://support.brother.com/g/b/downloadlist.aspx?c=us=en=hll2360dw_us=127)
> >  and it looks the drivers for Linux are from 2014 and 2015...
> >
> > The printer driver for Mac OS 10.14 is more recent from 2018 
> > (https://support.brother.com/g/b/downloadlist.aspx?c=us=en=hll2360dw_us=10052)
> >  and that page also lists a firmware update tool with firmware from July of 
> > this year. The update history for the firmware refers only to 
> > "improvements" and "software bugs", not very helpful.
> >
> > Clearly I need to see if I can update the firmware. The most current 
> > firmware on the page above is 1.29 whereas my printer has 1.25. Annoyingly 
> > the firmware update instructions on this page refers to how to do the 
> > update on a Mac...
> >
> Closing out my problem above. I installed the driver on a new computer 
> running CentOS 7 and had no problems printing. There must have been a 
> misconfiguration of the driver on the old computer, or, less likely, the 
> Brother driver had been updated on the Brother website.
> 
> I am now a happy camper.

I've also noticed that the Brother drivers for Linux are quite old, I sent a 
support question
about it and they denied there being a problem with some sort of market-speak. 
Nevertheless, they have always worked for  me.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
 God made him who had no sin
  to be sin for us, so that in him
 we might become the righteousness of God."
--- Corinthians 5:21 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB-serial adapter for CentOS 7

2020-07-08 Thread Fred Smith
On Wed, Jul 08, 2020 at 01:40:27PM -0500, Chris Adams wrote:
> Once upon a time, John Pierce  said:
> > yes, but is it 'basic serial UPS' or is it 'enhanced serial UPS' ?the
> > former do NOT use the rx/tx data of the serial port at all, they ONLY use
> > the serial port control  signals, and they probably will NOT work with a
> > USB port because they require very specific behavior from those signals at
> > power up and reboot times.
> 
> I've used various serial devices, including UPSes, via various
> USB-to-serial adapters (Prolific PL2303 and FTDI FT2232C), and all the
> signaling works fine.  Only issue you sometimes have is that there are
> many cheap adapters on Amazon that claim to be Prolific or FTDI but are
> in fact counterfeit clones - those may or may not work reliably for ANY
> purpose.
> 

Another possibility for the Original Poster:
Purchase a serial add-in card from Amazon or Newegg.
last I noticed they weren't expensive. This avoids
the compatibility-hell you may (or may not) encounter
with a USB-to-serial converter.

Fred

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP vs. Brother Printers: Use with Centos/Fedora

2020-06-27 Thread Fred Smith
On Sat, Jun 27, 2020 at 03:44:00PM -0600, Frank Cox wrote:
> On Sat, 27 Jun 2020 17:33:39 -0400
> Jay Hart wrote:
> 
> > If you had to rate which printer brand works better with Linux (Fedora and
> > Centos), what would it be?
> 
> Any Brother printer that I've ever had the misfortune to have to deal with 
> either didn't work at all or if could be made to work, it didn't work for 
> long.
> 
> If it's a Brother, run away as fast as you can.  They're the cheapest 
> crappiest thing you can possibly imagine.
> 
> My wife makes quilts and says the same thing about Brother sewing machines.

Sewing machines, I know nothing, not Brother machines anyway.

We've had a few different Brother laser printers here (at home) and
they've been great.

The first one, a HL2070N, when first connected (via USB at that time)
caused a popup window (On Centos, probably 5.x) saying brother printer
found, do I want to configure it now? I did, and it just worked.

Newer ones may require Brother's drivers, but they exist and work.

My newer HL-L2360D also works with one of the default CUPS drivers
on C7, though I forget which one. Discovered this only after using
the Brother drivers for a year or two.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord is like a strong tower. 
 Those who do what is right can run to him for safety.
--- Proverbs 18:10 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] C7, mdadm generating selinux warnings

2020-06-27 Thread Fred Smith
Hi!

I'm getting these frequently. several times I've done the steps listed
there to suppress the messages, but I keep getting them.

Anyone got a good idea how to deal with this?

Thanks in advance!



SELinux is preventing mdadm from 'read, open' accesses on the file 
/var/log/rear/rear-fcshome.log.lockless.

*  Plugin restorecon (99.5 confidence) suggests   

If you want to fix the label. 
/var/log/rear/rear-fcshome.log.lockless default label should be var_log_t.
Then you can run restorecon. The access attempt may have been stopped due to 
insufficient permissions to access a parent directory in which case try to 
change the following command accordingly.
Do
# /sbin/restorecon -v /var/log/rear/rear-fcshome.log.lockless

*  Plugin catchall (1.49 confidence) suggests   **

If you believe that mdadm should be allowed read open access on the 
rear-fcshome.log.lockless file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'mdadm' --raw | audit2allow -M my-mdadm
# semodule -i my-mdadm.pp

Additional Information:
Source Contextsystem_u:system_r:mdadm_t:s0-s0:c0.c1023
Target Contextsystem_u:object_r:cron_log_t:s0

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Blog article about the state of CentOS

2020-06-17 Thread Fred Smith
On Wed, Jun 17, 2020 at 12:09:07PM -0400, Lamar Owen wrote:
> On 6/17/20 10:19 AM, Leon Fauster via CentOS wrote:
> >...
> >I wonder about the authors conclusion; the fact that RHEL is the choice
> >for critical applications (what ever critical is) is known since
> >the early days. This applies randomly to C5.11, C4.9 or C8.2.2004.
> >
> >So - cold soup get cooked again :-)
> 
> 
> Indeed.  The author's conclusion has been the case since White Box
> Enterprise Linux was a thing.  Anyone and everyone can get the
> sources from git.centos.org as soon as they are released and build
> the stuff themselves if they think it can be done faster; that's how
> WBEL got started, as a one-user project that just happened to be
> publicly released.  Building from source has never really been any
> easier; the lack of .src.rpms is not an impediment to just getting
> something built.  But the CentOS value-add is that those rebuilt
> sources have been tested for binary compatibility and are from a
> trusted source.  A one-person project like WBEL would have a much
> more difficult time today, with modularity especially. Build times
> for these packages is not zero.

And there was also Tao Linux, which I was using back in the day.
another one-person project, which that one person did a good job
with, but when time came to change jobs he had to let the project
go. He had the foresight and grace to work with Johnny Hughes to
define a way to transition to CentOS, which worked fine, so here
I am still in the CentOS camp.

And my thanks to that original developer (whose name I cannot
dredge out of my back-brain right now), to Johnny, and all the
other folks who make CentOS great!

Fred

-- 
---
Under no circumstances will I ever purchase anything offered to me as
the result of an unsolicited e-mail message. Nor will I forward chain
letters, petitions, mass mailings, or virus warnings to large numbers
of others. This is my contribution to the survival of the online
community.
 --Roger Ebert, December, 1996
- The Boulder Pledge -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Simple scan in CentOS 7

2020-06-15 Thread Fred Smith
On Mon, Jun 15, 2020 at 04:28:17PM -0400, H wrote:
> I just installed C7 on a new computer and despite Simple Scan being installed 
> as part of C7, I have not been able to get it to recognize my Canon scanner 
> connected to a USB port. I did have it running on another computer with C7 so 
> there should not be any inherent issues.
> 
> On a lark I installed gscan2pdf and sane-backends-drivers-scanners and 
> sane-find-scanner found it:
> 
> found USB scanner (vendor=0x04a9 [Canon], product=0x1908 [CanoScan]) at 
> libusb:001:010
> 
> I perused my notes for the old computer but did not see I installed any 
> additional software to get it going but I might be wrong.
> 
> What have I missed?
> 

On my C7 box, simple-scan requires libsane. try: ldd simple-scan |grep -i sane.

# ldd /usr/bin/simple-scan | grep -i sane
libsane.so.1 => /lib64/libsane.so.1 (0x7f3668291000)


ldd doesn't show any other sane dependencies, but I'd sorta think
that simple-scan would also need sane-backends as well. Here's all
the sane things I have installed, FYI:

# ldd /usr/bin/simple-scan | grep -i sane
libsane.so.1 => /lib64/libsane.so.1 (0x7f3668291000)
[root@fcshome log]# yum list installed | grep -i sane
libsane-hpaio.x86_64  3.15.9-5.el7   @base  
sane-backends.x86_64  1.0.24-12.el7  @base  
sane-backends-devel.i686  1.0.24-12.el7  @base  
sane-backends-devel.x86_641.0.24-12.el7  @base  
sane-backends-doc.noarch  1.0.24-12.el7  @base  
sane-backends-drivers-cameras.i6861.0.24-12.el7  @base  
sane-backends-drivers-cameras.x86_64  1.0.24-12.el7  @base  
sane-backends-drivers-scanners.i686   1.0.24-12.el7  @base  
sane-backends-drivers-scanners.x86_64 1.0.24-12.el7  @base  
sane-backends-libs.i686   1.0.24-12.el7  @base  
sane-backends-libs.x86_64 1.0.24-12.el7  @base  
sane-frontends.x86_64 1.0.14-19.el7  @base  
xsane.x86_64  0.999-9.el7@base  
xsane-common.x86_64   0.999-9.el7@base  
xsane-gimp.x86_64 0.999-9.el7@base

also FYI, I'm using a Canon LiDE 210, which works fine for me.

Good luck!

Fred

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart."  
 Hebrews 4:12 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] smb protocol version

2020-06-15 Thread Fred Smith
On Mon, Jun 15, 2020 at 11:23:54AM -0500, Christopher Wensink wrote:
> I have a handful of Linux Servers, running Centos 6.10, and 6.8 with the
> main host running openvz w/ Centos 6.10 as the main OS.  Two of the
> guests are running samba, sharing directories out to windows clients.
> 
> I'm in the process of migrating servers over to vmware, using Centos
> 7.8.  How can I determine what smb protocol version is being used in the
> shares for each server?  I don't see the protocol specified anywhere in
> smb.conf?
> 
> Chris

in my Centos-7 box, /etc/samba/smb.conf contains:

server min protocol = SMB3_11
client max protocol = SMB3_11
client min protocol = SMB3_11


Some non-current windows versions don't support that version, you
may need to try different values til you find one that works.
Whatever you do, you don't want to use version 1.

I'm forcing version 3.1.1 only because all the devices I have
that support SMB also support 3.1.1, so if someone comes along with,
e.g., an old laptop with XP, it won't be able to insecurely talk
to my lan/wan. (and that's a feature, not a bug! ;=) )

Also, you may wish to peruse this page:

https://docs.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] virt-manager guest and sound

2020-06-10 Thread Fred Smith
On Wed, Jun 10, 2020 at 03:19:00PM -0400, Lamar Owen wrote:
> On 6/10/20 10:57 AM, Jerry Geis wrote:
> >I am running C7 host and pulse audio. I have a Win 10 guest with ICH9
> >audio. It works - but I hear artifacts. Anything to do to help audio be
> >flawless under guest VM ?
> 
> 
> I've experienced this as well, and haven't really dug into it, since
> my main pro audio production tools (Harrison Mixbus and Mixbus32C)
> are Linux-native.  I do have Celemony Melodyne on Windows, but I
> haven't used it heavily enough in virtualization to notice.  I may
> take a look at it soon, if I need Melodyne badly enough in the near
> future, but since upgrading to CentOS 8 this week I have plenty of
> other things to keep me busy.

Just a personal note here, not at all difinitive:

I used to have a Windows 10 VM in Virtualbox (on Centos-7) and the
Windows sound sucked. Garbled, distorted, and lots of added noise. Does
that seem to be anything like the described "artifacts" ??

I'd guess it's some general issue with Win10 sound, and that MS
doesn't "love Linux" enough to actually make it workd in a VM.
They probably want you to run Linux in a VM on windows, not the
other way around.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Accounting package recommendations

2020-06-09 Thread Fred Smith
On Tue, Jun 09, 2020 at 09:36:49AM -0800, Fred Erickson wrote:
> On Tue, 9 Jun 2020 10:26:46 -0700
> "Hugh E Cruickshank"  wrote:
> 
> > From: Rudi Ahlers Sent: June 9, 2020 10:22
> > > 
> > > I am looking for an offline accounting package recommendation,
> > > please. I enjoyed using Xero accounting, but need something that's
> > > offline, and where the data remains my property. Having used
> > > Quickbooks on Windows in the past, I am looking for something
> > > similar.  
> > 
> > GnuCash has been working fine for me for several years.
> > 
> > HTH
> > 
> > Regards, Hugh
> > 
> +1 for GnuCash
> Fred

Yeah, GNUCash is a good accounting tool. my wife uses it for our personal
fnances, investment accounts, etc.

however, it is a double-entry accounting system (like professional
accounts  use, whether electronic or on paper), and may require
you to commit some effort to learn the ins and outs thereof.

Fred
(Not the same Fred as above)

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
 all ages, now and forevermore! Amen."
- Jude 1:24,25 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Accounting package recommendations

2020-06-09 Thread Fred Erickson
On Tue, 9 Jun 2020 10:26:46 -0700
"Hugh E Cruickshank"  wrote:

> From: Rudi Ahlers Sent: June 9, 2020 10:22
> > 
> > I am looking for an offline accounting package recommendation,
> > please. I enjoyed using Xero accounting, but need something that's
> > offline, and where the data remains my property. Having used
> > Quickbooks on Windows in the past, I am looking for something
> > similar.  
> 
> GnuCash has been working fine for me for several years.
> 
> HTH
> 
> Regards, Hugh
> 
+1 for GnuCash
Fred
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Logitech webcam for use with CentOS 7

2020-06-05 Thread Fred Smith
On Fri, Jun 05, 2020 at 10:09:55PM +0200, Nicolas Thierry-Mieg wrote:
> On 6/4/20 1:29 AM, H wrote:
> >I am thinking of buying a Logitech C920S Pro HD or C922 webcam for the 
> >necessary video conferencing.
> >
> >Is anyone using that with Zoom or perhaps with Jitsi? Do I need drivers? Any 
> >issues?
> >
> >Thank you.
> >
> 
> I have an HD Pro C920, works great under centos 7 out of the box.
> According to my coworkers image quality and microphone are both great.
> I use it with jitsi and other software, no problems.

And just to cover the lower-end of the spectrum, my Logitech C270
works fine with everything I've tried it with (cheese, skype, zoom, etc.)
On both C7 and Ubuntu 18.04.

Fred

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   Show me your ways, O LORD, teach me your paths;
 Guide me in your truth and teach me,
 for you are God my Savior,
And my hope is in you all day long.
-- Psalm 25:4-5 (NIV) 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] du hung, wild display in ps

2020-05-06 Thread Fred Smith
On Wed, May 06, 2020 at 06:24:10PM -0700, Gordon Messmer wrote:
> On 5/6/20 12:28 PM, Fred Smith wrote:
> >Was running du to examine the sizes of my backups and
> >found du hung,
> 
> 
> /mnt/backup is probably a network-mounted filesystem that is offline
> for one reason or another.
> 
> You could try "umount -f /mnt/backup" if you can't get the mount
> working by any other means.  If that doesn't work, then "umount -l
> /mnt/backup" and reboot.

Sorry, I forgot to mention it's USB-3 and has been working for a coupla
months.

A reboot solved it, powering the device off/on made no difference, as
did replugging the cable.

Afterwards, I recalled that I had run a much belated yum update 2 or
3 days ago and had failed/forgotten to reboot. Probably some necessary
item had gotten wedged somehow because of that. (seen it before, but
not with a USB device.)

Thanks for the reply, though.

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] du hung, wild display in ps

2020-05-06 Thread Fred Smith
Hi!

On Centos-7:

$ cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)


Was running du to examine the sizes of my backups and
found du hung, running "ps -eLf /mnt/backup/backups" shows this:

# ps -eLf | grep du
root  1185 1  1185  01 May01 ?00:00:00 
/usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- 
/usr/bin/abrt-dump-xorg -xD
root  1281 1  1281  01 May01 ?00:00:01 
/usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible 
recursive locking detected ernel BUG at list_del corruption list_add corruption 
do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable 
to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) 
went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody 
cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check 
Exception: Machine check events logged divide error: bounds: coprocessor 
segment overrun: invalid TSS: segment not present: invalid opcode: alignment 
check: stack segment: fpu exception: simd exception: iret exception: 
/var/log/messages -- /usr/bin/abrt-dump-oops -xtD
root 11090 1 11090 111 15:08 pts/100:01:10 du -s 
/mnt/backup/backups


even after killing the du.

there were two DUs shown, I killed the parent (presumably the one I 
started) but the one that remains seems to be un-killable.

This is what the output looked like before I killed du:

# ps -eLf | grep du
root  1185 1  1185  01 May01 ?00:00:00 
/usr/bin/abrt-watch-log -F Backtrace /var/log/Xorg.0.log -- 
/usr/bin/abrt-dump-xorg -xD
root  1281 1  1281  01 May01 ?00:00:01 
/usr/bin/abrt-watch-log -F BUG: WARNING: at WARNING: CPU: INFO: possible 
recursive locking detected ernel BUG at list_del corruption list_add corruption 
do_IRQ: stack overflow: ear stack overflow (cur: eneral protection fault nable 
to handle kernel ouble fault: RTNL: assertion failed eek! page_mapcount(page) 
went negative! adness at NETDEV WATCHDOG ysctl table check failed : nobody 
cared IRQ handler type mismatch Kernel panic - not syncing: Machine Check 
Exception: Machine check events logged divide error: bounds: coprocessor 
segment overrun: invalid TSS: segment not present: invalid opcode: alignment 
check: stack segment: fpu exception: simd exception: iret exception: 
/var/log/messages -- /usr/bin/abrt-dump-oops -xtD
root 11078 18627 11078  01 15:08 pts/100:00:00 sudo du -s 
/mnt/backup/backups
root 11090 11078 11090 121 15:08 pts/100:01:10 du -s 
/mnt/backup/backups
root 12125 19449 12125  01 15:17 pts/000:00:00 grep --color=auto du


Oh, and I never did get the du out put I expected.

Anyone got a clue?

Thanks in advance!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart."  
 Hebrews 4:12 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Fred Smith
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
> Hi all,
> 

> 
> These are my current fstab entries on the C7 box
> 
> //192.168.1.200/mp3 /home/plex/Musique cifs
> user=plex,pass=plex,ro,auto,vers=3.0
> //192.168.1.200/videos /home/plex/Vidéos cifs
> user=plex,pass=plex,ro,auto,vers=3.0
> 
> 
> On my C8:
> 
> [root@plexvm etc]# cat fstab
> 

> /dev/mapper/cl_plexvm-root /   xfs defaults
>  0 0
> UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
>  defaults1 2
> /dev/mapper/cl_plexvm-swap swapswapdefaults
>  0 0
> //192.168.1.200/mp3 /home/plex/Musique  cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/videos  /home/plex/Vidéos   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/series  /home/plex/Séries   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> [root@plexvm etc]# mount -a
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> [root@plexvm etc]#
> 
> 
> 
> Any pointer would be MUCH appreciated!
> 
> Thanks

I don't know the answer, but a thought or three:

1. the entries for the cifs mounts don't have the last two fields specified. I 
dunno if they're absolutely required, so it may not mean anything.
2. you might want to experiment with the smbclient tool to see if you can
learn anything from its responses when trying to access the remote.
3. also verify that seliinux is not blocking the access.. I've had at
least one case in which I spent hours banging my head, only to discover
it was selinux and not anything in Samba.

Good luck!

Fred

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] running .jar files on Centos 7

2020-02-22 Thread Fred Smith
On Sat, Feb 22, 2020 at 03:17:51PM -0500, Fred Smith wrote:
> 
> OT!
> 
> I'm trying to learn to use audio cleanup tools from clickrepair.net.
> 
> they're written in Java and distributed as .jar files.
> 
> I'm having trouble running them, due, I'm sure, largely to my ignorance.

OH DUH!

Never mind. I forgot about "java -jar foo.jar".

All settled now. Thanks!


-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us 
Do you not know? Have you not heard? 
The LORD is the everlasting God, the Creator of the ends of the earth. 
  He will not grow tired or weary, and his understanding no one can fathom.
- Isaiah 40:28 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] running .jar files on Centos 7

2020-02-22 Thread Fred Smith


OT!

I'm trying to learn to use audio cleanup tools from clickrepair.net.

they're written in Java and distributed as .jar files.

I'm having trouble running them, due, I'm sure, largely to my ignorance.

I have icedtea installed, but it just errors out when I try to use it
to run any of the jar files:

Fatal: Read Error: Could not read or parse the JNLP file. You can try to 
download this file manually and send it as a bug report to IcedTea-Web team.

if I press the "Show Details" button from the box containing that message I get 
this:

net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or 
parse the JNLP file. You can try to download this file manually and send it as 
bug report to IcedTea-Web team.
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:487)
at net.sourceforge.jnlp.Launcher.launch(Launcher.java:287)
at net.sourceforge.jnlp.runtime.JnlpBoot.run(JnlpBoot.java:67)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:258)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:62)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:198)
Caused by: net.sourceforge.jnlp.ParseException: Invalid XML document syntax.
at net.sourceforge.jnlp.XMLParser.getRootNode(XmlParser.java:118)
at 
net.sourceforge.jnlp.MalformedXMLParser.getRootNode(MalformedXMLParser.java:79)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1321)
at net.sourceforge.jnlp.JNLPFile.parse(JNLPFile.java:815)

BTW, I don't see any .jnlp files anywhere in these packages

I have no clue, can anyone enlighten me?

Thanks in advance!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart."  
 Hebrews 4:12 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] anyone know of a list or wiki for GWC?

2020-02-20 Thread Fred Smith
On Thu, Feb 20, 2020 at 11:06:52AM -0600, Bill Gee wrote:
> On Thursday, February 20, 2020 10:54:02 AM CST Fred Smith wrote:
> > Hi!
> > 
> > totally OT...
> > 
> > Hoping there is a mailing list or wiki (or other help forum)
> > for GWC, but haven't found one yet.
> > 
> > I'm working on converting a bunch of my LPs to CDs, and am using
> > GWC (Gnome Wave Cleaner, or GTK Wave Cleaner) to clean up the noise.
> > It works great, but I can't figure out how to deal with certain types
> > of pressing flaws that create a thump every time around.
> > 
> > Anyone know of such a resource?
> > 
> > Thanks in advance!
> > 
> > Fred
> > 
> 
> 
> I tried to respond directly to Fred, but got bounced.  Hence replying to the 
> list even though, as Fred notes, this is WAY off topic.

Bill:

I'm using milter-greylist, so that any site sending mail that is not in
its whitelist database will get a 451 response code, which means "cannot
accept mail now, try again later" (my own wording). Any modern SMTP
agent should be smart enough to try again after a while. Once that
retry has been received, that site will be auto-whitelisted for 24 hours,
so that sites that send multiple emails a day remain whitelisted and
don't have to go thru that hassle.

Fred

If that is not what you got, then I don't know why it would bounce.


-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] anyone know of a list or wiki for GWC?

2020-02-20 Thread Fred Smith
On Thu, Feb 20, 2020 at 11:06:52AM -0600, Bill Gee wrote:
> On Thursday, February 20, 2020 10:54:02 AM CST Fred Smith wrote:
> > Hi!
> > 
> > totally OT...
> > 
> > Hoping there is a mailing list or wiki (or other help forum)
> > for GWC, but haven't found one yet.
> > 
> > I'm working on converting a bunch of my LPs to CDs, and am using
> > GWC (Gnome Wave Cleaner, or GTK Wave Cleaner) to clean up the noise.
> > It works great, but I can't figure out how to deal with certain types
> > of pressing flaws that create a thump every time around.
> > 
> > Anyone know of such a resource?
> > 
> > Thanks in advance!
> > 
> > Fred
> > 
> 
> 
> I tried to respond directly to Fred, but got bounced.  Hence replying to the 
> list even though, as Fred notes, this is WAY off topic.
> 
>  
> 
> Wow, does that still exist?  I gave up on it YEARS ago.  Audacity is far 
> better at removing clicks and pops, splitting into tracks and exporting to 
> FLAC.  It also does a great job removing tape hiss.

yes, it  still exists. looks like it gets occasionial maintenance.

Audacity is a great tool, but (according to stuff I've read on the
mailing list/wiki) its noise reduction tool is broken. Using GWC, If
I take a few samples of lead-in and/or inter-track "silence" and apply
it as a noise reduction filter I get an amazing improvement in playback
noise, even on a clean lightly-played disk.

I've used both tools for click removal and they both seem to work well.
Mostly, I select just the click and minimal space around it and GWC does
a great job. (of course, if it's a really noisy old LP then you'd need
to run the click filter on the whole thing, but so far the ones I've
converted, while being years old, have only been played a handful of
times and so sound pretty good with minimal clicks to remove and little
distortion due to dirt or wear. I'll eventually get to some of the older
ones though, then I"ll need to work harder! :)

> 
>  
> 
> As for removing thumps - No way I know of to do that.  Audacity might be able 
> to reduce the thump by using a high-pass filter set to roll off at 30 or 40 
> hz, but I don't think it can be taken completely out.

Yeah, I've thought of a high pass filter, or a notch filter, but haven't
(yet) tried it.

Thanks for the response, Bill!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] anyone know of a list or wiki for GWC?

2020-02-20 Thread Fred Smith
Hi!

totally OT...

Hoping there is a mailing list or wiki (or other help forum)
for GWC, but haven't found one yet.

I'm working on converting a bunch of my LPs to CDs, and am using
GWC (Gnome Wave Cleaner, or GTK Wave Cleaner) to clean up the noise.
It works great, but I can't figure out how to deal with certain types
of pressing flaws that create a thump every time around.

Anyone know of such a resource?

Thanks in advance!

Fred
-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] anybody need a ... ??

2020-01-25 Thread Fred Smith
Hi!

We're cleaning house, trying to downsize so we can move into a
retirement community, so we're finding all sorts of stuff to get
rid of.

One thing I'm reluctant to throw out is my Multitech MT5600BA V90
modem.

I used it for dialup for several years before broadband became available
and it was great, stable, and fast. (its predecessor, a much-touted
consumer-grade V90 modem was unreliable and not great). I'm thinking we
are/were on an unstable copper pair, but the phone company said it was
fine.

So, anyway, I have this lovely industrial-strength modem I'd like to
provide someone, "free to a good home", if anyone has, or knows of
anyone who  has, a use for a V90 modem.

Original packaging (including the floppy-based "drivers" for windoze! :) )
and a printout of the modem manual.

Anyone??

Thanks in advance!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh failure from CentOS7 to Centos6

2020-01-13 Thread Fred Smith
On Mon, Jan 13, 2020 at 01:00:05PM -0500, Stephen John Smoogen wrote:
> On Mon, 13 Jan 2020 at 12:23, Patrick Bégou
>  wrote:
> >
> > Hi,
> >
> > I have a strange problem with a freshly installed Centos7 desktop
> > (most8pc25). I can't ssh to 2 CentOS6 servers, even with firewall
> > disabled on the client and on the server. But I can connect from the
> > server to the client, all in the same VLAN. I can also ssh from this
> > desktop to centos7 servers in the same VLAN or in another VLAN.
> >
> > No idea about this problem.
> >
> > On the server kareline (client is most8pc25), tcpdump says:
> >
> 
> So the client is able to talk to the server and the server is responding.
> 
> >
> > On the Centos7 client, with "-v -v" ssh says:
> >
> >
> > [tec21@most8pc25 ~]$ssh -v -v kareline
> > OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017
> > debug1: Reading configuration data /etc/ssh/ssh_config
> > debug1: /etc/ssh/ssh_config line 58: Applying options for *
> > debug1: Connecting to kareline [194.254.66.8] port 22.
> > debug1: Connection established.
> 
> ^^ this says the first part started working.
> 
> 
> > debug1: Local version string SSH-2.0-OpenSSH_7.4
> > debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
> > debug1: match: OpenSSH_5.3 pat OpenSSH_5* compat 0x0c00
> > debug1: Authenticating to kareline:22 as 'tec21'
> > debug1: SSH2_MSG_KEXINIT sent
> > debug1: SSH2_MSG_KEXINIT received
> 
> It got items and says it is going to use the user tec21 to login
> 
> > debug2: local client KEXINIT proposal
> 
> > debug1: kex: client->server cipher: aes128-ctr MAC: umac...@openssh.com
> > debug1: kex: diffie-hellman-group-exchange-sha256 need=16 dh_need=16
> > debug1: kex: diffie-hellman-group-exchange-sha256 need=16 dh_need=16
> > debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent
> > Connection closed by 194.254.66.8 port 22
> >
> 
> The server then stops the connection. I would then go through the
> following on the host:
> 1. Is fail2ban or something else dropping the connection for some reason?
> 2. Is there a log in /var/log/secure to say something is going on?
> 3. Does running the server on port  in debug mode and connecting
> from the client give a reason for it dieing?
> 4. On the client and server are /etc/ssh/*_config changed from
> defaults and what changes are there. Sometimes saying you want XYZ
> algo in one and not having it in another causes dropped connections
> but I thought it gave an error.

How about selinux on the remotes?

Fred

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart."  
 Hebrews 4:12 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Does Centos kernel support usb w/ UASP ?

2019-12-29 Thread Fred Smith
On Sun, Dec 29, 2019 at 08:12:50PM -0800, John Pierce wrote:
> On Sun, Dec 29, 2019 at 8:01 PM Fred Smith 
> wrote:
> 
> > Looking to buy a new usb-attached RAID box for nightly backups, and
> > I see that many of them now support usb 3.1 with UASP.
> >
> 
> I'd rather have a NAS that supports NFS and/or SMB and lives on ethernet,
> so any host on your LAN can use it as a backup target.

I have one of those, too. we use it for "offline" storage, and/or
for keeping stuff we want to share amongst the family.

what I'm looking at here is replacing an old RAID-1 backup box that's
becoming increasingly troublesome, has never worked at usb-3, and
its esata connection tends to fail about every other day, so now
I'm stuck at usb-2 speeds. 

Hence the question about usb 3.1 and UASP.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Does Centos kernel support usb w/ UASP ?

2019-12-29 Thread Fred Smith
Looking to buy a new usb-attached RAID box for nightly backups, and
I see that many of them now support usb 3.1 with UASP.

Looking at add-in usb 3.1 cards (my motherboard is probably too old,
and only supports usb 3.0) to go with it, but don't know if the old
kernel RH/Centos uses supports UASP.

Chipset dependent? If one can trust the product images on Amazon, most
of them use an asmedia 2142 chip.

Anyone know? 

Thanks in advance!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
 God made him who had no sin
  to be sin for us, so that in him
 we might become the righteousness of God."
--- Corinthians 5:21 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using Pulse Audio--question

2019-12-23 Thread Fred Smith
On Sun, Dec 22, 2019 at 05:32:05PM -0800, John Pierce wrote:
> On Sun, Dec 22, 2019 at 5:23 PM David G. Miller  wrote:
> 
> > I do something similar to what you're trying to do when I digitize my
> > vinyl LPs.  I take output from my amp/turntable into my sound card and
> > use Audacity to digitize it and write an appropriate sound file.  I also
> > monitor the sound using Audacity by telling it to also route the sound
> > to my speakers.  The point of all of this is that I think you need a
> > piece of software (Audacity is probably overkill) to receive the input
> > and play it back via the output.  You don't mention any "playback"
> > software.
> >
> 
> on many analog sound cards, the output mixer has a 'monitor' channel for
> the input mixer, so if you crank up the Line IN on the input mixer, then
> turn up the 'monitor' output on the output mixer, you should get
> passthrough audio without any software getting involved in moving the sound
> in realtime.
> 
> this is much less likely to work with a seperate USB audio source, as thats
> not directly connected to your output.   ditto it won't work with  USB
> speakers or headphones, as they are not directly connected to the source.
> 
> -- 
> -john r pierce
>   recycling used bits in santa cruz

John, thanks for the hint. I'll certainly be giving that a try in the
near future (possibly today).

Took a brief look last night, using the USB input and only the input
tab shows "monitor" items, but not the output tab. And I'm not sure that
my analog input jacks on the computer are working, or at least I've never
been able to get them to work (hence the USB audio thingie), though I'll
take another whack at it and see if I can see what you describe.

Thanks forthe idea!

Fred
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using Pulse Audio--question

2019-12-23 Thread Fred Smith
On Sun, Dec 22, 2019 at 06:22:58PM -0700, David G. Miller wrote:
> On 12/22/19 6:01 PM, Fred Smith wrote:
> >On Mon, Dec 23, 2019 at 11:34:32AM +1100, Bill Maidment wrote:
> >>On 23/12/2019 11:06 am, Fred Smith wrote:
> >>
> >>>I can find no way to do it with pavucontrol, nor the default mate
> >>>sound tool.
> >>In my SL7 Mate system I use the Hardware and Output tabs in
> >>System->Preferences->Hardware->Sound
> >>
> >>Cheers
> >>Bill
> >Thanks bill.
> >
> >But nothing I do there causes output.
> >
> >As far as I can tell, the hardware tab just shows you what HW it
> >recognizes, you can't actually make any settings there.
> >
> >In pavucontrol, I can see the from the audio activity bar that
> >the audio is getting into it, in the input tab. in the recording
> >tab I can see it too, but there's nothing in the playback tab that
> >makes it come out the speakers. :(
> >
> >Fred
> I do something similar to what you're trying to do when I digitize
> my vinyl LPs.  I take output from my amp/turntable into my sound
> card and use Audacity to digitize it and write an appropriate sound
> file.  I also monitor the sound using Audacity by telling it to also
> route the sound to my speakers.  The point of all of this is that I
> think you need a piece of software (Audacity is probably overkill)
> to receive the input and play it back via the output.  You don't
> mention any "playback" software.

Yeah, I've done that with Audacity, when recording I can use its
monitor function to feed audio to the computer's audio out. And
I'll be doing that again in the not-far-distant future, as I have
hundreds of LPs around here, at least some of which I'll want to
digitize.

I have one other suggestion from another responder to check out
before I fall back to doing this.

thanks for the idea, though!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using Pulse Audio--question

2019-12-22 Thread Fred Smith
On Mon, Dec 23, 2019 at 11:34:32AM +1100, Bill Maidment wrote:
> On 23/12/2019 11:06 am, Fred Smith wrote:
> 
> >I can find no way to do it with pavucontrol, nor the default mate
> >sound tool.
> 
> In my SL7 Mate system I use the Hardware and Output tabs in
> System->Preferences->Hardware->Sound
> 
> Cheers
> Bill

Thanks bill.

But nothing I do there causes output.

As far as I can tell, the hardware tab just shows you what HW it 
recognizes, you can't actually make any settings there.

In pavucontrol, I can see the from the audio activity bar that
the audio is getting into it, in the input tab. in the recording
tab I can see it too, but there's nothing in the playback tab that
makes it come out the speakers. :(

Fred
-- 
---
Under no circumstances will I ever purchase anything offered to me as
the result of an unsolicited e-mail message. Nor will I forward chain
letters, petitions, mass mailings, or virus warnings to large numbers
of others. This is my contribution to the survival of the online
community.
 --Roger Ebert, December, 1996
- The Boulder Pledge -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Using Pulse Audio--question

2019-12-22 Thread Fred Smith
Hi all!

This seems to me as if it should be a trivial thing to do, but so far
I've wasted a lot of time on it and gotten nowhere:


I want to feed audio from a source (ipod, other player) into the audio
input on my C7 box via either the phone jack or an external USB sound
"card" I have, then I want to play it via the speakers connected to the
system.

I can find no way to do it with pavucontrol, nor the default mate
sound tool.

Using pavucontrol and the external USB sound "card" (quote marks
because it obviously isn't a "card") I can see the input coming
in, but I can't figure any way to send it back out to any output
device.

I'm not wedded to using pulse for this, I'll use alsa or whatever
else can be beaten into submission, I just can't understand why this
isn't a normal usage, and why it wouldn't be easy to do.

All (on topic) advice gladly received.

Thanks in advance!

Fred
-- 
---
Under no circumstances will I ever purchase anything offered to me as
the result of an unsolicited e-mail message. Nor will I forward chain
letters, petitions, mass mailings, or virus warnings to large numbers
of others. This is my contribution to the survival of the online
community.
 --Roger Ebert, December, 1996
- The Boulder Pledge -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] several VMs have suddenly quit working, in VBox.

2019-12-01 Thread Fred Smith
On Sun, Dec 01, 2019 at 07:18:31PM -0500, Fred Smith wrote:
> Hi all!
> 
> I have several VMs, all in virtualbox 6.0.14 and all the VBOX add-ons are
> up to date.
> 
> I don't use them daily, last used any of them probably 4-6 weeks ago,
> pretty sure it was already running 6.0.14 by that time. they were all
> fine when last used.
> 
> Two of them are C7, one is a clone of the other, and the other is C8.
> each seems to have different symptoms. 
> 
> the C7 clone claims there is no initramfs, no matter which kernel I
> try to boot. See first attachment.

and of course I hit the wrong key so it sent the mail before I was
done typing. :(

And I apologize, the VBox window in which the system is booting
doesn't let me select text for cut and paste, so the best I can do
is to either do a screendump and attach it, or to retype what I
see (as I've done below).

I can probably boot a rescue CD and rebuild initramfs, but the greater
question in my mind is why in the world would THREE VMs all go wonky
at (AFAICT) the same time?


The one that C7-clone was cloned from (C7) dies with:

Starting Switch Root...
[!!] Failed to load  SELinux policy, freezing

and does the same thing no matter which kernel I boot.

the C8 system goes on for along way and eventually dies with this 
on the screen:

failed to mount RPC Pipe File System.
see 'systemctl status var-lib-nfs-rpc=pipefs.mount' for details.

then a bunch of OK entries then:
[FAILED] Failed to start crash recovery kernel arming.
see 'systemctl status kdump.service' for details
[FAILED] Failed to start crash recovery kernel arming.
see 'systemctl status kdump.service' for details
you are in emergency mode. After logging in, type "journalctl -xb" to 
view
system logs...

Looking at journalctl -xb output there is a TON of stuff that means
little-to-nothing to me, but near the end I see this:

 [1734]: Error 
/boot/vmlinuz-4.18.0-80.11.2.el8_0.x86_64 not found.
: Starting kdump [FAILED]
...
...
--Subject: Unit kdump.service has failed

then some more lines of apparently explanatory material, but no errors,
except for the last line that says:

 systemd[1]: Received SIGRTMIN+21 from PID 369 
(plymouthd).


Scrolling back thru the output I see had come up earlier:
mount: /boot: unknown filesystem type 'ext4'
boot.mount: Mount process exited, code=exited status=32
Failed to mount /boot.

I installed C8 with default filesystems, so I'd sorta thunk they
would be XFS, so is it legitimate for it to find /boot as ext4?
and even so, why would ext4 not be a legitimate FS type?

So, I'm horribly confused here, I'd appreciate suggestions
on these matters.

thanks in advance!


Fred
 

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
 God made him who had no sin
  to be sin for us, so that in him
 we might become the righteousness of God."
--- Corinthians 5:21 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] several VMs have suddenly quit working, in VBox.

2019-12-01 Thread Fred Smith
Hi all!

I have several VMs, all in virtualbox 6.0.14 and all the VBOX add-ons are
up to date.

I don't use them daily, last used any of them probably 4-6 weeks ago,
pretty sure it was already running 6.0.14 by that time. they were all
fine when last used.

Two of them are C7, one is a clone of the other, and the other is C8.
each seems to have different symptoms. 

the C7 clone claims there is no initramfs, no matter which kernel I
try to boot. See first attachment.



-- 
---
Under no circumstances will I ever purchase anything offered to me as
the result of an unsolicited e-mail message. Nor will I forward chain
letters, petitions, mass mailings, or virus warnings to large numbers
of others. This is my contribution to the survival of the online
community.
 --Roger Ebert, December, 1996
- The Boulder Pledge -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] External HD partitioning & formatting considerations

2019-11-30 Thread Fred Smith
On Sat, Nov 30, 2019 at 05:19:44PM +0100, Nicolas Kovacs wrote:
> Hi,
> 
> One of my clients has a mixed Linux/Mac OS/Windows environment in his office.
> He just purchased a 4 TB external hard disk, which he intends to use on his
> various workstations.
> 
> Up until recently, I've been using plain old MBR/FAT for hard disks in mixed
> environments. Fire up fdisk, make one big 0b type partition, and then format 
> it
> using mkdosfs.
> 
> Unfortunately, there's a 2 TB limit to that.
> 
> Of course, I could still use a GPT partition, but then I'd still have to 
> format
> it using a "common denominator" filesystem, e. g. FAT... which is also limited
> to 2 TB as far as I know.
> 
> So what now? Use Windows 10 to format the disk using NTFS? This, Windows and
> Linux could use it, and I'd have to check if Mac OS can manage NTFS file
> systems. A few years ago, it didn't.
> 
> Any suggestions?

Maybe UDF? 

-- 
---
Under no circumstances will I ever purchase anything offered to me as
the result of an unsolicited e-mail message. Nor will I forward chain
letters, petitions, mass mailings, or virus warnings to large numbers
of others. This is my contribution to the survival of the online
community.
 --Roger Ebert, December, 1996
- The Boulder Pledge -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 + samba / some win 10 systems can mount and some not

2019-11-14 Thread Fred Smith
On Thu, Nov 14, 2019 at 04:09:36PM +0100, Ralf Prengel wrote:
> Hallo,
> 
> We are using centos 7 and samba in combination with Win10 1903.
> The problem:
> Some systems are able to map a share and some can t.
> Any ideas and hints?

Yes. Verify that selinux is not blocking the incoming connection from
windows. I've had that problem in the past and it's a pain.

For testing purposes only, on the linux system(s) that reject windows
SMB connection attempts, issue "setenforce 0" and see if it then works.

If it does then work, reset that setting to "setenforce 1" (you don't want
to leave selinux disabled) then look in /var/logs to see if you can find
a log of the failure. If you can find the selinux record for the failure
it should tell you how to apply a work-around for that specific issue,
so you do not need to totally disable selinux.

this page may prove helpful: 
https://www.serverlab.ca/tutorials/linux/administration-linux/troubleshooting-selinux-centos-red-hat/

Good luck!

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
 God made him who had no sin
  to be sin for us, so that in him
 we might become the righteousness of God."
--- Corinthians 5:21 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printer only prints one page, if anything

2019-11-13 Thread Fred Smith
On Wed, Nov 13, 2019 at 08:42:04PM -0500, H wrote:
> On 11/06/2019 01:56 PM, Fred Smith wrote:
> > On Wed, Nov 06, 2019 at 10:01:49AM -0600, Michael Hennebry wrote:
> >> On Wed, 6 Nov 2019, Michael Hennebry wrote:
> >>
> >>> On Sun, 3 Nov 2019, Jon LaBadie wrote:
> >>>
> >>>> Have you tried adding the Brother CUPS and/or generic LPR software?
> >>>>
> >>>> https://support.brother.com/g/b/downloadtop.aspx?c=us=en=hll2360dw_us
> >>> I've been trying to folow directions, but no go.
> >>> The bad ELF interpreter really through me for a loop:
> >>>
> >>> [root@localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*.rpm
> >>> Preparing...
> >>> # [100%]
> >>> Updating / installing...
> >>>  1:hll2360dcupswrapper-3.2.0-1
> >>> # [100%]
> >>> lpadmin -p HLL2360D -E -v
> >>> usb://Brother/HL-L2360D%20series?serial=U63883B7N499687 -P
> >>> /usr/share/ppd/brother/brother-HLL2360D-cups-en.ppd
> >>> restorecon:  lstat(/etc/opt/brother/Printers/HLL2360D) failed:  No
> >>> such file or directory
> >>> warning: %post(hll2360dcupswrapper-3.2.0-1.i386) scriptlet failed,
> >>> exit status 255
> >>> [root@localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*lpr*.rpm
> >>> Preparing...
> >>> # [100%]
> >>> Updating / installing...
> >>>  1:hll2360dlpr-3.2.0-1
> >>> # [100%]
> >>> /var/tmp/rpm-tmp.1omOJ2:
> >>> /opt/brother/Printers/HLL2360D/inf/braddprinter:
> >>> /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
> >>> [root@localhost drv]# ls
> >>> cupsfilters.drv  hp  sample.drv
> >>> [root@localhost drv]# ls -F
> >>> cupsfilters.drv  hp/  sample.drv
> >>> [root@localhost drv]# pwd
> >>> /usr/share/cups/drv
> >>> [root@localhost drv]# ls ~/D*/*.rpm
> >>> ls: cannot access /root/D*/*.rpm: No such file or directory
> >>> [root@localhost drv]# ls ~hennebry/D*/*.rpm
> >>> /home/hennebry/Downloads/hll2360dcupswrapper-3.2.0-1.i386.rpm
> >>> /home/hennebry/Downloads/hll2360dlpr-3.2.0-1.i386.rpm
> >>> [root@localhost drv]#
> >>>
> >>> What happened?
> >>> How do I do it right?
> >> Apparently both rpms are installed,
> >> but even after restarting cups,
> >> the printer just receives data and goes back to sleep.
> >>
> >> I have no /etc/printcap.local or /etc/printcap .
> >> /etc/cups/printers.conf does not contain the string lp .
> >> It does have
> >> DeviceURI usb://Brother/HL-L2360D%20series?serial=U63883B7N499687
> >>
> >> Now what?
> >>
> >> -- 
> > It looks as if you downloaded the two RPMs from Brother then attempted
> > to follow their complicated instructions for installing them. Much
> > simpler is to do this:
> >
> > linux-brprinter-installer-2.1.1-1 is the brother printer driver
> > installer I used on my HL-L2360D.
> >
> > it asks a few questions, some more cryptic than others, and then
> > downloads and installes the required packages, after which I ran the
> > system-config-printer tool and set up my printer. Voila!
> >
> > As I also said previously in this thread, I set up the same printer
> > on Centos-8 without installing any Brother drivers, by going direct
> > to CUPS on port 631 and selecting Brother 2460 (since it didn't offer
> > 2360). Here are two entries from /etc/cups/printers.conf:
> >
> > MakeModel Brother HL-2460 - CUPS+Gutenprint v5.2.14
> > DeviceURI ipp://192.168.2.98:631/ipp
> >
> > (That's the printer's IP shown there, not the system being set up.)
> >
> > and it appears to work fine, for small numbers of pages printed, but it
> > does print double-sided and multi-page documents.
> >
> > I don't know of any reason why this would not work on C7 as well,
> > though I haven't tried it, so YMMV and all that.
> >
> > If you can back out all the stuff you've hacked, I suggest you try
> > one or the other of those. Since the CUPS setup is probably simpler
> > and/or less invasive, I'd try that first, were I you.
> >
> > Good luck!
> >
> > Fred
> 
> I also have a Brother HL-L2360DW but am not happy with the print quality when 
> I print PDF-documents. All text ends up "st

Re: [CentOS] C8: Wayland Session / Cut and Paste

2019-11-07 Thread Fred Smith
On Thu, Nov 07, 2019 at 05:50:24PM -0500, Lamar Owen wrote:
> On 11/7/19 3:13 PM, Leon Fauster via CentOS wrote:
> >Is this the normal behavior now? Cutting text in gedit and pasting
> >it into the terminal needs that the source application stays
> >running?
> I've run into this behavior for a while, for several CentOS
> versions, depending upon the application.

there are also (at least in X) two ways to cut and paste:
1. select with mouse then paste with middle-click.
2. select with mouse, right-click "select", paste the right-click "paste".

My understanding is that oneuses X facilities and the other is
part of the desktop.

I would surmise that Weston could be different.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord is like a strong tower. 
 Those who do what is right can run to him for safety.
--- Proverbs 18:10 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printer only prints one page, if anything

2019-11-06 Thread Fred Smith
On Wed, Nov 06, 2019 at 05:16:52PM -0600, Michael Hennebry wrote:
> On Wed, 6 Nov 2019, Fred Smith wrote:
> 
> >It looks as if you downloaded the two RPMs from Brother then attempted
> >to follow their complicated instructions for installing them. Much
> >simpler is to do this:
> >
> >linux-brprinter-installer-2.1.1-1 is the brother printer driver
> >installer I used on my HL-L2360D.
> 
> I had tried that also, but tried it again.
> before my last try, I power-cycled the printer.
> This time it worked.
> For some reason CUPS now shows two queue names:
> HL-L2360D-series   Brother HL-L2360D series   localhost.localdomain
> HL-L2360D  HLL2360D
> both Brother HL-L2360D for CUPS.
> 
> 'Tain't as big a deal as having none,
> but why does CUPS have two queue names for the printer?

'Fraid I have no clue. sorry.

we have two brother printers here, and when I look at "manage printers" in
the CUPS web page I see this:

Queue Name  Description LocationMake and Model  
Status
DCP7065DN   DCP7065DN   Brother DCP7065DN for CUPS  
Idle
HLL2360DHLL2360DBrother HL-L2360D for CUPS  
Idle

one per printer. Is it possible that one of yours is cruft left over from
previous attempts? You said it works now,... does that mean you can choose
either of the two it shows and get printouts?

> >it asks a few questions, some more cryptic than others, and then
> >downloads and installes the required packages, after which I ran the
> >system-config-printer tool and set up my printer. Voila!
> 
> I think they were the same packages that I tried to use.
> In any case, they both ended in 386.
> 
> Had not heard of system-config-printer .
> Neither man, info nor --help helped.
> What is it suppoded to do?

I'm using the MATE desktop, so it may be that Gnome 3.x no longer has it, or
has renamed it. Can't help you there.

But it is a gui you use to configure printers.

> Google suggests it is a GUI.
> Google also suggests that it is always started through a GUI.
> Is it under Sundry, Print Settings?

yum whatprovides */system-config-printer replies:

system-config-printer-1.4.1-21.el7.x86_64 : A printer administration 
tool
Repo: base
Matched from:
Filename: /usr/bin/system-config-printer



system-config-printer-libs-1.4.1-21.el7.noarch : Libraries and shared 
code for printer administration tool
Repo: base
Matched from:
Filename: /usr/share/system-config-printer


> 
> >As I also said previously in this thread, I set up the same printer
> >on Centos-8 without installing any Brother drivers, by going direct
> >to CUPS on port 631 and selecting Brother 2460 (since it didn't offer
> >2360). Here are two entries from /etc/cups/printers.conf:
> 
> My printer worked in July.
> At the time, it did not have Brother drivers.
> I don't know what update broke it or how.
> 
> Is there an easy way to rename or alias a queue?

Again, I can't help you with this. sorry.

There is a ton of CUPS documentation, though, you may be able to find
an answer there.

Fred

-- 
---
Under no circumstances will I ever purchase anything offered to me as
the result of an unsolicited e-mail message. Nor will I forward chain
letters, petitions, mass mailings, or virus warnings to large numbers
of others. This is my contribution to the survival of the online
community.
 --Roger Ebert, December, 1996
- The Boulder Pledge -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printer only prints one page, if anything

2019-11-06 Thread Fred Smith
On Wed, Nov 06, 2019 at 10:01:49AM -0600, Michael Hennebry wrote:
> On Wed, 6 Nov 2019, Michael Hennebry wrote:
> 
> >On Sun, 3 Nov 2019, Jon LaBadie wrote:
> >
> >>Have you tried adding the Brother CUPS and/or generic LPR software?
> >>
> >> https://support.brother.com/g/b/downloadtop.aspx?c=us=en=hll2360dw_us
> >
> >I've been trying to folow directions, but no go.
> >The bad ELF interpreter really through me for a loop:
> >
> >[root@localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*.rpm
> >Preparing...
> ># [100%]
> >Updating / installing...
> >  1:hll2360dcupswrapper-3.2.0-1
> ># [100%]
> >lpadmin -p HLL2360D -E -v
> >usb://Brother/HL-L2360D%20series?serial=U63883B7N499687 -P
> >/usr/share/ppd/brother/brother-HLL2360D-cups-en.ppd
> >restorecon:  lstat(/etc/opt/brother/Printers/HLL2360D) failed:  No
> >such file or directory
> >warning: %post(hll2360dcupswrapper-3.2.0-1.i386) scriptlet failed,
> >exit status 255
> >[root@localhost drv]# rpm -ihv --nodeps ~hennebry/Downloads/*lpr*.rpm
> >Preparing...
> ># [100%]
> >Updating / installing...
> >  1:hll2360dlpr-3.2.0-1
> ># [100%]
> >/var/tmp/rpm-tmp.1omOJ2:
> >/opt/brother/Printers/HLL2360D/inf/braddprinter:
> >/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
> >[root@localhost drv]# ls
> >cupsfilters.drv  hp  sample.drv
> >[root@localhost drv]# ls -F
> >cupsfilters.drv  hp/  sample.drv
> >[root@localhost drv]# pwd
> >/usr/share/cups/drv
> >[root@localhost drv]# ls ~/D*/*.rpm
> >ls: cannot access /root/D*/*.rpm: No such file or directory
> >[root@localhost drv]# ls ~hennebry/D*/*.rpm
> >/home/hennebry/Downloads/hll2360dcupswrapper-3.2.0-1.i386.rpm
> >/home/hennebry/Downloads/hll2360dlpr-3.2.0-1.i386.rpm
> >[root@localhost drv]#
> >
> >What happened?
> >How do I do it right?
> 
> Apparently both rpms are installed,
> but even after restarting cups,
> the printer just receives data and goes back to sleep.
> 
> I have no /etc/printcap.local or /etc/printcap .
> /etc/cups/printers.conf does not contain the string lp .
> It does have
> DeviceURI usb://Brother/HL-L2360D%20series?serial=U63883B7N499687
> 
> Now what?
> 
> -- 

It looks as if you downloaded the two RPMs from Brother then attempted
to follow their complicated instructions for installing them. Much
simpler is to do this:

linux-brprinter-installer-2.1.1-1 is the brother printer driver
installer I used on my HL-L2360D.

it asks a few questions, some more cryptic than others, and then
downloads and installes the required packages, after which I ran the
system-config-printer tool and set up my printer. Voila!

As I also said previously in this thread, I set up the same printer
on Centos-8 without installing any Brother drivers, by going direct
to CUPS on port 631 and selecting Brother 2460 (since it didn't offer
2360). Here are two entries from /etc/cups/printers.conf:

MakeModel Brother HL-2460 - CUPS+Gutenprint v5.2.14
DeviceURI ipp://192.168.2.98:631/ipp

(That's the printer's IP shown there, not the system being set up.)

and it appears to work fine, for small numbers of pages printed, but it
does print double-sided and multi-page documents.

I don't know of any reason why this would not work on C7 as well,
though I haven't tried it, so YMMV and all that.

If you can back out all the stuff you've hacked, I suggest you try
one or the other of those. Since the CUPS setup is probably simpler
and/or less invasive, I'd try that first, were I you.

Good luck!

Fred
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printer only prints one page, if anything

2019-11-03 Thread Fred Smith
On Sun, Nov 03, 2019 at 05:21:55PM -0600, Michael Hennebry wrote:
> On Sun, 3 Nov 2019, Jon LaBadie wrote:
> 
> >On Sun, Nov 03, 2019 at 02:55:32PM -0600, Michael Hennebry wrote:
> >>
> >>I've got a Brother HL-L2360D series printer connected to Centos 7.
> >>CUPS lists it as Generic PCL6/PCL Printer - CUPS+Gutenprint v5.2.9 .
> >>When I tell it to print a pdf file, it prints at most the first page.
> >>
> >
> >Have you tried adding the Brother CUPS and/or generic LPR software?
> >
> > https://support.brother.com/g/b/downloadtop.aspx?c=us=en=hll2360dw_us
> 
> The page does not work for me.
> For some reason, the Downloads box has no text
> and no clickable places, the cloud is not clickable
> and the Downloads label is not clickable.

If attachments can be sent thru this list, see the attached image,
a screnshot from Firefox on C7.

The OK button is not enabled until you choose either RPM or DEB.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   Show me your ways, O LORD, teach me your paths;
 Guide me in your truth and teach me,
 for you are God my Savior,
And my hope is in you all day long.
-- Psalm 25:4-5 (NIV) 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] printer only prints one page, if anything

2019-11-03 Thread Fred Smith
On Sun, Nov 03, 2019 at 02:55:32PM -0600, Michael Hennebry wrote:
> 
> I've got a Brother HL-L2360D series printer connected to Centos 7.
> CUPS lists it as Generic PCL6/PCL Printer - CUPS+Gutenprint v5.2.9 .
> When I tell it to print a pdf file, it prints at most the first page.
> 
> After powering the thing off and turning it on again,
> it printed page 3 of pages 3-6 .
> On trying it again, the thing claimed it was receiving data
> and printed page 3 of pages 3-6 again.
> 
> I've tried to delete the printer so I could add it again,
> but CUPS won't let me.
> CUPS quit asking for a password, it just says Forbidden.
> 
> How do I print the pdf file?
> How do I keep this from happening again?
> 
> This is not the first time I've had to do a deep
> dive into CUPS or something to get printing done.
> 
> I gave up on HP printers because I had to buy new cartridges
> practically every time I wanted to print.
> Only being able to print the first page, if anything,
> is not much of an improvement.
> 
> My girlfriend has an HP printer that works,
> so I suppose they are not all like mine.

My 2360D works fine on C7, but I did install the Brother drivers.

I configured it on C8 without the Brother drivers, using CUPS at port
631 where it appears to work properly, though I've not printed a lot on
it from c8.

On C8 CUPS reports that I configured it thusly:

Brother HL-2460 - CUPS+Gutenprint v5.2.14
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  The eyes of the Lord are everywhere, 
keeping watch on the wicked and the good.
- Proverbs 15:3 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 8 Mate?

2019-10-26 Thread Fred Smith
On Sat, Oct 26, 2019 at 07:08:02PM +1100, Bill Maidment wrote:
> On 26/10/2019 12:08 pm, David G. Miller wrote:
> >The corresponding system-config-printer rpm from Fedora 28 appears to
> >work.  Not the best solution but a solution.
> >
> 
> But no longer available that I can find. I presume it must be
> version 1.5.11-13 to match the -lib version

On my C8 VM I uust browsed to localhost:631 and  used CuPPS to configure 
printing.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us 
Do you not know? Have you not heard? 
The LORD is the everlasting God, the Creator of the ends of the earth. 
  He will not grow tired or weary, and his understanding no one can fathom.
- Isaiah 40:28 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8: what changed (regular UNIX admin commands)?

2019-10-22 Thread Fred Smith
On Tue, Oct 22, 2019 at 11:36:54AM -0700, John Pierce wrote:
> The ip commands have been around since Centos 6 if not earlier.  you can do
> things with them that you can't do with ifconfig, such as setup policy
> routing rule sets..

which makes them harder to learn...

Unix philosophy: small programs, each of which does one thing well.
-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   But God demonstrates his own love for us in this: 
 While we were still sinners, 
  Christ died for us.
--- Romans 5:8 (niv) --
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 8 Mate?

2019-10-17 Thread Fred Smith
On Thu, Oct 17, 2019 at 09:08:28AM -0500, Johnny Hughes wrote:
> On 9/24/19 2:41 PM, Frank Cox wrote:
> > Without wanting to sound too pushy, I'm wondering if there is any update on 
> > the status of Mate now that Centos 8 has been released?
> > 
> > I would love to jump on C8 and start playing with it, but the lack of Mate 
> > is kind of  a showstopper for me at the moment.
> > 
> 
> Is gnome3 really that bad :D
> 
> I decided to just bite the bullet and shift to real gnome3 (and not the
> classic) about 4 years ago.  It waas different and took some time to
> learn .. BUT .. I can do everything I need to do now.
> 
> I like both mate and cinnamon .. so I am not knocking either one. I just
> think people might be well server switching to a 'supported' desktop in
> the longer run.
> 
> Again .. don't get me wrong .. it's open source, so do what makes you
> happy :D
> 

Johnny, I'm sure it can be learned, apparently lots of people have done
so and are now happy(for some values of happy) with it.

That is just something I don't feel like doing. I'm not against change,
but the changes in Gnome 3 seemed to me to be needlessly adding pain
and difficulty to what had been a perfectly usable desktop. Every time
I install a new CentOS I grit my teeth at having to remember/figure out
enough of it to get me thru to the point where I can use a friendly UI.

Yes, I should stop being a luddite and learn it. but, y'know, I just
can't bring myself to deal with the pain. As a geezer, I guess I'm
kinda set in my ways. :)

Just to get the Mate installed on C8 (as was posted here recently
where/how to do it) was more pain that I enjoyed going through. Now,
I'm sure there are simple solutions to these issues, but I just don't
want to have to stop what I'm doing to google for them... anyway,
I had firefox open and wanted a terminal window. couldn't figure out
how to set it up so I could see both at the same time. Once I maximized
FF I couldn't figure out how to get it to not eat the entire screen--no
clicky buttons on the top-right of the window, so I ended up using the
left-most item at the top of the window (forget what it is named...) to
choose which window I wanted in front. tedious but livable.

but now I don't have to do that 'cause Mate works great!

And thanks to you, Johnny, and your companions/associates for all the
many YEARS of work you've all put in on CentOS. Even though I gripe and
complain about Gnome3, I really do appreciate all you've done!

Fred

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord is like a strong tower. 
 Those who do what is right can run to him for safety.
--- Proverbs 18:10 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


  1   2   3   4   5   6   7   8   9   10   >