Re: [CentOS] resetting a serial port

2023-12-14 Thread Robert Moskowitz
the system I am connected to over the serial uart is one of my major 
servers and I REALLY dislike rebooting it.


On 12/13/23 23:21, Fred wrote:

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


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


Re: [CentOS] resetting a serial port

2023-12-14 Thread Robert Moskowitz

How do I kill the shell session on ttyS0?

ls did nothing.
nor stty sane

but I think I saw all those characters echoed back.

On 12/14/23 00:04, Jon LaBadie wrote:

On Wed, Dec 13, 2023 at 08:45:31PM -0500, 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



Channeling old memories of serial communications :((

Sounds like you are still connected.  One way to tell is
to pretend things are working even if you only see garbage.

For example, if you press  several times, do you
get the same garbage each time (likely the shell prompt
coming back to you).

If after an Enter and return garbage you type ls
is the garbage different, probably larger, and likely
ending with the same garbage as a solo  (the prompt)

Then try to reset your stty communication settings by
carefully typing

  stty sane

Don't try to correct typo's, just hit enter and start again.

Should that not work, ssh back in and kill the shell session
on ttyS0.  Typically the communication settings are returned
to a default set by a program called getty which then exec's
into the login program.

Good luck.



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


[CentOS] resetting a serial port

2023-12-13 Thread Robert Moskowitz
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


Re: [CentOS] old website keep reappering in /var/www/html

2023-09-07 Thread Robert Heller
At Thu, 07 Sep 2023 18:19:33 + CentOS mailing list  
wrote:

> 
> Greetings,
> absurd subject, but I don't know how else I could describe what is happening.
> I have a small static website hosted on a Centos 7 VPS (that I'll update as 
> soon as possible, but what follows is much more urgent, I must absolutely fix 
> it asap).
> The website is generated by Hugo. I run hugo on my computer, then rsync 
> everything on the server, in the /var/www/html/hugo/MYWEBSITE folder.
> Everything worked great for years.
> This week I rebuilt the whole website almost from scratch, using a different 
> hugo theme and updating many pages.
> Then I ran rsync, checked the new website in my browser, jumping from page to 
> page, and everything worked as expected: new theme, new content, new menus, 
> everything.
> 2/3 minutes later, the OLD website reappeared, all of it, as if I had not ran 
> rsync at all. For example, in the new website there is a new subfolder called 
> "bio", that did not exist in the old version.
> 
> If I ssh to the server, cd to /var/www/html/hugo/MYWEBSITE  and run "ls -l" 
> RIGHT AFTER running rsync, I see the "bio" subfolder. If I do "ls -l" 3 
> minutes later, the "bio" subfolder is no more.
> 
> I have repeated the rsync process 5/6 times before writing this email, and 
> it's always the same. Every time I rsync, what I uploaded lasts 2/3 minutes, 
> then the WHOLE folder on the server is erased and refilled with the previous 
> full version of the website.

Are you running cPanel?

> 
> It's as if there were some hidden cron job somewhere that runs hugo on the 
> OLD source files, but I can't find it. All the standard methods one can find 
> by googling "how to list all cron jobs" don't show anything that may be the 
> reason.
> THANKS in advance for any help,
> Marco
> _______
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
>   
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

___
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 Robert Heller
/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
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] Question about virt-manager Version 9.1

2023-02-11 Thread Robert Nichols

On 2/10/23 11:07, Joshua Kramer wrote:

This may provide the answer you are looking for: it's being deprecated in
favor of Cockpit.

https://bugzilla.redhat.com/show_bug.cgi?id=2030592


Deprecated, yes, rut only in Red Hat. Still fully supported upstream.
https://blog.wikichoon.com/2020/06/virt-manager-deprecated-in-rhel.html

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.


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


Re: [CentOS] CentOS9 vs. s-nail

2023-01-19 Thread Robert Heller
It is called "Quoted Printable".  There should be something in the E-Mail 
header that indicates this (Content-Transfer-Encoding header).  Maybe either 
Logwatch or s-nail is leaving out this header.

https://en.wikipedia.org/wiki/Quoted-printable

At Thu, 19 Jan 2023 15:50:37 -0500 CentOS mailing list  
wrote:

> 
> =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
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] Upgrading system from non-RAID to RAID1

2023-01-11 Thread Robert Moskowitz



On 1/11/23 02:09, Simon Matter wrote:

I plan to upgrade an existing C7 computer which currently has one 256 GB
SSD to use mdadmin software RAID1 after adding two 4 TB M2. SSDs, the rest
of the system remaining the same. The system also has one additional
internal and one external harddisk but these should not be touched. The
system will continue to run C7.

 trimming


- I do not see any benefit to breaking up the LVM2/LUKS partition
containing /root, /swap and /home into more than one RAID1 partition or am
I wrong? If the SSD fails, the entire SSD would fail and break the system,
hence I might as well keep it as one single RAID1 partition, or?

What I usually do is this: "cut" the large disk into several pieces of
equal size and create individual RAID1 arrays. Then add them as LVM PVs to
one large VG. The advantage is that with one error on one disk, you wont
lose redundancy on the whole RAID mirror but only on a partial segment.
You can even lose another segment with an error on the other disk and
still have redundancy if the error is in another part.

That said, it's a bit more work to setup but has helped me several times
in the decades ago.


Ah, now I begin to get it.  Separate partitions RAIDed.




- Is the next step after the RAID1 partitioning above then to do a minimal
install of C7 followed by using clonezilla to restoring the LVM2/LUKS
partition??

- Any advice on using clonezilla? Or the external partitioning tool?

  - Finally, since these new SSDs are huge, perhaps I should take the
opportunity to increase the space for both /root and /swap?

- /root is 50 GB - should I increase it to eg 100 GB?

- The system currently has 32 GB of memory but I will likely upgrade it to
64 GB (or even 128 GB), perhaps I should at this time already increase the
/swap space to 64 GB/128 GB?

I'm also interested here to learn what others are doing in higher memory
situations. I have some systems with half a TB memory and never configured
more than 16GB of swap. I has usually worked well and when a system
started to use swap heavily, there was something really wrong in an
application and had to be fixed there. Additionally we've tuned the kernel
VM settings so that it didn't want to swap too much. Because swapping was
always slow anyway even on fast U.2 NVME SSD storage.


Perhaps you have not dealt with Firefox?  :)

On my Fedora 35 notebook, it slowly gobbles memory and I have to quit it 
after some number of days and restart.


Now I only have 16GB of memory, 16GB physical swap, and 8GB zram swap.

Building a F37 system now and see how that works, I doubt there is any 
improved behavior with Firefox.





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] RAID1 setup

2023-01-11 Thread Robert Moskowitz



On 1/10/23 20:20, Robert Moskowitz wrote:

Official drives should be here Friday, so trying to get reading.



On 1/9/23 01:32, Simon Matter wrote:

Hi


Continuing this thread, and focusing on RAID1.

I got an HPE Proliant gen10+ that has hardware RAID support. (can turn
it off if I want).
What exact model of RAID controller is this? If it's a S100i SR Gen10 
then

it's not hardware RAID at all.


Yes, I found the information:

HPE Smart Array Gen10 Controllers Data Sheet.

Software RAID

· HPE Smart Array S100i SR Gen10 Software RAID

Notes:

- HPE Smart Array S100i SR Gen10 SW RAID will operate in UEFI mode 
only. For legacy support an additional controller will be needed


- The S100i only supports Windows. For Linux users, HPE offers a 
solution that uses in-distro open-source software to create a two-disk 
RAID 1 boot volume. For more information visit: 
https://downloads.linux.hpe.com/SDR/project/lsrrb/


I have yet to look at this url.


This guide seems to answer MOST of my questions.





I am planning two groupings of RAID1 (it has 4 bays).

There is also an internal USB boot port.

So I am really a newbie in working with RAID.  From this thread it
sounds like I want /boot and /boot/efi on that USBVV boot device.

I suggest to use the USB device only to bot the installation medium, not
use it for anything used by the OS.


Will it work to put / on the first RAID group?  What happens if the 1st
drive fails and it is replaced with a new blank drive.  Will the config
in /boot figure this out or does the RAID hardware completely mask 
the 2

drives and the system runs on the good one while the new one is being
replicated?


I am trying to grok what you are saying here.  is MD0-4 the physical 
disks or partitions?


I see from your response to another poster you ARE talking about RAID on 
individual partitions.  So I can better think about your approach now.


thanks



All the drives I am getting are 4TB, as that is the smallest 
Enterprise quality HD I could find!  Quite overkill for me, $75 each.



I guess the best thing would be to use Linux Software RAID and create a
small RAID1 (MD0) device for /boot and another one for /boot/efi (MD1),


Here is sounds like MD0 and MD1 are partitions, not physical drives?

both in the beginning of disk 0 and 1 (MD2). The remaining space on 
disk 0

and 1 are created as another MD device. Disk 2 and 3 are also created as
one RAID1 (MD3) device. Formatting can be done like this

MD0 has filesystem for /boot
MD1 has filesystem for /boot/efi
MD2 is used as LVM PV
MD3 is used as LVM PV


Now it really seems like MDn are partitions with MD0-3 on disks 1&2 
and MD3 on disks 3&4?



All other filesystems like / or /var or /home... will be created on LVM
Logical Volumes to give you full flexibility to manage storage.


Given using iRedMail which puts all mail store under /var/vmail, /var 
goes on disks 3&4.


/home will be little stuff.  iRedMail components put their configs and 
data (like domain and user sql database) all over the places. Disks 
1&2 will be basically empty.  Wish I could have found high quality 1TB 
drives for less...


thanks



Regards,
Simon


I also don't see how to build that boot USB stick.  I will have the
install ISO in the boot USB port and the 4 drives set up with hardware
RAID.  How are things figure out?  I am missing some important piece 
here.


Oh, HP does list Redhat support for this unit.

thanks for all help.

Bob

On 1/6/23 11:45, Chris Adams wrote:

Once upon a time, Simon Matter  said:

Are you sure that's still true? I've done it that way in the past but
it
seems at least with EL8 you can put /boot/efi on md raid1 with 
metadata

format 1.0. That way the EFI firmware will see it as two independent
FAT
filesystems. Only thing you have to be sure is that nothing ever 
writes

to
these filesystems when Linux is not running, otherwise your /boot/efi
md
raid will become corrupt.

Can someone who has this running confirm that it works?

Yes, that's even how RHEL/Fedora set it up currently I believe.  But
like you say, it only works as long as there's no other OS on the 
system
and the UEFI firmware itself is never used to change anything on 
the FS.

It's not entirely clear that most UEFI firmwares would handle a drive
failure correctly either (since it's outside the scope of UEFI), so 
IIRC

there's been some consideration in Fedora of dropping this support.

And... I'm not sure if GRUB2 handles RAID 1 /boot fully correctly, for
things where it writes to the FS (grubenv updates for "savedefault" 
for
example).  But, there's other issues with GRUB2's FS handling 
anyway, so

this case is probably far down the list.

I think that having RAID 1 for /boot and/or /boot/efi can be helpful
(and I've set it up, definitely not saying "don't do that"), but 
has to

be handled with care and possibly (probably?) would need manual
intervention to get

Re: [CentOS] RAID1 setup

2023-01-10 Thread Robert Moskowitz

Official drives should be here Friday, so trying to get reading.



On 1/9/23 01:32, Simon Matter wrote:

Hi


Continuing this thread, and focusing on RAID1.

I got an HPE Proliant gen10+ that has hardware RAID support.  (can turn
it off if I want).

What exact model of RAID controller is this? If it's a S100i SR Gen10 then
it's not hardware RAID at all.


Yes, I found the information:

HPE Smart Array Gen10 Controllers Data Sheet.

Software RAID

· HPE Smart Array S100i SR Gen10 Software RAID

Notes:

- HPE Smart Array S100i SR Gen10 SW RAID will operate in UEFI mode only. 
For legacy support an additional controller will be needed


- The S100i only supports Windows. For Linux users, HPE offers a 
solution that uses in-distro open-source software to create a two-disk 
RAID 1 boot volume. For more information visit: 
https://downloads.linux.hpe.com/SDR/project/lsrrb/


I have yet to look at this url.



I am planning two groupings of RAID1 (it has 4 bays).

There is also an internal USB boot port.

So I am really a newbie in working with RAID.  From this thread it
sounds like I want /boot and /boot/efi on that USBVV boot device.

I suggest to use the USB device only to bot the installation medium, not
use it for anything used by the OS.


Will it work to put / on the first RAID group?  What happens if the 1st
drive fails and it is replaced with a new blank drive.  Will the config
in /boot figure this out or does the RAID hardware completely mask the 2
drives and the system runs on the good one while the new one is being
replicated?


I am trying to grok what you are saying here.  is MD0-4 the physical 
disks or partitions?


All the drives I am getting are 4TB, as that is the smallest Enterprise 
quality HD I could find!  Quite overkill for me, $75 each.



I guess the best thing would be to use Linux Software RAID and create a
small RAID1 (MD0) device for /boot and another one for /boot/efi (MD1),


Here is sounds like MD0 and MD1 are partitions, not physical drives?


both in the beginning of disk 0 and 1 (MD2). The remaining space on disk 0
and 1 are created as another MD device. Disk 2 and 3 are also created as
one RAID1 (MD3) device. Formatting can be done like this

MD0 has filesystem for /boot
MD1 has filesystem for /boot/efi
MD2 is used as LVM PV
MD3 is used as LVM PV


Now it really seems like MDn are partitions with MD0-3 on disks 1&2 and 
MD3 on disks 3&4?



All other filesystems like / or /var or /home... will be created on LVM
Logical Volumes to give you full flexibility to manage storage.


Given using iRedMail which puts all mail store under /var/vmail, /var 
goes on disks 3&4.


/home will be little stuff.  iRedMail components put their configs and 
data (like domain and user sql database) all over the places. Disks 1&2 
will be basically empty.  Wish I could have found high quality 1TB 
drives for less...


thanks



Regards,
Simon


I also don't see how to build that boot USB stick.  I will have the
install ISO in the boot USB port and the 4 drives set up with hardware
RAID.  How are things figure out?  I am missing some important piece here.

Oh, HP does list Redhat support for this unit.

thanks for all help.

Bob

On 1/6/23 11:45, Chris Adams wrote:

Once upon a time, Simon Matter  said:

Are you sure that's still true? I've done it that way in the past but
it
seems at least with EL8 you can put /boot/efi on md raid1 with metadata
format 1.0. That way the EFI firmware will see it as two independent
FAT
filesystems. Only thing you have to be sure is that nothing ever writes
to
these filesystems when Linux is not running, otherwise your /boot/efi
md
raid will become corrupt.

Can someone who has this running confirm that it works?

Yes, that's even how RHEL/Fedora set it up currently I believe.  But
like you say, it only works as long as there's no other OS on the system
and the UEFI firmware itself is never used to change anything on the FS.
It's not entirely clear that most UEFI firmwares would handle a drive
failure correctly either (since it's outside the scope of UEFI), so IIRC
there's been some consideration in Fedora of dropping this support.

And... I'm not sure if GRUB2 handles RAID 1 /boot fully correctly, for
things where it writes to the FS (grubenv updates for "savedefault" for
example).  But, there's other issues with GRUB2's FS handling anyway, so
this case is probably far down the list.

I think that having RAID 1 for /boot and/or /boot/efi can be helpful
(and I've set it up, definitely not saying "don't do that"), but has to
be handled with care and possibly (probably?) would need manual
intervention to get booting again after a drive failure or replacement.


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



___
CentOS mailing list
CentOS@centos.org

Re: [CentOS] Help with an HP Proliant gen10 plus?

2023-01-09 Thread Robert Moskowitz



On 1/9/23 01:37, Simon Matter wrote:

Just starting and trying to boot off the SPP firmware update ISO image
on a USB stick.

I made the stick with:

# mkfs.vfat /dev/sdb


Why create an MS-DOS filesystem on the stick which gets immediately
overwritten in the next step?


I think the idea is to get that first 4MB set up for booting, as the dd 
skips that space.






# dd bs=4M
if=P52581_001_gen10spp-2022.09.01.00-SPP2022090100.2022_0930.1.iso
of=/dev/sdb status=progress

Is this what HPE says how to create the stick? If yes then you may ask HPE
how to get it to work.


HP gives no instructions.  At least I can't find it on the support 
pages.  I do have a support account.


You should just 'know' how to build a bootable device from a 9GB iso image.





The usb drive is 16GB and the iso is 9GB.

seem to boot from it and go into auto install of firmware then died with

starting initrd...

warning!!! Unable to mount the file system [cdrom]
warning!!! Unable to mount the file system

Preboot maintence mode

/bin/ash: can't access tty: job control turned off

and at # prompt.

There is no cdrom on the gen10 plus.  Only in internal bootable usb port.

That's usually fine because the cdrom can be mounted as loop device. No
need for a real cdrom.


Yeah.  Going to work on it some more today.  Plus got a finish a paper 
for a symposium.  I give up on learning tex; I found a word template 
that can create the right pdf, so pull out all my writing in tex and 
start over.  And I DO use the IETF's xml format for creating Internet 
Drafts, so I am teachable on this stuff despite my age...


I do vaguely recall working with tex for writing back around '78, but 
that was it.




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] Help with an HP Proliant gen10 plus?

2023-01-08 Thread Robert Moskowitz
Just starting and trying to boot off the SPP firmware update ISO image 
on a USB stick.


I made the stick with:

# mkfs.vfat /dev/sdb
# dd bs=4M 
if=P52581_001_gen10spp-2022.09.01.00-SPP2022090100.2022_0930.1.iso 
of=/dev/sdb status=progress


The usb drive is 16GB and the iso is 9GB.

seem to boot from it and go into auto install of firmware then died with

starting initrd...

warning!!! Unable to mount the file system [cdrom]
warning!!! Unable to mount the file system

Preboot maintence mode

/bin/ash: can't access tty: job control turned off

and at # prompt.

There is no cdrom on the gen10 plus.  Only in internal bootable usb port.


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


[CentOS] RAID1 setup

2023-01-08 Thread Robert Moskowitz

Continuing this thread, and focusing on RAID1.

I got an HPE Proliant gen10+ that has hardware RAID support.  (can turn 
it off if I want).


I am planning two groupings of RAID1 (it has 4 bays).

There is also an internal USB boot port.

So I am really a newbie in working with RAID.  From this thread it 
sounds like I want /boot and /boot/efi on that USBVV boot device.


Will it work to put / on the first RAID group?  What happens if the 1st 
drive fails and it is replaced with a new blank drive.  Will the config 
in /boot figure this out or does the RAID hardware completely mask the 2 
drives and the system runs on the good one while the new one is being 
replicated?


I also don't see how to build that boot USB stick.  I will have the 
install ISO in the boot USB port and the 4 drives set up with hardware 
RAID.  How are things figure out?  I am missing some important piece here.


Oh, HP does list Redhat support for this unit.

thanks for all help.

Bob

On 1/6/23 11:45, Chris Adams wrote:

Once upon a time, Simon Matter  said:

Are you sure that's still true? I've done it that way in the past but it
seems at least with EL8 you can put /boot/efi on md raid1 with metadata
format 1.0. That way the EFI firmware will see it as two independent FAT
filesystems. Only thing you have to be sure is that nothing ever writes to
these filesystems when Linux is not running, otherwise your /boot/efi md
raid will become corrupt.

Can someone who has this running confirm that it works?

Yes, that's even how RHEL/Fedora set it up currently I believe.  But
like you say, it only works as long as there's no other OS on the system
and the UEFI firmware itself is never used to change anything on the FS.
It's not entirely clear that most UEFI firmwares would handle a drive
failure correctly either (since it's outside the scope of UEFI), so IIRC
there's been some consideration in Fedora of dropping this support.

And... I'm not sure if GRUB2 handles RAID 1 /boot fully correctly, for
things where it writes to the FS (grubenv updates for "savedefault" for
example).  But, there's other issues with GRUB2's FS handling anyway, so
this case is probably far down the list.

I think that having RAID 1 for /boot and/or /boot/efi can be helpful
(and I've set it up, definitely not saying "don't do that"), but has to
be handled with care and possibly (probably?) would need manual
intervention to get booting again after a drive failure or replacement.



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


Re: [CentOS] Looking for a RAID1 box

2023-01-06 Thread Robert Moskowitz
Well I just ordered a Proliant gen10+ microserver, as the gen10 of for 
1/2 the price was the $0.59 hamburger (we ad it, but you can't order it).


I also ordered 4 Seagate 4T terascale drives (seems nothing smaller around).

So in some 2 weeks I will have it all together and will see what happens 
when I do the install.


:)

Supposedly there is an internal boot usb port in the gen10+

On 1/6/23 09:42, Robert Heller wrote:

At Fri, 6 Jan 2023 08:39:22 +0100 CentOS mailing list  wrote:


Hi


I have found a:

HPE 873830-S01 ProLiant MicroServer Gen10

for <$300 without drives.  If I can believe the seller, it has a AMD
Opteron X3216 Dual-core (2 Core) 1.6GHz and 8GB Installed.

It has 4 3.5" bays. and 1? "Media" bay?

https://www.servertechsupply.com/873830-s01/

this could well be acceptable.  Got to find out power draw.  Looks like
~40W.

Any input on issues of OS install?  Do I go with separate OS and data
RAID1 sets?

I usually do

[ 1(+n) RAID1 ]->[ LVM ]->[ XFS ]

then you can use LVM to manage different filesystems as required.

/boot and/or /boot/efi should be on its own RAID1 with old metadata
version but I'm not up to date about how the situation is exactly with
EL9.

It depends on the version of Grub.  Grub V1 needs /boot to be RAID1 with old
metadata (metadata at the *end* of the partition, so Grub just sees a plain
ext2/3/4 file system to find vmlinuz and initrd).  Note: /boot/efi or the grub
fs that Grub2 seems to want cannot be RAID, but you should duplicate the
partitions across all of the physical disks in the raid set and arange some
other way of "mirroring" them (eg rsync or some such -- does not need to be
continious, since these file systems don't change continuiously).  I believe
Grub V2 understands raid and LVM, so having a separate /boot raid set might
not be needed.  Things like /boot/efi and grub's on fs still need to exist
outside of the raid set and will need "manual" mirroring.


Simon


Also HPE is ClearOS.  I ran ClearOS6 for years before going with QNAP
turnkey.  Perhaps current ClearOS is better, but it does not handle
multi-domain email as I need.  Or it did not.  So I am going to install
my own CentOS variant and iRedMail...

thanks


On 1/5/23 13:08, Jon LaBadie wrote:

On Thu, Jan 05, 2023 at 08:18:08AM -0500, Robert Moskowitz wrote:

Proliant gen8 does NOT have UEFI.

So I think this means I better move up to the gen10...


I'm pleased with my Gen 10+ (Plus).  Pricer than I thought
you want.

I like the "no power supply", just an external brick.
Quiet.  I put in a PCI card to use 2 NVMe sticks, one for
system and one for /home.  You can also boot from an internal
usb port like a thumb drive permanently installed.

Carriers for 2.5inch SSD drives work fine so with few fans,
no drive motors, could be quite low power.

Mine acts as email server, local caching DNS server (dnsmasq)
and Amanda backup server.

Jon



___
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] Looking for a RAID1 box

2023-01-06 Thread Robert Heller
At Fri, 6 Jan 2023 08:39:22 +0100 CentOS mailing list  wrote:

> 
> Hi
> 
> > I have found a:
> >
> > HPE 873830-S01 ProLiant MicroServer Gen10
> >
> > for <$300 without drives.  If I can believe the seller, it has a AMD
> > Opteron X3216 Dual-core (2 Core) 1.6GHz and 8GB Installed.
> >
> > It has 4 3.5" bays. and 1? "Media" bay?
> >
> > https://www.servertechsupply.com/873830-s01/
> >
> > this could well be acceptable.  Got to find out power draw.  Looks 
> > like
> > ~40W.
> >
> > Any input on issues of OS install?  Do I go with separate OS and data
> > RAID1 sets?
> 
> I usually do
> 
> [ 1(+n) RAID1 ]->[ LVM ]->[ XFS ]
> 
> then you can use LVM to manage different filesystems as required.
> 
> /boot and/or /boot/efi should be on its own RAID1 with old metadata
> version but I'm not up to date about how the situation is exactly with
> EL9.

It depends on the version of Grub.  Grub V1 needs /boot to be RAID1 with old 
metadata (metadata at the *end* of the partition, so Grub just sees a plain 
ext2/3/4 file system to find vmlinuz and initrd).  Note: /boot/efi or the grub 
fs that Grub2 seems to want cannot be RAID, but you should duplicate the 
partitions across all of the physical disks in the raid set and arange some 
other way of "mirroring" them (eg rsync or some such -- does not need to be 
continious, since these file systems don't change continuiously).  I believe 
Grub V2 understands raid and LVM, so having a separate /boot raid set might 
not be needed.  Things like /boot/efi and grub's on fs still need to exist 
outside of the raid set and will need "manual" mirroring.

> 
> Simon
> 
> >
> > Also HPE is ClearOS.  I ran ClearOS6 for years before going with QNAP
> > turnkey.  Perhaps current ClearOS is better, but it does not handle
> > multi-domain email as I need.  Or it did not.  So I am going to 
> > install
> > my own CentOS variant and iRedMail...
> >
> > thanks
> >
> >
> > On 1/5/23 13:08, Jon LaBadie wrote:
> >> On Thu, Jan 05, 2023 at 08:18:08AM -0500, Robert Moskowitz wrote:
> >>> Proliant gen8 does NOT have UEFI.
> >>>
> >>> So I think this means I better move up to the gen10...
> >>>
> >>
> >> I'm pleased with my Gen 10+ (Plus).  Pricer than I thought
> >> you want.
> >>
> >> I like the "no power supply", just an external brick.
> >> Quiet.  I put in a PCI card to use 2 NVMe sticks, one for
> >> system and one for /home.  You can also boot from an internal
> >> usb port like a thumb drive permanently installed.
> >>
> >> Carriers for 2.5inch SSD drives work fine so with few fans,
> >> no drive motors, could be quite low power.
> >>
> >> Mine acts as email server, local caching DNS server (dnsmasq)
> >> and Amanda backup server.
> >>
> >> Jon
> >>
> >
> >
> > ___
> > 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
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Looking for a RAID1 box

2023-01-05 Thread Robert Moskowitz

I have found a:

HPE 873830-S01 ProLiant MicroServer Gen10

for <$300 without drives.  If I can believe the seller, it has a AMD 
Opteron X3216 Dual-core (2 Core) 1.6GHz and 8GB Installed.


It has 4 3.5" bays. and 1? "Media" bay?

https://www.servertechsupply.com/873830-s01/

this could well be acceptable.  Got to find out power draw.  Looks like 
~40W.


Any input on issues of OS install?  Do I go with separate OS and data 
RAID1 sets?


Also HPE is ClearOS.  I ran ClearOS6 for years before going with QNAP 
turnkey.  Perhaps current ClearOS is better, but it does not handle 
multi-domain email as I need.  Or it did not.  So I am going to install 
my own CentOS variant and iRedMail...


thanks


On 1/5/23 13:08, Jon LaBadie wrote:

On Thu, Jan 05, 2023 at 08:18:08AM -0500, Robert Moskowitz wrote:

Proliant gen8 does NOT have UEFI.

So I think this means I better move up to the gen10...



I'm pleased with my Gen 10+ (Plus).  Pricer than I thought
you want.

I like the "no power supply", just an external brick.
Quiet.  I put in a PCI card to use 2 NVMe sticks, one for
system and one for /home.  You can also boot from an internal
usb port like a thumb drive permanently installed.

Carriers for 2.5inch SSD drives work fine so with few fans,
no drive motors, could be quite low power.

Mine acts as email server, local caching DNS server (dnsmasq)
and Amanda backup server.

Jon




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


Re: [CentOS] Looking for a RAID1 box

2023-01-05 Thread Robert Moskowitz

Proliant gen8 does NOT have UEFI.

So I think this means I better move up to the gen10...

On 1/4/23 09:44, Robert Moskowitz wrote:

After a lot of hours searching, here is what I am coming to

3.5" 2-bay standard built just does not exist these days.  Pretty much 
everything is at least 4-bay.


the HP Proliant gen8 looks like a good deal, and only use 2 bays. Some 
models have RAID1.


9x9x10 case, not too bad.

The 1U setups end up being more as they expect them to be used for big 
servers.


Or I head over to Microcenter tomorrow (have to go anyway for a few 
items, 8mi away) and see what we can build.  They have a few 2-bay boxes.


One "enticing" aspect of the gen8 is one pair of drives, 1Gb, for the 
OS and another pair for the mail.


On 1/3/23 17:42, Robert Heller wrote:
Just search for a 2-disk 1U x86_64 (Intel or AMD) system that has 
room for 2
SATA drives (probably a pair 2.5" SSDs). Don't bother to search for 
RAID.


Probably something like these:

https://duckduckgo.com/?t=ffsb=1u+server+=shopping=shopping


At Tue, 3 Jan 2023 17:22:13 -0500 Robert Moskowitz 
 wrote:



And I am just coming up empty on my searches.

My search foo has been really off, it seems.

On 1/3/23 17:13, Robert Heller wrote:

At Tue, 3 Jan 2023 16:55:40 -0500 Robert Moskowitz wrote:


Help?

I am looking for a box I can drop Centos or one of the spinoffs that:

Has RAID1 internal (not an external USB RAID thing)
      Can be 
software or hardware
All modern Linux kernels include software RAID out-of-the-box.  
This means any

system that supports more than one disk that you can install Linux on
(including CentOS) can be set up with Linux software RAID. If you want
hot-swap, there are various SATA hot-swap units than can be mounted 
in a ATX
case with front 5" or 3" spaces.  A modern ATX motherboard with a 
AHA SATA
controller will support Linux, including hot-swap SATA disks, 
including SATA

connected SSDs.


small (4TB/drive fine) and low power

I plan to use it ONLY for email server. perhaps 
iRedMail


I have spent a lot of time looking and not finding any such piece 
of metal.


All I find are NAS boxes with their own OS.

thanks

Bob (frustrated)
___
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] Looking for a RAID1 box

2023-01-05 Thread Robert Moskowitz
I have a few hardkernels and I was the one that got Centos-arm working 
on them and booting completely off the HD.


Problem comes back to it is ARM.

I have their Odroid HC4 for doing RAID, but could not get any Linux but 
theirs installed.


It is sitting on my desk, unused.

And as I mentioned, iRedMail does not support ARM.

So I am looking for something x64ish.

thanks

On 1/4/23 13:47, Michael Schumacher wrote:

Hi Robert,

my old home server needed to much energy (~80VA) permanently, so I went for an 
https://www.hardkernel.com/shop/odroid-h3-plus/
The manufacturer is located in Korea and has dealers around the world. Put it 
in one of their cases https://www.hardkernel.com/shop/odroid-h3-case-type-1/ 
add two drives and you will have a system that consumes less than 20VA under 
load, less than 15VA idle. My new system is just doing its job, the whole thing 
will be below 250USD excluding drives.

Michael

Tuesday, January 3, 2023, 10:55:40 PM, schriebst Du:


Help?
I am looking for a box I can drop Centos or one of the spinoffs that:
Has RAID1 internal (not an external USB RAID thing)
      Can be software or hardware
small (4TB/drive fine) and low power
I plan to use it ONLY for email server.  perhaps iRedMail
I have spent a lot of time looking and not finding any such piece of metal.
All I find are NAS boxes with their own OS.
thanks
Bob (frustrated)
___
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] Looking for a RAID1 box

2023-01-04 Thread Robert Moskowitz

After a lot of hours searching, here is what I am coming to

3.5" 2-bay standard built just does not exist these days.  Pretty much 
everything is at least 4-bay.


the HP Proliant gen8 looks like a good deal, and only use 2 bays. Some 
models have RAID1.


9x9x10 case, not too bad.

The 1U setups end up being more as they expect them to be used for big 
servers.


Or I head over to Microcenter tomorrow (have to go anyway for a few 
items, 8mi away) and see what we can build.  They have a few 2-bay boxes.


One "enticing" aspect of the gen8 is one pair of drives, 1Gb, for the OS 
and another pair for the mail.


On 1/3/23 17:42, Robert Heller wrote:

Just search for a 2-disk 1U x86_64 (Intel or AMD) system that has room for 2
SATA drives (probably a pair 2.5" SSDs). Don't bother to search for RAID.

Probably something like these:

https://duckduckgo.com/?t=ffsb=1u+server+=shopping=shopping


At Tue, 3 Jan 2023 17:22:13 -0500 Robert Moskowitz  wrote:


And I am just coming up empty on my searches.

My search foo has been really off, it seems.

On 1/3/23 17:13, Robert Heller wrote:

At Tue, 3 Jan 2023 16:55:40 -0500 Robert Moskowitz wrote:


Help?

I am looking for a box I can drop Centos or one of the spinoffs that:

Has RAID1 internal (not an external USB RAID thing)
       Can be software or 
hardware

All modern Linux kernels include software RAID out-of-the-box.  This means any
system that supports more than one disk that you can install Linux on
(including CentOS) can be set up with Linux software RAID.  If you want
hot-swap, there are various SATA hot-swap units than can be mounted in a ATX
case with front 5" or 3" spaces.  A modern ATX motherboard with a AHA SATA
controller will support Linux, including hot-swap SATA disks, including SATA
connected SSDs.


small (4TB/drive fine) and low power

I plan to use it ONLY for email server.  perhaps iRedMail

I have spent a lot of time looking and not finding any such piece of metal.

All I find are NAS boxes with their own OS.

thanks

Bob (frustrated)
___
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] Looking for a RAID1 box

2023-01-03 Thread Robert Moskowitz

I have reached the age where I don't want to put together my own hardware.

Plus iRedMail says no support for ARM.

I have LOTs of ARM boards here and have been working with them for over 
10 years



http://medon.htt-consult.com/images/cubietower-3.JPG

But I need stuff that someone else can come along and run if needed.

thanks

On 1/3/23 21:07, Bill Campbell wrote:

On Tue, Jan 03, 2023, Robert Moskowitz wrote:

Well what I am finding looks like it will be in the +80W range and I am
trying to use less electricity.  I would put up with 40W, including drives.

You might want to consider a Raspberry Pi 4 with 8GB RAM and a
case that will support a couple of 2.5in SSD drives.  I'm running
one here with postfix, courier-imap, clamav, amavisd, ...  Mine
is in an Argon One case with single 2TB SSD with a PoE Splitter.
It's running the same email software that we run on CentOS and
AlmaLinux.  Current uptime on out main mail server is 362 days.

This case has space for 2 2.5in SSD drives.

https://smile.amazon.com/Geekworm-Raspberry-Storage-Expansion-Compatible/dp/B07VXF2HJG

Geekworm New NASPi Gemini Dual 2.5'' SATA HDD/SSD NAS Storage Kit with DC
6-18V Wide Voltage Input|Safe Shutdown|Auto Power On|RAID Function for
Raspberry Pi 4 Model B(Not Include Raspberry Pi)

 ++
 |  Part   Price  |
 ++
 |RPi4B 8GB   $215.00 |
 |Case  70.00 |
 |2SSD 300.00 |
 ++
 |Total   $585.00 |
 ++

Bill
--
INTERNET:   b...@celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www2.celestial.com/ 6641 E. Mercer Way
Mobile: (206) 947-5591  Mercer Island, WA 98040

There has been no greater threat to life, liberty, and property
throughout the ages than government. Even the most violent and brutal
private individuals have been able to inflict only a mere fraction of
the harm and destruction that have been caused by the use of power by
political authorities. -- Richard Ebeling
___
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] Looking for a RAID1 box

2023-01-03 Thread Robert Moskowitz

OK I am seeing claims that the Proliant Gen8 is 25 - 40W.

More digging.

On 1/3/23 17:51, Robert Moskowitz wrote:
Well what I am finding looks like it will be in the +80W range and I 
am trying to use less electricity.  I would put up with 40W, including 
drives.


ITX board most likely?

And will I end up needing 3 drives or does mirroring the OS partition 
work.


On 1/3/23 17:42, Joshua Kramer wrote:

Look at HP Microserver line... it's as close as you're going to get.

On Tue, Jan 3, 2023, 5:22 PM Robert Moskowitz  
wrote:



And I am just coming up empty on my searches.

My search foo has been really off, it seems.

On 1/3/23 17:13, Robert Heller wrote:

At Tue, 3 Jan 2023 16:55:40 -0500 Robert Moskowitz wrote:


Help?

I am looking for a box I can drop Centos or one of the spinoffs that:

Has RAID1 internal (not an external USB RAID thing)
       Can be software or hardware

All modern Linux kernels include software RAID out-of-the-box.  This

means any

system that supports more than one disk that you can install Linux on
(including CentOS) can be set up with Linux software RAID. If you want
hot-swap, there are various SATA hot-swap units than can be mounted 
in a

ATX

case with front 5" or 3" spaces.  A modern ATX motherboard with a AHA

SATA
controller will support Linux, including hot-swap SATA disks, 
including

SATA

connected SSDs.


small (4TB/drive fine) and low power

I plan to use it ONLY for email server.  perhaps iRedMail

I have spent a lot of time looking and not finding any such piece of

metal.

All I find are NAS boxes with their own OS.

thanks

Bob (frustrated)
___
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


___
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] Looking for a RAID1 box

2023-01-03 Thread Robert Moskowitz
Well what I am finding looks like it will be in the +80W range and I am 
trying to use less electricity.  I would put up with 40W, including drives.


ITX board most likely?

And will I end up needing 3 drives or does mirroring the OS partition work.

On 1/3/23 17:42, Joshua Kramer wrote:

Look at HP Microserver line... it's as close as you're going to get.

On Tue, Jan 3, 2023, 5:22 PM Robert Moskowitz  wrote:


And I am just coming up empty on my searches.

My search foo has been really off, it seems.

On 1/3/23 17:13, Robert Heller wrote:

At Tue, 3 Jan 2023 16:55:40 -0500 Robert Moskowitz wrote:


Help?

I am looking for a box I can drop Centos or one of the spinoffs that:

Has RAID1 internal (not an external USB RAID thing)
       Can be software or hardware

All modern Linux kernels include software RAID out-of-the-box.  This

means any

system that supports more than one disk that you can install Linux on
(including CentOS) can be set up with Linux software RAID.  If you want
hot-swap, there are various SATA hot-swap units than can be mounted in a

ATX

case with front 5" or 3" spaces.  A modern ATX motherboard with a AHA

SATA

controller will support Linux, including hot-swap SATA disks, including

SATA

connected SSDs.


small (4TB/drive fine) and low power

I plan to use it ONLY for email server.  perhaps iRedMail

I have spent a lot of time looking and not finding any such piece of

metal.

All I find are NAS boxes with their own OS.

thanks

Bob (frustrated)
___
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


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


Re: [CentOS] Looking for a RAID1 box

2023-01-03 Thread Robert Heller
Just search for a 2-disk 1U x86_64 (Intel or AMD) system that has room for 2
SATA drives (probably a pair 2.5" SSDs). Don't bother to search for RAID.

Probably something like these:

https://duckduckgo.com/?t=ffsb=1u+server+=shopping=shopping


At Tue, 3 Jan 2023 17:22:13 -0500 Robert Moskowitz  wrote:

> 
> And I am just coming up empty on my searches.
> 
> My search foo has been really off, it seems.
> 
> On 1/3/23 17:13, Robert Heller wrote:
> > At Tue, 3 Jan 2023 16:55:40 -0500 Robert Moskowitz wrote:
> >
> >> Help?
> >>
> >> I am looking for a box I can drop Centos or one of the spinoffs that:
> >>
> >> Has RAID1 internal (not an external USB RAID thing)
> >>       Can be software 
> >> or hardware
> > All modern Linux kernels include software RAID out-of-the-box.  This means 
> > any
> > system that supports more than one disk that you can install Linux on
> > (including CentOS) can be set up with Linux software RAID.  If you want
> > hot-swap, there are various SATA hot-swap units than can be mounted in a ATX
> > case with front 5" or 3" spaces.  A modern ATX motherboard with a AHA SATA
> > controller will support Linux, including hot-swap SATA disks, including SATA
> > connected SSDs.
> >
> >> small (4TB/drive fine) and low power
> >>
> >> I plan to use it ONLY for email server.  perhaps iRedMail
> >>
> >> I have spent a lot of time looking and not finding any such piece of metal.
> >>
> >> All I find are NAS boxes with their own OS.
> >>
> >> thanks
> >>
> >> Bob (frustrated)
> >> ___
> >> 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
> 
>   
>  
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] Looking for a RAID1 box

2023-01-03 Thread Robert Moskowitz

And I am just coming up empty on my searches.

My search foo has been really off, it seems.

On 1/3/23 17:13, Robert Heller wrote:

At Tue, 3 Jan 2023 16:55:40 -0500 Robert Moskowitz wrote:


Help?

I am looking for a box I can drop Centos or one of the spinoffs that:

Has RAID1 internal (not an external USB RAID thing)
      Can be software or hardware

All modern Linux kernels include software RAID out-of-the-box.  This means any
system that supports more than one disk that you can install Linux on
(including CentOS) can be set up with Linux software RAID.  If you want
hot-swap, there are various SATA hot-swap units than can be mounted in a ATX
case with front 5" or 3" spaces.  A modern ATX motherboard with a AHA SATA
controller will support Linux, including hot-swap SATA disks, including SATA
connected SSDs.


small (4TB/drive fine) and low power

I plan to use it ONLY for email server.  perhaps iRedMail

I have spent a lot of time looking and not finding any such piece of metal.

All I find are NAS boxes with their own OS.

thanks

Bob (frustrated)
___
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] Looking for a RAID1 box

2023-01-03 Thread Robert Moskowitz

It will go into my rack cabinet so I COULD do a 1U format.

I would prefer something sitting on a shelf in the rack (next to my QNAP 
NAS) about the size to handle 2 HD and system board.


Enough memory for Centos and the mail server software.  Perhaps 2Gb is 
enough?  4Gb nice to have (anti-virus could eat up memory at times?)


Oh, has to be Intel not ARM (iRedMail req)

I don't need hot swap.  I just did a drive replace on my QNAP and it 
took ~10min to power down and swap drives.  Took 10hr to mirror to the 
new drive.


I DO want it all in the box.  No external drives.

And I don't want to build my own hardware.  I want to buy it, install 
drives, attach boot ISO, and install away.


Low power like 40W or less good.

This help?


On 1/3/23 17:02, Christopher Wensink wrote:
It depends on the structure of the drives.  Do you want a dedicated 
controller card or is an embedded card on the motherboard acceptable?


Entry Level Dell Poweredge T150 servers could work, or build your own 
rig with an SLI MegaRAID or HighPoint RocketRAID dedicated controller 
card.


There are configurations like this in a Rackmount configuration, tower 
configurations, or Mini Server configurations, it all depends on what 
kind of space / budget / environment it is going in.


Reply back with more details if you want a better answer.

Chris

On 1/3/2023 3:55 PM, Robert Moskowitz wrote:

Help?

I am looking for a box I can drop Centos or one of the spinoffs that:

Has RAID1 internal (not an external USB RAID thing)
    Can be software or hardware

small (4TB/drive fine) and low power

I plan to use it ONLY for email server.  perhaps iRedMail

I have spent a lot of time looking and not finding any such piece of 
metal.


All I find are NAS boxes with their own OS.

thanks

Bob (frustrated)
___
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] Looking for a RAID1 box

2023-01-03 Thread Robert Heller
At Tue, 3 Jan 2023 16:55:40 -0500 Robert Moskowitz wrote:

> 
> Help?
> 
> I am looking for a box I can drop Centos or one of the spinoffs that:
> 
> Has RAID1 internal (not an external USB RAID thing)
>      Can be software or hardware

All modern Linux kernels include software RAID out-of-the-box.  This means any 
system that supports more than one disk that you can install Linux on 
(including CentOS) can be set up with Linux software RAID.  If you want 
hot-swap, there are various SATA hot-swap units than can be mounted in a ATX 
case with front 5" or 3" spaces.  A modern ATX motherboard with a AHA SATA 
controller will support Linux, including hot-swap SATA disks, including SATA 
connected SSDs.

> 
> small (4TB/drive fine) and low power
> 
> I plan to use it ONLY for email server.  perhaps iRedMail
> 
> I have spent a lot of time looking and not finding any such piece of metal.
> 
> All I find are NAS boxes with their own OS.
> 
> thanks
> 
> Bob (frustrated)
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
   
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Looking for a RAID1 box

2023-01-03 Thread Robert Moskowitz

Help?

I am looking for a box I can drop Centos or one of the spinoffs that:

Has RAID1 internal (not an external USB RAID thing)
    Can be software or hardware

small (4TB/drive fine) and low power

I plan to use it ONLY for email server.  perhaps iRedMail

I have spent a lot of time looking and not finding any such piece of metal.

All I find are NAS boxes with their own OS.

thanks

Bob (frustrated)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Install PHP 8.1.12 on CentOS Linux release 7.9.2009 (Core).

2022-11-12 Thread Robert Heller


At Sat, 12 Nov 2022 22:47:13 +0530 CentOS mailing list  
wrote:

> 
> Hi,
> 
> I am running CentOS Linux release 7.9.2009 (Core). I have enabled both epel
> and IUS repositories to install https://www.php.net/ChangeLog-8.php#8.1.12.
> It is not available.
> 
> Do I need to install and enable any other repository to install PHP 8.1.12?

I installed the Remi repo and upgraded to PHP 8.1.x (currently at PHP
8.1.12-1), with hardly a problem (I needed to uninstall one 7.2 package and
after the upgrade, reinstalled the 8.1 package).

> 
> #php -v
> PHP 8.1.12 (cli) (built: Oct 25 2022 17:30:00) (NTS gcc x86_64)
> Copyright (c) The PHP Group
> Zend Engine v4.1.12, Copyright (c) Zend Technologies
> with Zend OPcache v8.1.12, Copyright (c), by Zend Technologies
> 
> Please guide me. Thanks in advance.
> 
> Best Regards,
> 
> Kaushal
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
>    
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
  
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Upgrading PHP under CentOS 7

2022-09-01 Thread Robert Heller
I have been using the IUS repo to keep up-to-date with PHP on my CentOS 7 VPS. 
PHP 7.4.30 is nearing EOL and I am not seeing a newer version of PHP in the 
IUS repo.  What options do I have?  Does anyone know if a newer version of PHP 
will "appear" in the IUS repo or is there another repo I should be using?

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


[CentOS] BIND server getting DDOS

2022-08-02 Thread Robert Moskowitz
I just, maybe, figured out why I have been having problems with my 
CentOS DNS server with BIND 9.11.4.


Aug  2 15:47:19 onlo named[6155]: client @0xaa3cad80 114.29.194.4#11205 
(.): view external: query (cache) './A/IN' denied
Aug  2 15:47:19 onlo named[6155]: client @0xaa3cad80 
114.29.216.196#64956 (.): view external: query (cache) './A/IN' denied
Aug  2 15:47:19 onlo named[6155]: client @0xaa3cad80 64.68.114.141#39466 
(.): view external: query (cache) './A/IN' denied
Aug  2 15:47:19 onlo named[6155]: client @0xaa3cad80 
209.197.198.45#13280 (.): view external: query (cache) './A/IN' denied
Aug  2 15:47:19 onlo named[6155]: client @0xaa3cad80 
114.29.202.117#41955 (.): view external: query (cache) './A/IN' denied
Aug  2 15:47:19 onlo named[6155]: client @0xaa3cad80 62.109.204.22#4406 
(.): view external: query (cache) './A/IN' denied
Aug  2 15:47:49 onlo named[6155]: client @0xa9420720 64.68.104.9#38518 
(.): view external: query (cache) './A/IN' denied
Aug  2 15:47:50 onlo named[6155]: client @0xaa882dc8 114.29.202.117#9584 
(.): view external: query (cache) './A/IN' denied


grep -c denied messages
46038

And that is since Jul 31 3am.

Anyone have recommendations on how to stop this?

thanks

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


Re: [CentOS] Raspberry Pi 4 and C++ 17

2022-04-25 Thread Robert Heller
Did you try:

sudo yum install gcc-c++ binutils libc-devel

???

Not sure what version of gcc-c++ that will get you. My CentOS 7 VPS has
gcc-c++-4.8.5-44.el7.x86_64 on it, so I would assume the above should get you
gcc-c++-4.8.5-44.el7.armv7hl. OTOH, my Raspberry Pi 4 build box with Raspberry
Pi OS (based on Debian 10) has gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1).
Maybe you should just get an up-to-date Raspberry Pi OS image. Then after
'sudo apt update;sudo apt full-upgrade -y' you can do 'sudo apt install g++
binutils libc-dev'.


At Mon, 25 Apr 2022 14:41:18 -0400 CentOS mailing list  
wrote:

> 
> Hi,
> 
> I have a program I want to run on a Raspberry PI 4 that was written on 
> an x86_64 architecture.  So I downloaded the Raspberry PI image of 
> CentOS 7 and now I'm on armv7hl.  Unfortunately, there doesn't appear to 
> be any devtools for arm at all.  Is there an easy(ish) way to get c++ 17 
> this architecture?
> 
> Thank you!
> 
> ---
> Will
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
   
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Compatible SATA controller needed

2022-03-27 Thread Robert Heller
At Sun, 27 Mar 2022 12:23:21 -0700 CentOS mailing list  
wrote:

> 
> On Sun, Mar 27, 2022 at 11:55 AM Pete Geenhuizen 
> wrote:
> 
> > I'm trying to install Centos 8 on an older PC but it fails because the
> > SATA controller isn't supported.
> > Anyone have a source for a PCI/ePCI controller card that is compatible
> > with Centos 8?
> > Thanks
> > Pete
> >
> 
> Your controller might be supported by one of the ELRepo's kmod packages.
> This can be checked if you provide the device ID pairing [:] as
> reported by 'lspci -nn'.

Also: what BIOS mode is the SATA controller operating in? The SATA firmware in
some PCs implement various "weird" modes, including "RAID" (no, not really
hardware RAID, just some kind of half BIOS half MS-Windows driver software
RAID hack), Make sure the SATA controller is in AHCI mode and not in some
other mode. If it is in AHCI mode, it might just work out-of-the-box.

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

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] Need fstab-decode for CentOS 8

2022-03-02 Thread Robert Nichols

On 3/1/22 7:07 PM, Gordon Messmer wrote:

On 3/1/22 15:36, Robert Nichols wrote:

"${cmdline[@]}"


The problem there is that the last line is going to get interpreted by a shell 
before anything is executed, so you now have to escape characters that are 
special to the shell within a quoted string. This is unlike the compiled 
fstab-decode program that invokes the execvp() library call and avoids further 
shell parsing.



Does it, though?

$ bash fstab-decode.sh echo '$PATH'
$PATH
$ bash fstab-decode.sh ls '*'
ls: cannot access '*': No such file or directory


After study, the only types of expansion that occur _after_ parameter expansion 
are word splitting and pathname expansion, and those are both protected by the 
double quotes. So, I guess it's OK.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Need fstab-decode for CentOS 8

2022-03-01 Thread Robert Nichols

On 3/1/22 3:46 PM, Gordon Messmer wrote:

On 3/1/22 10:29, Gordon Messmer wrote:


Chris Schanzle mentioned off-list that a tab character had been replaced with spaces (I *knew* that should have been an attached file, shame on me).  He also suggested an improvement that removes the tab character, so here's a second try. 



Or not?  Last try.


#!/bin/sh

declare -a cmdline
tab=$'\t'
eol=$'\n'

for arg in "$@"
do
   arg="${arg//\\011/$tab}"
   arg="${arg//\\012/$eol}"
   arg="${arg//\\040/ }"
   arg="${arg//\\134/\\}"
   arg="${arg///\\}"
   cmdline+=("$arg")
done

"${cmdline[@]}"


The problem there is that the last line is going to get interpreted by a shell 
before anything is executed, so you now have to escape characters that are 
special to the shell within a quoted string. This is unlike the compiled 
fstab-decode program that invokes the execvp() library call and avoids further 
shell parsing.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Need fstab-decode for CentOS 8

2022-03-01 Thread Robert Nichols

On 2/28/22 8:46 AM, Robert Nichols wrote:

On 2/28/22 1:22 AM, cen...@niob.at wrote:

Am 28.02.22 um 05:45 schrieb Robert Nichols:

On 2/27/22 12:26 PM, cen...@niob.at wrote:

Am 27.02.22 um 04:33 schrieb Robert Nichols:

Does anything for CentOS 8 provide the function of the fstab-decode utility?
Entries in /proc/mounts and /etc/fstab can have escape sequences for certain special characters, and I need to decode that. 


Preface: Never heard of fstab-decode before. Researching the command made me really wonder why it 
was invented. Especially since I have never seen an /etc/fstab with "escape sequences" or 
"special characters" since at least 1990 (If I am wrong: Please show me such a fstab 
file).

So why not just use:

 umount $(awk '$3 == "vfat" {print $2}' /etc/fstab)

instead of the seemingly canonical use of fstab-decode

 fstab-decode umount $(awk '$3 == "vfat" { print $2 }' /etc/fstab)


Those samples break if the mount point directory name contains spaces, tabs, or 
whatever other characters I don't know about that also get represented by 
escape sequences. I'm not actually using it with /etc/fstab, but with 
/proc/mounts which uses the same convention. I can control /etc/fstab and avoid 
the problem, but I cannot control how some auto-mounted foreign filesystem 
might be named. I have a script that needs to be robust in the face of such 
names.


Get creative! Unix administration is a creative job. Having said this:

Using white space within mount points is asking for trouble anyway. If you 
really want this in the most generic way, then do the unquoting with something 
like this:

 awk '$3 == "vfat" {print $2}' /etc/fstab | perl -pl000 -e 
's/\\([0-7]{3})/chr(oct($1))/eg' | xargs -0 -n 1 -r umount

This seems to be the unixy way to do this.


Yes, white space in mount points is asking for trouble, but if someone automounts a USB flash drive 
filesystem which has a label that includes white space (e.g.: "USB DISK", like the VFAT 
preformat on some that I have bought) or other "funny" characters, that label gets used 
as the mount point directory.

Indeed, I can re-invent the wheel if that wheel is lost in the sands of time.


It turns out that particular wheel is best resurrected from the fstab-decode.c file in an 
old initscripts source package. The encoding is nonstandard, and the above perl code 
would not handle it correctly. Handling the unlikely oddball case seems like severe 
paranoia, but this could turn out to be, "That line of code you thought would never 
be executed just might save the day that one time when it _does_ get executed."

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Need fstab-decode for CentOS 8

2022-02-28 Thread Robert Nichols

On 2/28/22 1:22 AM, cen...@niob.at wrote:

Am 28.02.22 um 05:45 schrieb Robert Nichols:

On 2/27/22 12:26 PM, cen...@niob.at wrote:

Am 27.02.22 um 04:33 schrieb Robert Nichols:

Does anything for CentOS 8 provide the function of the fstab-decode utility?
Entries in /proc/mounts and /etc/fstab can have escape sequences for certain special characters, and I need to decode that. 


Preface: Never heard of fstab-decode before. Researching the command made me really wonder why it 
was invented. Especially since I have never seen an /etc/fstab with "escape sequences" or 
"special characters" since at least 1990 (If I am wrong: Please show me such a fstab 
file).

So why not just use:

 umount $(awk '$3 == "vfat" {print $2}' /etc/fstab)

instead of the seemingly canonical use of fstab-decode

 fstab-decode umount $(awk '$3 == "vfat" { print $2 }' /etc/fstab)


Those samples break if the mount point directory name contains spaces, tabs, or 
whatever other characters I don't know about that also get represented by 
escape sequences. I'm not actually using it with /etc/fstab, but with 
/proc/mounts which uses the same convention. I can control /etc/fstab and avoid 
the problem, but I cannot control how some auto-mounted foreign filesystem 
might be named. I have a script that needs to be robust in the face of such 
names.


Get creative! Unix administration is a creative job. Having said this:

Using white space within mount points is asking for trouble anyway. If you 
really want this in the most generic way, then do the unquoting with something 
like this:

     awk '$3 == "vfat" {print $2}' /etc/fstab | perl -pl000 -e 
's/\\([0-7]{3})/chr(oct($1))/eg' | xargs -0 -n 1 -r umount

This seems to be the unixy way to do this.


Yes, white space in mount points is asking for trouble, but if someone automounts a USB flash drive 
filesystem which has a label that includes white space (e.g.: "USB DISK", like the VFAT 
preformat on some that I have bought) or other "funny" characters, that label gets used 
as the mount point directory.

Indeed, I can re-invent the wheel if that wheel is lost in the sands of time.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Need fstab-decode for CentOS 8

2022-02-27 Thread Robert Nichols

On 2/27/22 12:26 PM, cen...@niob.at wrote:

Am 27.02.22 um 04:33 schrieb Robert Nichols:

Does anything for CentOS 8 provide the function of the fstab-decode utility?
Entries in /proc/mounts and /etc/fstab can have escape sequences for certain special characters, and I need to decode that. 


Preface: Never heard of fstab-decode before. Researching the command made me really wonder why it 
was invented. Especially since I have never seen an /etc/fstab with "escape sequences" or 
"special characters" since at least 1990 (If I am wrong: Please show me such a fstab 
file).

So why not just use:

 umount $(awk '$3 == "vfat" {print $2}' /etc/fstab)

instead of the seemingly canonical use of fstab-decode

 fstab-decode umount $(awk '$3 == "vfat" { print $2 }' /etc/fstab)


Those samples break if the mount point directory name contains spaces, tabs, or 
whatever other characters I don't know about that also get represented by 
escape sequences. I'm not actually using it with /etc/fstab, but with 
/proc/mounts which uses the same convention. I can control /etc/fstab and avoid 
the problem, but I cannot control how some auto-mounted foreign filesystem 
might be named. I have a script that needs to be robust in the face of such 
names.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


[CentOS] Need fstab-decode for CentOS 8

2022-02-26 Thread Robert Nichols

Does anything for CentOS 8 provide the function of the fstab-decode utility?
Entries in /proc/mounts and /etc/fstab can have escape sequences for certain 
special characters, and I need to decode that.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] DNS server app for Centos8

2022-02-21 Thread Robert Moskowitz

Ah, but Webmin DOES support DNSSEC.

I installed it on a Centos-arm7 that I used in the past for DNS testing, 
and there is the option for enabling DNSSEC.  So there is hope in this 
direction.


Don't see much else in the way of tools.  Anyone know of anything 
besides Webmin?


thanks

On 2/20/22 21:03, Robert Moskowitz wrote:

Webmin wiki does not cover DNSSEC...

Humpf.

On 2/20/22 20:58, Robert Moskowitz wrote:
I have been running my DNS server on a Centos7-arm board for some 
years and it is past time I get up to date.


Particularly get DNSSEC working.

So I have plenty of cubieboards for running Centos8-arm, but I want 
to no longer hand configure.  I want some help here; getting up in 
years and all that.


I know there is the Webmin tool, but don't know if it supports 
dnssec.  Looking for that in what docs I have found so far.


But is there some other tool for this?

I would start to import my zone files and then go from there.

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


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


Re: [CentOS] DNS server app for Centos8

2022-02-20 Thread Robert Moskowitz

Webmin wiki does not cover DNSSEC...

Humpf.

On 2/20/22 20:58, Robert Moskowitz wrote:
I have been running my DNS server on a Centos7-arm board for some 
years and it is past time I get up to date.


Particularly get DNSSEC working.

So I have plenty of cubieboards for running Centos8-arm, but I want to 
no longer hand configure.  I want some help here; getting up in years 
and all that.


I know there is the Webmin tool, but don't know if it supports 
dnssec.  Looking for that in what docs I have found so far.


But is there some other tool for this?

I would start to import my zone files and then go from there.

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


[CentOS] DNS server app for Centos8

2022-02-20 Thread Robert Moskowitz
I have been running my DNS server on a Centos7-arm board for some years 
and it is past time I get up to date.


Particularly get DNSSEC working.

So I have plenty of cubieboards for running Centos8-arm, but I want to 
no longer hand configure.  I want some help here; getting up in years 
and all that.


I know there is the Webmin tool, but don't know if it supports dnssec.  
Looking for that in what docs I have found so far.


But is there some other tool for this?

I would start to import my zone files and then go from there.

thanks

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


Re: [CentOS] Email Notification of updates which are available to be? applied on CentOS Linux release 7.9.2009 (Core)

2022-02-09 Thread Robert Heller
I just run this command line as a cronjob (weekly):

 /usr/bin/yum check-update | /bin/mail -s 'check-update' hel...@deepsoft.com
 
I have *newer* versions of the mysql server and php from the IUS repo, so yum 
check-update picks up new versions from the IUS repo, along with the core (and 
epel) repo.

At Wed, 9 Feb 2022 22:26:08 +0530 CentOS mailing list  wrote:

> 
> Hi,
> 
> I am running the below open source components on CentOS Linux release
> 7.9.2009 (Core)
> 
>1. nginx service
>2. mysql service
>3. php framework
>4. pph-fpm service
>5. composer A Dependency Manager for PHP
> 
> Is there a way to notify via email if there are any new security updates
> available for CentOS Linux release 7.9.2009 along with the above open
> source components which are running?
> Currently, I am manually running the *yum -y update* command to update the
> OS along with the above open source components. I have tried
> for yum-updatesd - Update notifier daemon but it is not available for
> CentOS Linux release 7.9.2009 (Core). Thanks in advance. I look forward to
> hearing from you.
> 
> More info:- https://linux.die.net/man/8/yum-updatesd
> 
> Best Regards,
> 
> Kaushal
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
>
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Ping as regular user not allowed (CentOS Stream 8)

2022-01-20 Thread Robert Nichols

On 1/20/22 10:32 AM, Fabian Arrotin wrote:

On 19/01/2022 15:32, Toralf Lund wrote:

Following some update or the other (I think) on my CentOS Stream 8 system, I'm 
no longer able to use ping as a regular user; I get

$ ping www.centos.org
ping: socket: Operation not permitted

Does anyone else see this? It it a bug, or were the system/default permissions 
deliberately changed? Can anyone suggest a fix/workaround? Actually, I can find 
several different ones via a simple web search, but they are generally related 
to other distributions, I'm not quite sure which would be the most appropriate 
for CentOS...

Thanks.

- Toralf



"sudo dnf downgrade iputils" should do it for now

it works when you're back on iputils-20180629-7.el8.x86_64


And then add:
excludepkgs=iputils-20180629-8.el8.x86_64
in the [baseos] section of /etc/yum/repos.d/CentOS-Stream-BaseOS.repo

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Is my ssh private key already unlocked?

2022-01-09 Thread Robert Nichols

Alas, "ssh-add -T" does not help. Regardless of whether the private key is 
already unlocked, it prompts for the password (apparently with unlimited retrys) and 
returns 0 once the correct password is entered. The private key is then left unlocked.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

On 1/9/22 12:54 PM, cen...@niob.at wrote:

Look at ssh-add -T . This will test if the private key for the 
given public key is available through the agent.

Am 07.01.22 um 23:35 schrieb Robert Nichols:

When I first ssh to a system, I am asked for the password to unlock the private key file. 
Thereafter, that key file remains unlocked, and subsequent ssh sessions will not prompt 
for a password. I can always re-lock the key file by running "ssh-add -D". In a 
script I have that runs sshfs to mount a remote directory, I want to re-lock that key 
file _unless_ it was already unlocked, i.e., if I sshfs asks for a password, I want to 
re-lock the key file immediately after the command is run.

How can I determine ahead of time whether the key file is already unlocked? In the past (Centos 6) 
I could examine the output from "ssh-add -l" determine that. Now, "ssh-add -l" 
just shows the public key whether of not the private key has been unlocked. There is also no 
apparent way to see whether or not sshfs asked for a password.

Suggestions?



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


[CentOS] Is my ssh private key already unlocked?

2022-01-07 Thread Robert Nichols

When I first ssh to a system, I am asked for the password to unlock the private key file. 
Thereafter, that key file remains unlocked, and subsequent ssh sessions will not prompt 
for a password. I can always re-lock the key file by running "ssh-add -D". In a 
script I have that runs sshfs to mount a remote directory, I want to re-lock that key 
file _unless_ it was already unlocked, i.e., if I sshfs asks for a password, I want to 
re-lock the key file immediately after the command is run.

How can I determine ahead of time whether the key file is already unlocked? In the past (Centos 6) 
I could examine the output from "ssh-add -l" determine that. Now, "ssh-add -l" 
just shows the public key whether of not the private key has been unlocked. There is also no 
apparent way to see whether or not sshfs asked for a password.

Suggestions?

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] [External] Re: Microsoft Teams on CentOS 7. Does the? latest version work?

2021-07-14 Thread Robert Heller
At Wed, 14 Jul 2021 08:33:42 +0200 CentOS mailing list  
wrote:

> 
> On 13/07/2021 15:07, Tru Huynh wrote:
> > hi
> >
> > On Tue, Jul 13, 2021 at 01:23:58PM +0100, Phil Perry wrote:
> >> On 13/07/2021 13:02, Toralf Lund wrote:
> >>> Does anyone else run Microsoft Teams on CentOS 7?
> >>>
> > <...>
> >>> The release that doesn't work is 1.4.00.13653. The one that does
> >>> is 1.4.00.7556.
> >>>
> >>> - Toralf
> >>>
> >> My wife has been using it on el7, but for the last month or two yum
> >> has been complaining about broken dependencies when trying to update
> >> it, so I'd disabled the Teams repo from yum updating.
> >>
> >> I can check what version I'm running later for you, if that would be
> >> helpful.
> > AFAIK, the latest rpm version for c7 is teams-1.4.00.7556-1.x86_64
> > after that they only support CentOS-8 for rpm or snap based for c7
> > (but one needs to have $HOME under /home).
> 
> OK.
> 
> The weird thing here is that the newer version actually installs. If 
> it's built on/for a later release, I'd normally expect complaints about 
> the libc or libstdc++ version or something along those lines...

That assumes that the RPM was *properly* build from source. Many producers of
closed source software "cheat" and create RPMs (and/or DEBs) that don't
actually have proper dependencies and it might be possible to install software
that actually won't work because of missing dependencies or something. 

> 
> - Toralf
> 
> 
> >
> > Cheers
> >
> > Tru
> >
> >
> >___
> > CentOS mailing list
> > CentOS@centos.org
> > https://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentosdata=04%7C01%7Ctoralf.lund%40pgs.com%7C77e097a778ba408edf2f08d945ff3196%7C51d05d6147e9480b93b298dc84f1ed06%7C0%7C0%7C637617786027903574%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=%2FUbGYaJ%2FABZGoGF3LrJdHVfnIJ3G4Ia5YS8RRmGgp6w%3Dreserved=0
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services


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


Re: [CentOS] non-functioning printer

2021-05-18 Thread Robert Heller
It also might be time to just replace the printer.  Inkjet printers are built 
to be thrown away after a *few* years (even HPs), and are rarely worth the 
time and effort to "repair".


At Tue, 18 May 2021 11:43:50 -0500 (CDT) CentOS mailing list 
 wrote:

> 
> I suspect that my friend does not want me working on her printer any more.
> If she asks, I will tell her that changing the cartidges might work,
> but that I am dubious.
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] non-functioning printer

2021-05-15 Thread Robert Heller
At Fri, 14 May 2021 22:22:24 -0500 (CDT) CentOS mailing list 
 wrote:

> 
> With the Deskjet D1420 disconnected, hp-probe
> finds no USB printers (duh).
> With the Deskjet D1420 connected, hp-probe
> finds it.
> hp-testpage produces
> error:  Unable to communicate with printer Deskjet-D1400-series.  Please 
> check 
> the printer and try again.
> 
> Note that hp-probe found it.
> 
> hp-testpage also produces a popup saying ...
> There is a problem with a print cartridge (1017)

HP printers are bitchy about using non-HP branded ink carts (or tonor carts).  
HP is very interested in extracting their "pound of flesh" for all eternity.

> 
> It does not say which one or why this would cause communication failure.
> 
> How do I figure this out?

You will have to "easter egg" it.  Swap the carts out one-by-one with new, HP 
carts until the error goes away.

> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yumex for CentOS 8.3

2021-05-09 Thread Robert G. (Doc) Savage via CentOS
On Sun, 2021-05-09 at 08:36 -0400, Jonathan Billings wrote:
> On May 8, 2021, at 21:57, Robert G. (Doc) Savage via CentOS < 
> centos@centos.org> wrote:
> > 
> > On Sat, 2021-05-08 at 13:53 -0600, Frank Cox wrote:
> > > > On Sat, 08 May 2021 14:46:58 -0500
> > > > Robert G. (Doc) Savage via CentOS wrote:
> > > > 
> > > > CentOS 8.3, 
> > > ...
> > > > yumex-3.0.15-1.el7.nux.noarch
> > > 
> > > Centos 8.3 is not el7.
> > 
> > Frank,
> > 
> > Well rats. It seems dnfdragora didn't make it into EL or CentOS, I
> > guess
> > there's no graphical package manager left.
> 
> In addition, it appears you’ve added a Nux yum repo for el7 to your
> el8 system, so you need to fix that too. 
> 
> --
> Jonathan Billings

Jonathan,

That nux yum repo was in Frank's system. My system is all C8.

--Doc


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


Re: [CentOS] yumex for CentOS 8.3

2021-05-08 Thread Robert G. (Doc) Savage via CentOS
On Sat, 2021-05-08 at 13:53 -0600, Frank Cox wrote:
> On Sat, 08 May 2021 14:46:58 -0500
> Robert G. (Doc) Savage via CentOS wrote:
> 
> > CentOS 8.3, 
> ...
> > yumex-3.0.15-1.el7.nux.noarch
> 
> Centos 8.3 is not el7.

Frank,

Well rats. It seems dnfdragora didn't make it into EL or CentOS, I guess
there's no graphical package manager left.

Thanks.

V/R
--Doc Savage
  Fairview Heights, IL 

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


[CentOS] yumex for CentOS 8.3

2021-05-08 Thread Robert G. (Doc) Savage via CentOS
If yumex is no longer available, please advise.

A few minutes ago when 'dnfdragora' failed for CentOS 8.3, I tried:

# yumex --root
bash: yumex: command not found...
Install package 'yumex' to provide command 'yumex'? [N/y] y


 * Waiting in queue... 
 * Loading list of packages Failed to install packages: Could not depsolve 
transaction; 1 problem detected:
 Problem: conflicting requests
  - nothing provides python-iniparse needed by yumex-3.0.15-1.el7.nux.noarch
  - nothing provides pycairo needed by yumex-3.0.15-1.el7.nux.noarch
  - nothing provides dbus-python needed by yumex-3.0.15-1.el7.nux.noarch
  - nothing provides /usr/bin/python needed by yumex-3.0.15-1.el7.nux.noarch
  - nothing provides pexpect needed by yumex-3.0.15-1.el7.nux.noarch
  - nothing provides python-kitchen needed by yumex-3.0.15-1.el7.nux.noarch
  - nothing provides urlgrabber needed by yumex-3.0.15-1.el7.nux.noarch

Is this a long-winded way of telling me to forget it?

V/R
--Doc Savage
  Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C7 live CD does not like F33 ext partition

2021-04-20 Thread Robert Heller
At Tue, 20 Apr 2021 20:19:47 -0500 (CDT) CentOS mailing list 
 wrote:

> 
> On Tue, 20 Apr 2021, Michael Hennebry wrote:
> 
> > I've been trying to backup the root partition of my F33 installation.
> > To that end, I'm running a C7 live CD.
> > C7 won't mount the partition.
> > tune2fs likes it, but
> > [root@localhost mnt]# mount /dev/sda5 /mnt/a5
> > mount: wrong fs type, bad option, bad superblock on /dev/sda5,
> >   missing codepage or helper program, or other error
> >
> >   In some cases useful info is found in syslog - try
> >   dmesg | tail or so.
> > [root@localhost mnt]# dmesg | tail -n 15
> 
> > [  146.548540] Bluetooth: BNEP socket layer initialized
> > [  300.961319] JBD2: Unrecognised features on journal
> > [  300.961325] EXT4-fs (sda5): error loading journal   == WHY?
> > [  361.930877] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow
> 
> I just ran fsck -n /dev/sda5 .
> [root@localhost mnt]# fsck -n /dev/sda5
> fsck from util-linux 2.23.2
> e2fsck 1.42.9 (28-Dec-2013)
> Journal superblock has an unknown incompatible feature flag set.
> Abort? no
> 
> Journal superblock is corrupt.
> Fix? no
> 
> fsck.ext4: The ext2 superblock is corrupt while checking ext3 journal for 
> slash
> 
> slash: ** WARNING: Filesystem still has errors **
> 
> [root@localhost mnt]#
> 
> What is going on?
> What can I do about it?
> 
> Does "unknown incompatible feature flag set" imply corrupt?

No. F33 is just using a newer version of ext4 than C7 understands. You need a
F33 live CD or some other "newer" live CD. A C8 Live CD might work. A Ubuntu
20.04 Live CD will likely work.


> How dangerous would it be to let fsck fix it?
> 
> I'm starting to think I might need to back up / while it is in use.

Nothing terribly wrong with that...  You might not be able to backup log files 
if they change during the backup, but that is hardly fatal.  You want to use 
something like tar and not dump...

> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] CentOS are Debian / Ubuntu mirror

2021-04-19 Thread Robert Heller
At Mon, 19 Apr 2021 14:25:33 +0200 CentOS mailing list  
wrote:

> 
> Thank you. This at least point me in the right direction. I don't quite
> want to setup 2 servers, or 2 VM's for this.
> 

Sure, of course.  I had the VM already setup for other reasons, so it was just 
easy to do "apt install debmirror" rather than chase down a debmirror 
tarball...  I'm sure a debmirror tarball is out there somewhere.  There might 
even be a debmirror RPM even...

> 
> On Mon, Apr 19, 2021 at 2:03 PM Robert Heller  wrote:
> 
> > At Mon, 19 Apr 2021 08:55:54 +0200 CentOS mailing list 
> > wrote:
> >
> > >
> > > Hi,
> > >
> > > Does anyone have some instructions on setting up a CentOS server as
> > mirror
> > > for Debian and Ubuntu distributions? I already setup a YUM mirror and
> > this
> > > works fairly well, but cannot seem to figure out how to mirror Debian and
> > > Ubuntu repositories.
> >
> > You need to grab a copy of debmirror, which is just a Perl script, so it
> > should work under CentOS. I don't know where to get a version as a tarball
> > --
> > I had an available VM running Ubuntu and just installed it there and NFS
> > mounted the mirror disk from the CentOS server. There is a config file for
> > debmirror to control where you mirror from and just what you mirror
> > (versions,
> > arches, etc.). There is a man page and and example config file.  You then
> > run
> > debmirror from crontab (eg every day).
> >
> > Unfortunately, the Debian flavor repositories are not structured to just
> > be
> > rsync'ed like the CentOS repositories.
> >
> > >
> > >
> > >
> >
> > --
> > Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
> > Deepwoods Software-- Custom Software Services
> > http://www.deepsoft.com/  -- Linux Administration Services
> > hel...@deepsoft.com   -- Webhosting Services
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
   
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS are Debian / Ubuntu mirror

2021-04-19 Thread Robert Heller
At Mon, 19 Apr 2021 08:55:54 +0200 CentOS mailing list  
wrote:

> 
> Hi,
> 
> Does anyone have some instructions on setting up a CentOS server as mirror
> for Debian and Ubuntu distributions? I already setup a YUM mirror and this
> works fairly well, but cannot seem to figure out how to mirror Debian and
> Ubuntu repositories.

You need to grab a copy of debmirror, which is just a Perl script, so it
should work under CentOS. I don't know where to get a version as a tarball --
I had an available VM running Ubuntu and just installed it there and NFS
mounted the mirror disk from the CentOS server. There is a config file for
debmirror to control where you mirror from and just what you mirror (versions,
arches, etc.). There is a man page and and example config file.  You then run 
debmirror from crontab (eg every day).

Unfortunately, the Debian flavor repositories are not structured to just be 
rsync'ed like the CentOS repositories.

> 
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
  
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Automatic clean /tmp folder

2021-04-07 Thread Robert Nichols

On 4/7/21 7:27 AM, Kenneth Porter wrote:

--On Wednesday, April 07, 2021 9:00 AM + Gestió Servidors 
 wrote:


With these files I supposed that a file with more than 10 days in /tmp
would be automatically deleted, but today I have found some files/folders
with more than 10 days.

What I have done wrong?


The test is on access time, not modification. Have they been read in the last 
10 days?


And note that a GUI file manager might attempt to read every file in a
directory in order to determine its type and display the correct icon.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] KVM vs. incremental remote backups

2021-03-31 Thread Robert Heller


What *I* do for backing up KVM VMs is that I use LVM volumes, not QCOW2 
images.  Then I take a LVM "snapshot" volume, then mount that locally / 
readonly on the host and use tar (via Amanda).  Another option is to install 
Amanda's client on the VM itself and use Amanda to use tar (running on the VM) 
-- I use the latter to deal with VMs that have a FS that it not mountable on 
the host (usually due to ext4 version issues -- CentOS 6's mount.ext4 did not 
like Ubuntu's 18.04 ext4 fs).  I have always found using container image files 
with VMs a bit too opaque.

Since you are using QCOW2 images, you best option would be to treat the VMs 
as if they were just bare metal servers and rsync over the virtual network 
(ala 'rsync -a vmhostname:/ backupserver:/backupdisk/vmhostname_backup/') and 
not even try to backup the QCOW2 image files, except maybe once in awhile for 
"disaster" recovery purposes (eg if you need  to recreate th VM from scratch 
from a known state).



At Wed, 31 Mar 2021 14:41:09 +0200 CentOS mailing list  
wrote:

> 
> Hi,
> 
> Up until recently I've hosted all my stuff (web & mail) on a handful of bare
> metal servers. Web applications (WordPress, OwnCloud, Dolibarr, GEPI,
> Roundcube) as well as mail and a few other things were hosted mostly on one 
> big
> machine.
> 
> Backups for this setup were done using Rsnapshot, a nifty utility that 
> combines
> Rsync over SSH and hard links to make incremental backups.
> 
> This approach has become problematic, for several reasons. First, web
> applications have increasingly specific and sometimes mutually exclusive
> requirements. And second, last month I had a server crash, and even though I
> had backups for everything, this meant quite some offline time.
> 
> So I've opted to go for KVM-based solutions, with everything split up over a
> series of KVM guests. I wrapped my head around KVM, played around with it (a
> lot) and now I'm more or less ready to go.
> 
> One detail is nagging me though: backups.
> 
> Let's say I have one VM that handles only DNS (base installation + BIND) and
> one other VM that handles mail (base installation + Postfix + Dovecot).
> 
> Under the hood that's two QCOW2 images stored in /var/lib/libvirt/images.
> 
> With the old "bare metal" approach I could perform remote backups using Rsync,
> so only the difference between two backups would get transferred over the
> network. Now with KVM images it looks like every day I have to transfer the
> whole image again. As soon as some images have lots of data on them (say, 100
> GB for a small OwnCloud server), this quickly becomes unmanageable.
> 
> I googled around quite some time for "KVM backup best practices" and was a bit
> puzzled to find many folks asking the same question and no real answer, at
> least not without having to jump through burning loops.
> 
> Any suggestions ?
> 
> Niki
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
   
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-7-x86_64-dvd-2009.iso is too big for DVD blanks

2021-03-18 Thread Robert Heller
At Thu, 18 Mar 2021 00:24:51 -0500 CentOS mailing list  
wrote:

> 
> On Wed, Mar 17, 2021 at 11:42:40PM -0500, Robert G. (Doc) Savage via CentOS 
> wrote:
> > 
> > I'm sure it would, but I thought I made it clear that DL or BluRay have
> > never been options in this case. I'm disappointed that the DVD iso was
> > released without any release notes advising it was oversized
> 
> The size issue with single-layer media has been a known issue since the
> CentOS-6 days and the release notes very much do mention it, or at least
> they did at one point.
> 
> It's not realistic to expect server-class machines not to be able to
> boot from dual-layer or USB media in 2021.

Or really any "PC".  My 2009 vintage desktop "PC" motherboard can boot from 
USB.  It has the original BIOS.

> 
> 
> 
> 
> 
> 
>   John

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] CentOS-7-x86_64-dvd-2009.iso is too big for DVD blanks

2021-03-17 Thread Robert G. (Doc) Savage via CentOS
On Wed, 2021-03-17 at 20:41 +0100, André Verwijs via CentOS wrote:
> 
> I blueray disk (25GB)?? works great :)

André,

I'm sure it would, but I thought I made it clear that DL or BluRay have
never been options in this case. I'm disappointed that the DVD iso was
released without any release notes advising it was oversized

I finally burned and used a network installation CD and NFS connected
to a local mirror of the CentOS 7.9.2011 repository. That option will
not be available to me in the future. I have the server in my physical
possession for a very short while. After I finish installation and
configuration, I will only have remote access.

--Doc Savage
    Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Samba config question

2021-03-15 Thread Robert G. (Doc) Savage via CentOS
After setting up /etc/samba/smb.conf and running "testparm" in CentOS
7.9.2011, I have noticed that the list of parameters echoed back for
the [global] section do not match those in the smb.conf file. Is this
normal?

[global] in /etc/samba/smb.conf:
   unix charset = UTF-8
   dos charset = CP932
   vfs objs = acl_xattr
   map acl inherit = yes
   store dos attributes = yes
   printing = cups
   printcap = cups
   load printers = yes
   # Network related options
   workgroup = WORKGROUP
   server string = Samba Server Version %v
   netbios name = SERVER01
   interfaces = lo eth0 192.168.1.0/24
   hosts allow = 127. 192.168.1.
   # Logging options
   log file = /var/log/samba/log.%m
   max log size = 50
   # Standalone Server Options
   security = user
   passdb backend = tdbsam
   map to guest = Bad User
   # Name Resolution
   wins support = yes
   dns proxy = yes
   # Printing options
   load printers = yes
   cups options = raw
   # Filesystem options
   map archive = no
   map hidden = no
   map read only = no
   map system = no
   store dos attributes = yes
   
When I subsequently run "testparm", I get a shorter and in some cases
different list:

[global] in "testparm" output:
   dos charset = CP932
   interfaces = lo eth0 192.168.1.0/24
   log file = /var/log/samba/log.%m
   map to guest = Bad User
   max log size = 50
   printcap name = cups
   security = USER
   server string = Samba Server Version %v
   wins support = Yes
   idmap config * : backend = tdb
   cups options = raw
   hosts allow = 127. 192.168.1
   map acl inherit = Yes
   map archive = No
   vfs objects = acl_xattr

Is this normal behavior for Samba? I am particularly concerned about
workgroup = WORKGROUP missing in the "testparm" output.
   
V/R
--Doc Savage
    Fairview Heights, IL

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


Re: [CentOS] CentOS-7-x86_64-dvd-2009.iso is too big for DVD blanks

2021-03-15 Thread Robert Heller
At Sun, 14 Mar 2021 21:49:40 -0500 "Robert G. \(Doc\) Savage" 
, CentOS mailing list  wrote:

> 
> On Sun, 2021-03-14 at 21:31 -0400, John Plemons wrote:
> > Sounds like you need to use a dual layer DVD disc, it is double the 
> > capacity.
> 
> John,
> 
> Wrong answer. The server's optical drive doesn't support double-layer
> disks. The CentOS developers made a mistake on their DVD iso, and they
> need to fix it.

Actually not -- the CentOS ISOs have not been meant for optical media since 
CentOS 6 -- they have been meant for thumb drives (>= 8G).

You are going to have to something different.  Is it possible to do a network 
install on this machine.  I believe the netboot ISO should be small enough to 
fit on a CD or DVD.

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

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] CentOS-7-x86_64-dvd-2009.iso is too big for DVD blanks

2021-03-14 Thread Robert G. (Doc) Savage via CentOS
On Sun, 2021-03-14 at 21:31 -0400, John Plemons wrote:
> Sounds like you need to use a dual layer DVD disc, it is double the 
> capacity.

John,

Wrong answer. The server's optical drive doesn't support double-layer
disks. The CentOS developers made a mistake on their DVD iso, and they
need to fix it.

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


[CentOS] CentOS-7-x86_64-dvd-2009.iso is too big for DVD blanks

2021-03-14 Thread Robert G. (Doc) Savage via CentOS
I need help from someone experienced with the CentOS bug tracking
system. I gotta say it is one of the most complicated and imposing
front ends I've ever seen. Could anyone familiar with it please file a
bug on my behalf? Particulars:

"CentOS 7.9.2009 DVD iso image too large"

ISO image: CentOS-7-x86_64-DVD-2009.iso 4.7GB raw CD image
Wed Nov  4 05:37:25 2020
Burners: Both K3B and Brasero
Media: Both DVD-R and DVD+R single-layer disks

iso image: 4,712,300,544 bytes
User Anthony F McInerney advises Wikipedia says
DVD-R capacity: 4,707,319,808 bytes (max)

I have tried burning this same iso image on two different machines: a
CentOS 7.9 server and a Fedora 33 laptop. Same failure on both.

We need to ask the developers to make a re-spin that's about 5MB
smaller. And before someone suggests it, the 2010-vintage server I'm
trying to install CentOS on does not support booting from a thumb
drive, so that option is not available.

Thanks,

--Doc Savage
    Fairview Heights, IL

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


Re: [CentOS] Samba setup

2021-01-31 Thread Robert G. (Doc) Savage via CentOS
On Sun, 2021-01-31 at 08:26 +0100, José María Terry Jiménez wrote:
> 
> Do you know guest access to shares is disabled in windows 10?
> 
> https://docs.microsoft.com/troubleshoot/windows-server/networking/guest-access-in-smb2-is-disabled-by-default

The error message this link says I should be seeing is not the one I'm
getting, so I don't think this is the problem.

   "You can't access this shared folder because your organization's
   security policies block unauthenticated guest access. These policies
   help protect your PC from unsafe or malicious devices on the network."

--Doc Savage
    Fairview Heights, IL


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


Re: [CentOS] Samba setup

2021-01-29 Thread Robert G. (Doc) Savage via CentOS
On Fri, 2021-01-29 at 06:32 -0600, Chris Weisiger wrote:
> 
> I’m not exactly sure if this may be the same issue I experienced but
> Google smb1 and windows10 . Apparently Microsoft removed support for
> Ann version 1 from windows 10 after one of the release updates
> 
> https://go.Microsoft.com/fwlink/?linkid=852747

Chris,

I added the following line to [global], but it didn't fix the problem.

   server max protocol = SMB2

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


Re: [CentOS] Samba setup

2021-01-28 Thread Robert G. (Doc) Savage via CentOS
On Fri, 2021-01-29 at 04:40 +, Strahil Nikolov wrote:
> I know from experience that you need to decide how you control access
> and you got 2 options:
> 
> - Linux directory is set to 777 and all control is in samba
> - Linux directory is set as if unix user will access it and you use
> the sam uid/gid for both client and server accounts (AD, FreeIPA,
> LDAP)
> 
> What is your settings right now ?
> 
> Best Regards,
> Strahil Nikolov

Strahil,

777 and ownership of /tank/Windows is nobody:nobody. It's actually an
empty directory right now.

Not using AD/FreeIPA/LDAP.

--Robert Savage
    Fairview Heights, IL


> 
> > On Thu, Jan 28, 2021 at 7:57, Robert G. (Doc) Savage via CentOS
> >  wrote:
> > On Tue, 2021-01-19 at 17:18 +0100, Götz Reinicke wrote:
> > > 
> > > Anything in the samba logs? May be SELinux/Firewall issues?
> > 
> > Götz,
> > 
> > Unfortunately, no.
> > 
> > The nmbd log verifies that the fileserver's samba service is the
> > local
> > master browser for WORKGROUP on both eth0 and virbr0.
> > 
> >   [2021/01/17 19:02:22.190795, 0]
> >  
> > ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2
> > )
> >   *
> >   Samba name server LIONSTORE is now a local master browser for
> > workgroup
> >   WORKGROUP on subnet 192.168.1.20
> >   *
> >   
> >   [2021/01/17 19:02:22.191085, 0]
> >  
> > ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2
> > )
> >   *
> >   Samba name server LIONSTORE is now a local master browser for
> > workgroup
> >   WORKGROUP on subnet 192.168.122.1
> >   *
> > 
> > The samba smbd log simply reports the connection denials:
> > 
> >   [2021/01/17 23:07:40.304626, 0]
> >   ../../lib/util/access.c:371(allow_access)
> >   Denied connection from 192.168.1.30 (192.168.1.30
> >   
> > There's nothing in the SELinux logs for that date.
> > 
> > I checked firewall-config on the storage server and verified that
> > the
> > samba service is allowed (but not samba-client or samba-dc).
> > 
> > Is there a really comprehensive setup checklist available for
> > setting
> > up samba on CentOS? The partial how-tos I've been able to find are
> > obviously not enough. I'm looking for completer smb.conf setup,
> > firewall settings, required services, directory permissions,
> > accounts,
> > and anything else that's required. I'm running up against very
> > unhelpful roadblocks that seem to indicate a critical permissions
> > problem but nothing specific.
> > 
> > V/R
> > --Doc Savage
> >     Fairview Heights, IL
> > 
> > ___
> > 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] Samba setup

2021-01-27 Thread Robert G. (Doc) Savage via CentOS
On Tue, 2021-01-19 at 17:18 +0100, Götz Reinicke wrote:
> 
> Anything in the samba logs? May be SELinux/Firewall issues?

Götz,

Unfortunately, no.

The nmbd log verifies that the fileserver's samba service is the local
master browser for WORKGROUP on both eth0 and virbr0.

   [2021/01/17 19:02:22.190795, 0]
   ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
   *
   Samba name server LIONSTORE is now a local master browser for workgroup
   WORKGROUP on subnet 192.168.1.20
   *
   
   [2021/01/17 19:02:22.191085, 0]
   ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
   *
   Samba name server LIONSTORE is now a local master browser for workgroup
   WORKGROUP on subnet 192.168.122.1
   *

The samba smbd log simply reports the connection denials:

   [2021/01/17 23:07:40.304626, 0]
   ../../lib/util/access.c:371(allow_access)
   Denied connection from 192.168.1.30 (192.168.1.30
   
There's nothing in the SELinux logs for that date.

I checked firewall-config on the storage server and verified that the
samba service is allowed (but not samba-client or samba-dc).

Is there a really comprehensive setup checklist available for setting
up samba on CentOS? The partial how-tos I've been able to find are
obviously not enough. I'm looking for completer smb.conf setup,
firewall settings, required services, directory permissions, accounts,
and anything else that's required. I'm running up against very
unhelpful roadblocks that seem to indicate a critical permissions
problem but nothing specific.

V/R
--Doc Savage
    Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] mcelog service error flagged in Cockpit

2021-01-19 Thread Robert G. (Doc) Savage via CentOS
Whenever I log into Cockpit, it flags mcelog as a service failure-to-
start failure. systemctl confirms this.

# systemctl status mcelog
* mcelog.service - Machine Check Exception Logging Daemon
Loaded: loaded (/usr/lib/systemd/system/mcelog.service; disabled;
vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-01-10 18:06:36 CST; 1
weeks 2 days ago
Main PID: 21959 (code=exited, status=1/FAILURE)

Jan 10 18:06:36 lionstore.protogeek.org systemd[1]: Started Machine
Check Exception Logging Daemon.
Jan 10 18:06:36 lionstore.protogeek.org mcelog[21959]: mcelog: ERROR:
AMD Processor family 23: mcelog does not support this processor. Please
use the edac_mce_amd module instead. 
Jan 10 18:06:36 lionstore.protogeek.org mcelog[21959]: CPU is
unsupported
Jan 10 18:06:36 lionstore.protogeek.org systemd[1]: mcelog.service:
Main process exited, code=exited, status=1/>
Jan 10 18:06:36 lionstore.protogeek.org systemd[1]: mcelog.service:
Failed with result 'exit-code'.

A search through BZ indicates mcelog hasn't been supported on AMD
processors s since family 21.

How do I tell Cockpit to use this alternative module? Perhaps more
importantly, why doesn't Cockpit automatically set up this module when
it's installed on an AMD system?

--Doc Savage
    Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Samba setup

2021-01-19 Thread Robert G. (Doc) Savage via CentOS
On Tue, 2021-01-19 at 17:18 +0100, Götz Reinicke wrote:
> Hi,
> 
> > Am 18.01.2021 um 20:08 schrieb Robert G. (Doc) Savage via CentOS
> > :
> > 
> > I'm
> >
> following 
> https://www.linuxbabe.com/redhat/set-up-samba-server-on-centos-8-rhel-8-for-file-sharing
> >  to set up Samba 4.12.3-12 on my Storinator fileserver running
> > CentOS
> > 8.3. I am trying to share out /tank/Windows/ as a Samba share:
...
> > 
> > When I try to map network drive from my Windows 10 PC using the
> > graphical File Explorer, it asks me for my username and password.
> > It
> > doesn't accept my password. When I try to map it at the CMD cli, I
> > get:
> > 
> > C:\> net use S: \\192.168.1.20\public\
> > System error 67 has occurred.
> > 
> > The network name cannot be found.
> > 
> > Could this be a network browsing problem in Samba? What have I
> > missed?
> 
> Anything in the samba logs? May be SELinux/Firewall issues?

Götz,

Unfortunately, no.

The nmbd log verifies that the fileserver's samba service is the local
master browser for WORKGROUP on both eth0 and virbr0.

[2021/01/17 19:02:22.190795, 0]
../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
*
Samba name server LIONSTORE is now a local master browser for workgroup
WORKGROUP on subnet 192.168.1.20
*

[2021/01/17 19:02:22.191085, 0]
../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
*
Samba name server LIONSTORE is now a local master browser for workgroup
WORKGROUP on subnet 192.168.122.1
*

The samba smbd log simply reports the connection denials:

[2021/01/17 23:07:40.304626, 0]
../../lib/util/access.c:371(allow_access)
Denied connection from 192.168.1.30 (192.168.1.30

There's nothing in the SELinux logs for that date.

I checked firewall-config on the storage server and verified that the
samba service is allowed (but not samba-client or samba-dc).

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


[CentOS] Samba setup

2021-01-18 Thread Robert G. (Doc) Savage via CentOS
I'm
following 
https://www.linuxbabe.com/redhat/set-up-samba-server-on-centos-8-rhel-8-for-file-sharing
 to set up Samba 4.12.3-12 on my Storinator fileserver running CentOS
8.3. I am trying to share out /tank/Windows/ as a Samba share:

# ls -al /tank
total 61
drwxr-xr-x. 6 root root 7 Dec 26 10:43 Backups
drwxr-xr-x. 6 root root 6 Dec 4 22:47 Repos
drwxrwxrwx. 2 doc doc 4 Dec 28 14:01 VMs
drwxrwxrwx.  2 root root 2 Jan 17 17:04 Windows

My /etc/samba/smb.conf file is set up as follows:

# testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
printcap name = cups
security = USER
idmap config * : backend = tdb
cups options = raw
hosts allow = 192.168.0

...

[public]
comment = public share, no need to enter username and password
guest ok = Yes
path = /tank/Windows
read only = No

When I try to map network drive from my Windows 10 PC using the
graphical File Explorer, it asks me for my username and password. It
doesn't accept my password. When I try to map it at the CMD cli, I get:

C:\> net use S: \\192.168.1.20\public\
System error 67 has occurred.

The network name cannot be found.

Could this be a network browsing problem in Samba? What have I missed?

--Doc Savage
     Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Gnote equivalent in CentOS 8

2020-12-26 Thread Robert Nichols

On 12/25/20 12:42 AM, Ljubomir Ljubojevic wrote:

As I can see, Cherytree can be used only on Fedora 32 and above due to
dependencies.

I personally use Tomboy for years. I install it from Fedora 28
repository I have set up on my CentOS 8 laptop. In general, Fedora 28
packages can be directly installed to CentOS 8, but I recommend being
careful not to install dependency packages that can mess with apps from
EL repositories.


Thanks. I found that gnote-3.28.0-1.fc28.x86_64.rpm installs just fine
on CentOS 8.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Gnote equivalent in CentOS 8

2020-12-24 Thread Robert Nichols

On 12/24/20 12:41 PM, Frank Cox wrote:

On Thu, 24 Dec 2020 11:04:26 -0600
Robert Nichols wrote:


In CentOS 8, is there an equivalent for the gnote application?


I personally use vimwiki.

Have you tried compiling the Fedora srpm on your Centos box?  A lot of stuff 
that you might want to install on Centos can be compiled with few or no changes 
in many cases.


No luck compiling. I run into the issues with missing -devel packages in CentOS 
8. When I track down the needed -devel packages (gtkmm30-devel, gspell-devel), 
those won't install because of various missing pkgconfig(...) dependencies. 
That's probably why those -devel packages aren't in the CentOS yum repositories.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


[CentOS] Gnote equivalent in CentOS 8

2020-12-24 Thread Robert Nichols

In CentOS 8, is there an equivalent for the gnote application?

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


[CentOS] Have lost access to ZFS pools with latest CentOS 8 kernels

2020-12-10 Thread Robert G. (Doc) Savage via CentOS
With the release of the vmlinuz-4.18.0-240.x and vmlinuz-
4.18.0.193.19.x kernels, ZoL cannot connect with a ZFS pool. I'm not
100% sure, but I believe the last CentOS 8 kernel to work with ZFS
0.8.5 was 4.18.0.6.x.

Obviously CentOS does not support ZFS, so this means the ZoL folks must
find and fix the problem. Otherwise, I think Fedora 33 is the only
choice we have for hosting ZFS.

--Doc Savage
    Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8 future

2020-12-08 Thread Robert G. (Doc) Savage via CentOS
On Tue, 2020-12-08 at 11:58 -0500, Satish Patel wrote:
> Folks,
> 
> What is going on here
> https://blog.centos.org/2020/12/future-is-centos-stream/
> 
> CentOS 8's future is not looking bright. Recently deployed CentOS8 on
> my production workload and now hearing this. What do other folks
> think
> about this?

Speaking only for myself, I am ready to give up on CentOS (and Red Hat)
entirely. Fedora meets all my clients' needs with none of the chaos.

I shall miss the stability of past CentOS releases, much as I did those
of Scientific Linux.

--Doc Savage
    Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /dev/mapper/cl-root filesystem corrupted?

2020-12-06 Thread Robert G. (Doc) Savage via CentOS
On Mon, 2020-12-07 at 15:43 +1100, Anthony K wrote:
> On 7/12/20 12:20 pm, Robert G. (Doc) Savage via CentOS wrote:
> > A client's (truly ancient) file server running CentOS 7 suddenly
> > started misbehaving, and I believe the ext4 filesystem on
> > /dev/mapper/cl-root may be corrupted. A reboot fails with a file
> > system
> > check and drops me into maintenance mode. I tried booting from a
> > live
> > C7 DVD and as root running e2fsck. It complains that the superblock
> > could not be read and suggests running "e2fsck -b 8193 ".
> > That
> > also fails.
> > 
> > Is there a way to more forcefully "encourage" e2fsck to do its job
> > without totally destroying that filesystem?
> > 
> > --Doc Savage
> >      Fairview Heights, IL
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> > 
> I'd say first make sure the hardware is in good order.  If you have a
> faulty motherboard, CPU, and/or RAM, you might not be able to do 
> anything and could end up losing precious data if you manage to 
> forcefully "encourage" it.

Anthony,

There are no apparent hardware problems, but as I said this machine is
ancient.

The hardware is a Dell T110 server
(https://www.dell.com/downloads/emea/products/t110_spec_sheet.pdf) orig
inally purchased circa 2010. It came with Windows Small Business
Server, which I replaced with CentOS 7 when it was released in 2014.  I
also replaced the original Windows-only RAID card in 2014 with a Dell
update that supports a 4 x 500GB Linux software RAID5. All other
hardware is original, and I hate to think what the hard drive bearings
must look like after more than 87,000 power-on hours.

I might be able to use a C7 Live DVD with the external eSATA interface
to dd the contents of the boot drive to a spare, but that might just
copy a damaged LVM that still resists e2fsck.

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


[CentOS] /dev/mapper/cl-root filesystem corrupted?

2020-12-06 Thread Robert G. (Doc) Savage via CentOS
A client's (truly ancient) file server running CentOS 7 suddenly
started misbehaving, and I believe the ext4 filesystem on
/dev/mapper/cl-root may be corrupted. A reboot fails with a file system
check and drops me into maintenance mode. I tried booting from a live
C7 DVD and as root running e2fsck. It complains that the superblock
could not be read and suggests running "e2fsck -b 8193 ". That
also fails.

Is there a way to more forcefully "encourage" e2fsck to do its job
without totally destroying that filesystem?

--Doc Savage
    Fairview Heights, IL
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Update from 7 to 8

2020-11-23 Thread Robert G. (Doc) Savage via CentOS
On Mon, 2020-11-23 at 10:44 -0500, Jerry Geis wrote:
> I stumbled on this today.
> https://www.hostwinds.com/guide/upgrading-from-centos-7-to-8/
> 
> I understand the best is always a re-install But are these steps
> the
> next best thing to update from 7 to 8 ?
> 
Jerry,

There is a formally supported upgrade from RHEL 7 to 8, but
unfortunately there is none for CentOS 7 to 8. The reason for this is
based on the totally new repository structure Red Hat used for v8. It's
different enough that an exact counterpart to the RHEL 7>8 upgrade
script hasn't been compiled, tested, and supported. Your only choice is
to back up everything and install CentOS 8 from scratch.

--Doc Savage
     Fairview Heights, IL


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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-21 Thread Styma, Robert (Nokia - US/Phoenix)
>
> Basically that says that upstream no longer thinks that Firefox is runnable
> on RHEL-6/CentOS-6 anymore. I think there was a similar problem at the end
> of EL-5 when a 'YOU HAVE TO UPGRADE' fix from Mozilla was released and
> while a lot of work was done by Red Hat to get it to work on RHEL-5, some
> items (and I really think it was sound and plugins) did not work. At the
> tail end of a release, most 'desktop' concerns are very hard to figure out
> as 10 year old software API's are rarely kept working by the various
> 'upstreams'.

> I want to be clear that I do understand this is causing major issues for
> users. I think a lesson learned from EL-5 and EL-6 is that EL releases need
> to be clearer on the difference between desktops and servers. There seems
> to be a point where desktop utilities fixes are mainly going to be
> 'reasonable effort' versus 'guaranteed' to be 100%... usually in the last 6
> months of a release. That way users can plan better that a certain amount
> of work is going to be needed by them to continue it working.

Upgrades for users would be a lot easier if the "upgrade" option on the install 
was more of an upgrade.   I have seen the arguments on how Ubuntu upgrades 
leave unneeded packages littering the machine.  However, at a minimum I would 
think an upgrade should keep /etc/hosts, /etc/passwd, /etc/shadow, 
/etc/sysconfig/network-scripts, the list if repos in use.   This would at least 
put the machine in a usable state from the get go.  Saving a list of the 
applications which would not be reloaded as part of the upgrade would also be 
useful.  It would at least make it possible to get a running start at 
rebuilding the users environment.   My issues come from the conversion of 
CentOS 4 and 5 to 6.   Maybe it is all better going to CentOS 8 (wishful 
thinking?)


___
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] Firefox 78 under CentOS 6 -- no sound?

2020-10-20 Thread Robert Heller
At Tue, 20 Oct 2020 14:07:27 -0600 CentOS mailing list  
wrote:

> 
> On Tue, 20 Oct 2020 15:45:54 -0400 (EDT)
> Robert Heller wrote:
> 
> > Does FF 78 sound work properly in CentOS 7 and 8? 
> 
> firefox-78.2.0-2.el8_2.x86_64
> 
> Working fine for me here on several computers.

OK, so it is a FF78 / RHel 6 (implies CentOS 6) specific problem.

> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-20 Thread Robert Nichols

On 10/20/20 2:45 PM, Robert Heller wrote:

At Tue, 20 Oct 2020 13:35:59 -0400 CentOS mailing list  
wrote:



Jonathan Billings  wrote:


  I'm less concerned with firefox being broken on 32-bit CentOS 6
  systems when the platform is only going to live for another month.
  Frankly, I'm glad to see flash die just a little earlier.


It isn't just 32-bit, but also 64-bit, and it isn't just Flash, but
also HTML 5.

To notice the bug, all you have to do is try to watch any video at
Youtube or elsewhere, if the video has sound.


Also, it is specific to FF 78.  FF 68 and eveythhing else in CentOS 6 that
uses audio, works just fine.  This suggests it is possibly a FF 78 problem.
Does FF 78 sound work properly in CentOS 7 and 8?  Does anyone know?


FF 78 seems to work OK here in a CentOS 8 VM.
FF 78 is apparently not offered to CentOS 7. Failed in testing, perhaps??
Latest firefox version for CentOS 7 is 68.0.12.0-1.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-20 Thread Robert Heller
At Tue, 20 Oct 2020 13:35:59 -0400 CentOS mailing list  
wrote:

> 
> Jonathan Billings  wrote:
> 
> >  I'm less concerned with firefox being broken on 32-bit CentOS 6
> >  systems when the platform is only going to live for another month.
> >  Frankly, I'm glad to see flash die just a little earlier.
> 
> It isn't just 32-bit, but also 64-bit, and it isn't just Flash, but
> also HTML 5.
> 
> To notice the bug, all you have to do is try to watch any video at
> Youtube or elsewhere, if the video has sound.

Also, it is specific to FF 78.  FF 68 and eveythhing else in CentOS 6 that 
uses audio, works just fine.  This suggests it is possibly a FF 78 problem.  
Does FF 78 sound work properly in CentOS 7 and 8?  Does anyone know?

> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-20 Thread Robert Heller
At Tue, 20 Oct 2020 13:35:59 -0400 CentOS mailing list  
wrote:

> 
> Jonathan Billings  wrote:
> 
> >  I'm less concerned with firefox being broken on 32-bit CentOS 6
> >  systems when the platform is only going to live for another month.
> >  Frankly, I'm glad to see flash die just a little earlier.
> 
> It isn't just 32-bit, but also 64-bit, and it isn't just Flash, but
> also HTML 5.
> 
> To notice the bug, all you have to do is try to watch any video at
> Youtube or elsewhere, if the video has sound.

Or try to make a phone call with Google Hangouts or listen to a voicemail with 
Google Voice...

> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services


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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-20 Thread Robert Heller
At Tue, 20 Oct 2020 12:56:38 -0400 CentOS mailing list  
wrote:

> 
> Akemi Yagi  wrote:
> 
> >  This issue?
> >
> >  https://bugs.centos.org/view.php?id=17767
> 
> This is a huge bug! Using Firefox to watch videos is a basic activity.

Even worse is that it is a failure for Google Voice and Google Hangouts -- I
use these to implement my home phone at present. I cannot use my cell phone,
since I don't have cell service at my house and cannot afford to pay
$60+/month for a cruddy copper landline.

> 
> The bug with grub2 a few months ago was even more serious: it made
> systems unbootable. It's discomfiting to see two major bugs so close
> to each other.
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-17 Thread Robert Nichols

On 10/17/20 3:38 PM, Robert Heller wrote:

I did a yum update on my CentOS 6 laptop and it upgraded Firefox to 78, and
FF stopped seeing my mic and speakers.  Is there some magic I need to do?  As
a short term (?) fix, I downgraded back to Firefox 68.  My system is otherwise
up-to-date.


I'm seeing the same problem (I'm not using any mic) on several CentOS 6 systems.
I posted about it here back on Sept. 29.
https://lists.centos.org/pipermail/centos/2020-September/351667.html

Downgrading, and excluding the 78.3.0-1 from yum is my workaround.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-17 Thread Robert Heller
At Sat, 17 Oct 2020 19:08:49 -0500 CentOS mailing list  
wrote:

> 
> On Sat, Oct 17, 2020 at 3:38 PM Robert Heller  wrote:
> 
> > I did a yum update on my CentOS 6 laptop and it upgraded Firefox to 78,
> > and
> > FF stopped seeing my mic and speakers.  Is there some magic I need to do?
> > As
> > a short term (?) fix, I downgraded back to Firefox 68.  My system is
> > otherwise
> > up-to-date.
> >
> 
> Are you sure it's not the auto mute feature they introduced?
> 
> https://www.engadget.com/2019-02-04-firefox-66-prevent-auto-playing-video-audio.html

Well, if it was introduced in Firefox 66, that means it is in Firefox 68, 
right?  But the audio works just fine in Firefox 68.  And why would the auto 
mute have any affect on the mic?

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

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services


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


Re: [CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-17 Thread Robert Heller
At Sat, 17 Oct 2020 17:34:11 -0700 CentOS mailing list  
wrote:

> 
> On Sat, Oct 17, 2020 at 1:38 PM Robert Heller  wrote:
> 
> > I did a yum update on my CentOS 6 laptop and it upgraded Firefox to 78,
> > and
> > FF stopped seeing my mic and speakers.  Is there some magic I need to do?
> > As
> > a short term (?) fix, I downgraded back to Firefox 68.  My system is
> > otherwise
> > up-to-date.
> >
> > --
> > Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
> > Deepwoods Software-- Custom Software Services
> > http://www.deepsoft.com/  -- Linux Administration Services
> 
> 
> This issue?
> 
> https://bugs.centos.org/view.php?id=17767

Yeah, it appears so.

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

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
  
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Firefox 78 under CentOS 6 -- no sound?

2020-10-17 Thread Robert Heller
I did a yum update on my CentOS 6 laptop and it upgraded Firefox to 78, and 
FF stopped seeing my mic and speakers.  Is there some magic I need to do?  As 
a short term (?) fix, I downgraded back to Firefox 68.  My system is otherwise 
up-to-date.

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
   
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No sound after latest Firefox update (firefox-78.3.0-1.el6.centos.x86_64)

2020-10-02 Thread Robert Nichols

On 10/1/20 3:24 PM, Jonathan Billings wrote:

On Thu, Oct 01, 2020 at 04:01:29PM -0400, mailist wrote:

The Ubuntu-derived distros are much better suited to desktop.  I run several
of them, as well as
CentOS 7 and 8.  Ubuntu, Kubuntu (Ubuntu with KDE), Lubuntu, Debian, PopOS,
and Zorin.


They all use systemd.  If you're running CentOS 6 to avoid that,
you're out of luck.


I can live with systemd. It's the Gnome 3 UI that I can't stand. I gave
Mate a try briefly, but ran into some issues that I don't recall just
now. I'll give it another try, but I may just give up and switch to
Mint. The major issue for my doing that is the package manager, since
I have several custom packages that are RPMs.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] No sound after latest Firefox update (firefox-78.3.0-1.el6.centos.x86_64)

2020-10-01 Thread Robert Nichols

On 9/30/20 8:25 AM, Johnny Hughes wrote:

On 9/29/20 9:16 PM, Robert Nichols wrote:

With Firefox updated to firefox-78.3.0-1.el6.centos.x86_64, I cannot get
sound from Firefox. I've tried restarting pulseaudio, also logging out
and logging back in. No help. Other A/V apps work just fine. Downgrading
to firefox-68.12.0-1.el6.centos.x86_64 makes sound work again. For now,
I've excluded version firefox-78.3.0-1 from yum updates.

Anyone else seeing this? Any hints?



No problem here .. but as a reminder .. EOL for CentOS-6 is about 1
month away (Nov 2020).

That means , once we hit it, no more updates.


I still have 3 CentOS-6 installations: 1 desktop, 1 laptop, and
1 virtual machine. On all of them, I get no sound from firefox-78.3.0-1
and have to downgrade to firefox-68.12.0-1. I've tried with all
add-ons disabled (Boy, youtube is a pain without adblock.) and
there is still no sound. I don't know what else to try.

I don't know what I'll do after CentOS-6 goes EOL. I absolutely
cannot tolerate CentOS-8.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


[CentOS] No sound after latest Firefox update (firefox-78.3.0-1.el6.centos.x86_64)

2020-09-29 Thread Robert Nichols

With Firefox updated to firefox-78.3.0-1.el6.centos.x86_64, I cannot get sound 
from Firefox. I've tried restarting pulseaudio, also logging out and logging 
back in. No help. Other A/V apps work just fine. Downgrading to 
firefox-68.12.0-1.el6.centos.x86_64 makes sound work again. For now, I've 
excluded version firefox-78.3.0-1 from yum updates.

Anyone else seeing this? Any hints?

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

___
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 Robert Nichols

On 9/26/20 12:40 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.


You can interrupt ddrescue and then resume with "-R" (--reverse) option. That 
will make it start from the end of the device and read backward toward the trouble area.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

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


Re: [CentOS] erasing a disk

2020-09-14 Thread Robert Heller
At Mon, 14 Sep 2020 13:14:44 -0700 CentOS mailing list  
wrote:

> 
> Folks
> 
> I've encountered situations where I want to reuse a hard-drive.  I do 
> not want to preserve anything on the drive, and I'm not concerned 
> about 'securely erasing' old content.  I just want to be able to 
> define it as an Physical Volume (in a logical volume set), or make it 
> a ZFS disk, or sometimes make it a simple EXT3, ExFAT or NTFS 
> disk.  However, old 'signatures' get in the way and Linux sometimes 
> refuses to let me proceed.  I know that a fool-proof solution is to 
> use the "dd if=/dev/zero bs=32768 oflag=direct" on the disk, but when 
> we're talking USB-connected hard drives of 8 TB, that's an operation 
> that can take days.
> 
> The disk in question might even have been corrupted.  This would make 
> using 'zpool destroy' to clear out a ZFS disk, or
> 
> I've tried erasing the first megabyte of the disk, but there are ZFS 
> or LVM structures that get in the way.  So, does anyone have an 
> efficient way to erase structures from a disk such that it can be reused?
> 
> Something like
>-erase first N blocks (block defined as 4096)
>- Erase  blocks starting at block 
>- erase last  blocks

Use dd in a script:

#!/bin/bash
# erase N 4K blocks starting at M
# (M=0 means from the start of the disk)
# usage: $0 start4Kblock numberof4Kblocks drive
M = $1
N = $2
rawdisk = $3
dd if=/dev/zero bs=4096 oflag=direct count=$N seek=$M of=$rawdisk

> At least such an algorithm would be quicker than erasing 8 TB of data.
> 
> David
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
>   
>  
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services


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


Re: [CentOS] Laptop and NFS homedir

2020-08-26 Thread Robert Heller
At Wed, 26 Aug 2020 09:08:15 -0400 CentOS mailing list  
wrote:

> 
> On Wed, Aug 26, 2020 at 12:08:56PM +0100, isdtor wrote:
> > Are there any documented best practices for using NFS home
> > directories on laptops? Right now, and this is on CentOS 7, when I
> > disconnect the machine from the network, the desktop freezes, and I
> > can't even tell if the machine switches to the wireless network. If
> > this sort of adapter switching, which is standard in e.g. Windows
> > 10, is even supported. 
> 
> I'd say: Don't do it.
> 
> NFS does not handle disconnected operations well, nor does the client
> handle IP migrations well.  You'd have to restart the client to get it
> to work, most likely, and processes that are living in $HOME would
> need to be killed before you could unmount it.
> 
> There is some effort being made in making fscache work with NFS but
> I've not had much luck in CentOS7 or 8.  It still wouldn't help with
> IP roaming.
> 
> Best advice I can offer is to make $HOME local but have symlinks into
> NFS for directories that can be safely unmounted and remounted.

Even better: rather than hard mounting (eg in /etc/fstab) NFS file systems on 
a *laptop*, instead, use automount (autofs).

> 
> Windows doesn't really have network home directories like UNIX does,
> and their SMB client handles IP roaming better.
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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


Re: [CentOS] Laptop and NFS homedir

2020-08-26 Thread Robert Heller
At Wed, 26 Aug 2020 12:08:56 +0100 CentOS mailing list  
wrote:

> 
> 
> Afternoon,
> 

> Are there any documented best practices for using NFS home directories on
> laptops? Right now, and this is on CentOS 7, when I disconnect the machine
> from the network, the desktop freezes, and I can't even tell if the machine
> switches to the wireless network. If this sort of adapter switching, which
> is standard in e.g. Windows 10, is even supported.

My (old) CentOS 6 laptop switches seemlessly between hard wired and wireless.  
I *am not* using NFS, though.  One thing that is key, you need to be sure your 
DHCP deamon is configured to give out the same IP address for both the wired 
Ethernet MAC and the wireles MAC.

NFS is somewhat fussy.


> 
> Thanks for any insights.
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
> 
>       
>   
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services
   
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Jamulus for Centos

2020-08-19 Thread Robert Moskowitz

Is anyone running their own Jamulus server?

I have an x86_64 system running Centos7 that I can try bringing it up 
for my wife.  So I better get it right!


I have found rpms for 3.4.7.1 at:

https://pkgs.org/download/Jamulus

But on SourceForge I am seeing source for ver 3.5.10.  In blogs I am 
seeing that the better client is for at least ver 3.5.1.


Are there rpms available for some 3.5 version?

thanks

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


[CentOS] ZFS fails with latest C8 kernel

2020-08-10 Thread Robert G (Doc) Savage via CentOS
As if last weekend's UEFI debacle wasn't bad enough, it now seems the
latest C8 kernel (4.18.0-193.14.2) is incompatible with the current
ZFSOnLinux packages (0.8.4-1). When booted to the latest kernel, ZFS is
inaccessible on my C8 storage server. When I back off to the prior
kernel (4.18.0-193.6.3), all is well.

If a local ZFS system is unavailable to the C8 kernel support folks,
I'll be happy to assist them by volunteering my system as a lab rat.

--Doc Savage
  Fairview Heights, IL

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


Re: [CentOS] python problem

2020-08-09 Thread Robert Heller
At Sun, 9 Aug 2020 14:16:21 -0700 CentOS mailing list  wrote:

> 
> On Sun, Aug 9, 2020 at 1:40 PM Chuck Campbell  wrote:
> 
> > ...
> > dnf copr enable abn/throttled
> > dnf install -y throttled
> >
> > but I get this output:
> > Error:
> >   Problem: conflicting requests
> >- nothing provides python3-configparser needed by throttled0.7-1.x86_64
> >
> > I have no guess what to do about this.
> 
> 
> Well, that dependency is being invoked by this third party package,
> abn/throtted from the COPR collection of Fedora...  I have no idea what
> repos it might be in

Right. Some third party repos and/or varous out-of-band "repos" use different
package naming / origanizations. *Fedora* often uses "incompatable" package
naming WRT RHEL/CentOS. I guess when RedHat migrates a package set from
Fedora, there is sometimes package renaming and reorganization. Esp. for
things like Perl, PHP, and Python packages (often these are noarch packages),
so when you go back to a Fedora repo for something RedHat did not pick up, you
end up with this sort of problem (been there, done that). Often the only cure
is to grab the .src.rpm(s) and rebuild it(them), after manually installing the
various dependencies one by one (including rebuilding them as well, as
needed).  Often, the low-level .src.rpms build easily enough, so it becomes 
mostly a bit of tedium.

The OP, is probably going to have to install rpmbuild and set up a RPM Build 
tree.

> 
> 
> 

-- 
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services


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


Re: [CentOS] 8.2.2004 Latest yum update renders machine unbootable

2020-08-02 Thread Robert G (Doc) Savage via CentOS
-Original Message-
From: Stephen John Smoogen 
Reply-To: CentOS mailing list 
To: CentOS mailing list 
Subject: Re: [CentOS] 8.2.2004 Latest yum update renders machine unbootable
Date: Sun, 2 Aug 2020 10:57:49 -0400

On Sun, 2 Aug 2020 at 10:20, david  wrote:
> > 

I agree  it is a lot of shorthand because of expectations. In the endwe (the 
list) don't know what you have on your system or what state itis in. In order 
to get that information to help we would need you totry the following:
1. boot using a working USB/cdrom/netboot path and installer2. choose the 
rescue mode3. have the rescue mount the disks as local and chroot into 
thesystem. << if possible have the system also bring up networking >>
Thenyum list kernel shim grub2 mokutil
John,


I have a CentOS 8.2.2004 system running on an EPYC-equipped SuperMicro 
motherboard. I assume it uses EFI boot. I have it set to auto-update with 
cron.daily, so it almost certainly has the buggy package(s) installed. I'm 
loath to try rebooting it just to see.


When I run "yum list kernel shim grub2 mokutil" all I get back are the three 
installed kernel packages. Reverting to the old fashioned "rpm -qa | grep 
kernel-4 ; rpm -qa | grep shim ; rpm -qa | grep grub2 ; rpm -qa | grep mokutil" 
I get:


kernel-4.18.0-147.8.1.el8_1.x86_64
kernel-4.18.0-193.14.2.el8_2.x86_64
kernel-4.18.0-193.6.3.el8_2.x86_64
grub2-tools-2.02-87.el8_2.x86_64
grub2-pc-2.02-87.el8_2.x86_64
grub2-pc-modules-2.02-87.el8_2.noarch
grub2-common-2.02-87.el8_2.noarch
grub2-tools-efi-2.02-87.el8_2.x86_64
grub2-tools-minimal-2.02-87.el8_2.x86_64
grub2-tools-extra-2.02-87.el8_2.x86_64


I apparently do not have either shim or mokutil packages installed. I'm not 
sure what this means. Am I not using EFI boot?


I have local copies of the earlier v2.02-81 grub2 packages. Would it be 
worthwhile to replace my v2.02-87 grub2 packages, then add this line to 
/etc/dnf/dnf.conf:


exclude=grub shim mokutil


as previously advised?


Or should I just leave well enough alone and wait for tonight's auto-update to 
fix things?


--Doc Savage
Fairview Heights, IL








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


Re: [CentOS] 8.2.2004 Latest yum update renders machine unbootable

2020-08-02 Thread Robert Heller
At Sun, 2 Aug 2020 06:59:06 -0500 CentOS mailing list  wrote:

> 
> 
> 
> On 8/2/20 2:04 AM, Alessandro Baggi wrote:
> > 
> > Il 01/08/20 22:03, Greg Bailey ha scritto:
> >> On 8/1/20 6:56 AM, david wrote:
> >>> At 02:54 AM 8/1/2020, Alessandro Baggi wrote:
> >>>> Hi Johnny,
> >>>> thank you very much for clarification.
> >>>>
> >>>> You said that in the centos infrastructure only one server got the
> >>>> problem.
> >>>> What are the conditions that permit the breakage? There is a particular
> >>>> configuration (hw/sw) case that match always the problem or it is
> >>>> random?
> >>>>
> >>>> Thank you
> >>>
> >>> I have two servers running Centos 7 on apple hardware (one mac-mini
> >>> and one mac server).  They both failed to reboot a few days 
> >>> ago.  So
> >>> perhaps whatever anti-boot bug hit Centos 8, also hit Centos 7.  I
> >>> can't tell what version got updated since the system simply fails to
> >>> boot.  I don't even get a grub screen. I'll have to rebuild the
> >>> systems from scratch.
> >>>
> >>>
> >>
> >> You should be able to boot off of installation media into rescue mode,
> >> and downgrade the grub2* and/or shim* RPMs.
> >>
> >> -Greg
> >>
> > I did the downgrade on a fresh install of c8.2 but yum said that all
> > selected packages (grub2,shim...) are already to the lowest version and
> > the downgrade is not possibile, ending with "nothing to do".
> 
> Ok .. We are running through some final testing now for CentOS Linux 8
> and CentOS Stream .. updates later today for EL8.
> 
> For CentOS Linux 7 .. I just pushed the latest shim packages (we had to
> get these signed by Microsoft .. as do all distros that do shim.
> Microsoft is the official CA for secureboot.
> 
> So in the next few hours, after the mirrors sync up .. you should be
> able to fix any EL7 machines.

Question: is this only a problem for bare metal w/EFI or are VMs affected?  I 
have a VPS running CentOS 7:

sharky4.deepsoft.com% uname -a
Linux sharky4.deepsoft.com 3.10.0-1127.13.1.el7.x86_64 #1 SMP Tue Jun 23 
15:46:38 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
sharky4.deepsoft.com% rpm -qa grub\* shim\*
grub2-tools-extra-2.02-0.81.el7.centos.x86_64
grub2-pc-modules-2.02-0.81.el7.centos.noarch
grub2-tools-minimal-2.02-0.81.el7.centos.x86_64
grub2-2.02-0.81.el7.centos.x86_64
grub2-tools-2.02-0.81.el7.centos.x86_64
grubby-8.28-26.el7.x86_64
grub2-common-2.02-0.81.el7.centos.noarch
grub2-pc-2.02-0.81.el7.centos.x86_64
sharky4.deepsoft.com% 

I have these (pending) updates:

sharky4.deepsoft.com% sudo /usr/bin/yum check-update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.es.its.nyu.edu
  * epel: mirror.math.princeton.edu
   * extras: mirror.facebook.net
* updates: mirror.atlanticmetro.net

fail2ban.noarch  0.11.1-9.el7.2epel   
fail2ban-firewalld.noarch0.11.1-9.el7.2epel   
fail2ban-sendmail.noarch 0.11.1-9.el7.2epel   
fail2ban-server.noarch   0.11.1-9.el7.2epel   
fail2ban-systemd.noarch  0.11.1-9.el7.2epel   
grub2.x86_64 1:2.02-0.86.el7.centosupdates
grub2-common.noarch  1:2.02-0.86.el7.centosupdates
grub2-pc.x86_64  1:2.02-0.86.el7.centosupdates
grub2-pc-modules.noarch  1:2.02-0.86.el7.centosupdates
grub2-tools.x86_64   1:2.02-0.86.el7.centosupdates
grub2-tools-extra.x86_64 1:2.02-0.86.el7.centosupdates
grub2-tools-minimal.x86_64   1:2.02-0.86.el7.centosupdates
kernel.x86_643.10.0-1127.18.2.el7  updates
kernel-headers.x86_643.10.0-1127.18.2.el7  updates
kernel-tools.x86_64  3.10.0-1127.18.2.el7  updates
kernel-tools-libs.x86_64 3.10.0-1127.18.2.el7  updates
python-perf.x86_64   3.10.0-1127.18.2.el7  updates

Is it "safe" for me to to do a yum update or should I wait?



> 
> I'll post here again once we have pushed the EL8 and CentOS Stream updates.
> 
> Content-Description: OpenPGP digital signature
> 
> -BEGIN PGP SIGNATURE-
> 
> iF0EARECAB0WIQTn6goIPoKGmzXde4tMqQyCasFjswUCXyaqigAKCRBMqQyCasFj
> swMtAKCIljOaB6o0mxnvIUqA0pP2l16hUwCgnmSj3aPKOym7s58ismQ0mDKfwus=
> =S/HK
> 

Re: [CentOS] 8.2.2004 Quick recovery and fix for unbootable machines

2020-08-01 Thread Robert Heller
Question:  I have a CentOS 7 VPS.  I have not yet had this problem -- I have 
not yet done an update since this problem showed up.  Will this problem affect 
my server?  *I* don't have access to the bare metal -- it is a cloud VPS I am 
renting.

At Sun, 2 Aug 2020 14:21:58 +1200 Alan McRae ,  CentOS 
mailing list  wrote:

> 
> This is a quick recovery and fix for the machines rendered unbootable 
> after the grub2/shim yum update.
> 
> It is written for CentOS 8.2.2004 but similar should work for any CentOS 
> 8 or 7 as long as you get the correct shim file,
> that is, the one from the latest installation media.
> 
> I am running on an x86_64 architecture (see uname -i). Please use the 
> correct shim file for your architecture (shim--15-11.el8..rpm)
> 
> I have tested this by breaking a machine and then recovering it. It 
> works for me.
> 
> I hope someone finds it useful. Let me know.
> 
> Regards
> Alan
> 
> HOW TO BOOT AN UNBOOTABLE MACHINE
> =
> 
> 1) Download a copy of rEFind. This is a UEFI boot manager. Burn it to a 
> USB key.
> 
> # wget -O refind.zip 
> http://sourceforge.net/projects/refind/files/0.12.0/refind-flashdrive-0.12.0.zip/download
> # unzip refind.zip
> # cd refind-flashdrive-0.12.0
> # dd if=refind-flashdrive-0.12.0.img bs=4096 of=/dev/sdX (sdX is the 
> device for your USB key, this will be erased, use the whole device use 
> sdX not sdX1)
> 1800+0 records in
> 1800+0 records out
> 7372800 bytes (7.4 MB, 7.0 MiB) copied, 0.980893 s, 7.5 MB/s
> 
> 2) Turn off secureboot in your UEFI hardware.
> 
> 3) Boot the USB key. You should get a colourful screen with icons and a 
> filename below.
> 
> Use the left/right arrow keys to select the correct grubx64.efi.
> Hit space to boot.
> 
> Your usual grub menu should appear and the system should boot normally.
> 
> HOW TO FIX THE PROBLEM
> =
> 
> 1) We need to downgrade the shim package. Now your system is running get 
> an older copy of the correct shim package for your architecture
> from the CentOS installation media (e.g. 
> CentOS-8.2.2004-x86_64-dvd1.iso) and install it.
> 
> # mount CentOS-8.2.2004-x86_64-dvd1.iso /mnt
> # cd /mnt/BaseOS/Packages
> # cp shim-x64-15-11.el8.x86_64.rpm /root
> # cd /root
> # umount /mnt
> 
> OR
> 
> Get the package from a CentOS mirror:
> 
> # cd /root
> # wget 
> http://ucmirror.canterbury.ac.nz/linux/CentOS/8.2.2004/BaseOS/x86_64/os/Packages/shim-x64-15-11.el8.x86_64.rpm
> 
> 2) We can now reinstall the older shim package using yum. This will 
> downgrade the package to the working version.
> 
> # yum install shim-x64-15-11.el8.x86_64.rpm
> 
> Last metadata expiration check: 2:11:11 ago on Sun 02 Aug 2020 11:31:06 
> NZST.
> Dependencies resolved.
> 
> 
>   Package Architecture Version 
> Repository                 
>                     
> Size
> 
> Downgrading:
>   shim-x64 x86_64 15-11.el8 
> @commandline                
>                   647 k
> 
> Transaction Summary
> 
> Downgrade  1 Package
> 
> Total size: 647 k
> Is this ok [y/N]: y
> Downloading Packages:
> Running transaction check
> Transaction check succeeded.
> Running transaction test
> Transaction test succeeded.
> Running transaction
>    Preparing : 1/1
>    Downgrading      : shim-x64-15-11.el8.x86_64 1/2
>    Cleanup          : shim-x64-15-13.el8.x86_64 
> 2/2
>    Verifying        : shim-x64-15-11.el8.x86_64 1/2
>    Verifying        : shim-x64-15-13.el8.x86_64 2/2
> Installed products updated.
> 
> Downgraded:
> shim-x64-15-11.el8.x86_64
> 
> Complete!
> 
> 3) Your system should now boot normally.
> 
> 4) add "exclude=shim*" to /etc/yum.conf to prevent the broken one being 
> reinstalled.  You should now be able to run 'yum update'. Remove the 
> exclude= when a prop

  1   2   3   4   5   6   7   8   9   10   >