Yes we're going to be removing the certs from all hosts behind rsync.repo.almalinux.org - there's no need for them there.

The web side of them is really just to make browsing and checking on them easier.

On Fri, May 3, 2024 at 12:20 PM Roberto Alvarado <mirrors@hnd.cl> wrote:
Hi Jonathan,

Additionally  the cert for  rsync.repo.almalinux.org its expired:

 % nmap -p 443 --script ssl-cert rsync.repo.almalinux.org
Starting Nmap 7.95 ( https://nmap.org ) at 2024-05-03 13:17 -04
Nmap scan report for rsync.repo.almalinux.org (23.111.153.218)
Host is up (0.12s latency).
rDNS record for 23.111.153.218: repo-us-01.almalinux.org

PORT    STATE SERVICE
443/tcp open  https
| ssl-cert: Subject: commonName=rsync.repo.almalinux.org
| Subject Alternative Name: DNS:atl.rsync.repo.almalinux.org, DNS:rsync.repo.almalinux.org
| Issuer: commonName=R3/organizationName=Let's Encrypt/countryName=US
| Public Key type: rsa
| Public Key bits: 4096
| Signature Algorithm: sha256WithRSAEncryption
| Not valid before: 2024-01-26T14:37:36
| Not valid after:  2024-04-25T14:37:35
| MD5:   c6de:f0d8:7ea8:facb:c4aa:f3a6:3e46:c2c0
|_SHA-1: ff0d:a7b9:7572:07fe:39c2:5145:6221:d84a:14c8:8dbf

Nmap done: 1 IP address (1 host up) scanned in 2.11 seconds

Regards


El 03-05-2024, 13:13:23, Jonathan Wright <jonathan@almalinux.org> escribió:
The TIME and timestamp.txt file updater scripts weren't working on one of the 3 rsync sources.  This is fixed now and the "expired" status should resolve itself within 15 minutes of your next sync that grabs the update files.

Thanks for bringing this to our attention.

On Fri, May 3, 2024 at 11:59 AM Petar Smilajkov <peconi@cloudpropeller.com> wrote:
Hi all,

Got Jonathan's announcement tabout 9.4 syncing soon (yay), however, when I checked Cloud Propeller's mirror status on the website - it shows as expired.

This is odd since we are syncing, or so I believe.

[Cursory check]

and

... MATCH


[Bash/Dash script]

root@mirror:/home/mirror# cat sync-alma.sh

#/bin/dash

# Define where you want the mirror-data to be on your mirror
RSYNCSOURCE=rsync://rsync.repo.almalinux.org/almalinux/
BASEDIR=/var/www/html/almalinux/
 
# Ensure target dir exists 
if [ ! -d ${BASEDIR} ]; then
  warn "${BASEDIR} does not exist yet, trying to create it..."
  mkdir -p ${BASEDIR} || fatal "Creation of ${BASEDIR} failed."
fi

# Do some internal timestamping for CP purposes
rm ${BASEDIR}_cp_last_sync.txt
date -u > ${BASEDIR}_rsync_in_progress.txt
date >> ${BASEDIR}_rsync_in_progress.txt

# Sync
/usr/bin/flock -n /tmp/almalinux_rsync.lock -c "/usr/bin/rsync -avSH --no-owner -f 'R .~tmp~' --progress --stats --delete-delay --delay-updates --delete-excluded ${RSYNCSOURCE} ${BASEDIR}"

# Update internal timestamping for CP purposes
date -u > ${BASEDIR}_cp_last_sync.txt
date >> ${BASEDIR}_cp_last_sync.txt
cp ${BASEDIR}_cp_last_sync.txt /var/www/html/almalinux-isos/_cp_last_sync.txt



[Script run]

mirror@mirror:~$ ./sync-alma.sh

receiving file list ...
193970 files to consider
./
8.9/isos/x86_64/
deleting _rsync_in_progress.txt
deleting 8.9/isos/x86_64/_cp_last_sync.txt
 
Number of files: 193,970 (reg: 193,086, dir: 812, link: 72)
Number of created files: 0
Number of deleted files: 2 (reg: 2)
Number of regular files transferred: 0
Total file size: 740,447,001,014 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 10,541,632
File list generation time: 0.552 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 52
Total bytes received: 10,541,661

sent 52 bytes  received 10,541,661 bytes  1,109,654.00 bytes/sec
total size is 740,447,001,014  speedup is 70,239.72

[Dir check]

root@mirror:/var/www/html/almalinux# du -sh

612G    .

root@mirror:/var/www/html/almalinux# ls -lhat

total 152K
-rw-rw-r--  1 mirror mirror   64 May  3 12:53 _cp_last_sync.txt
drwxrwxr-x 13 mirror mirror 4.0K May  3 12:53 .
-rw-r--r--  1 mirror mirror   11 May  2 12:51 TIME
-rw-r--r--  1 mirror mirror   32 May  2 12:51 timestamp.txt
drwxrwxr-x  2 mirror mirror 4.0K Apr 12 07:37 8.8
drwxrwxr-x  2 mirror mirror 4.0K Apr 12 07:37 9.2
drwxr-xr-x 22 mirror mirror 4.0K Mar  6 07:57 ..
drwxr-xr-x 20 mirror mirror 4.0K Dec 21 05:43 9.3
drwxr-xr-x 20 mirror mirror 4.0K Dec 21 04:58 8.9
lrwxrwxrwx  1 mirror mirror   70 Nov 21 11:24 almalinux-release-latest-8.ppc64le.rpm -> 8.9/BaseOS/ppc64le/os/Packages/almalinux-release-8.9-1.el8.ppc64le.rpm
lrwxrwxrwx  1 mirror mirror   66 Nov 21 11:24 almalinux-release-latest-8.s390x.rpm -> 8.9/BaseOS/s390x/os/Packages/almalinux-release-8.9-1.el8.s390x.rpm
lrwxrwxrwx  1 mirror mirror   70 Nov 21 11:24 almalinux-release-latest-8.aarch64.rpm -> 8.9/BaseOS/aarch64/os/Packages/almalinux-release-8.9-1.el8.aarch64.rpm
lrwxrwxrwx  1 mirror mirror   68 Nov 21 11:24 almalinux-release-latest-8.x86_64.rpm -> 8.9/BaseOS/x86_64/os/Packages/almalinux-release-8.9-1.el8.x86_64.rpm
lrwxrwxrwx  1 mirror mirror    3 Nov 21 11:24 8 -> 8.9
lrwxrwxrwx  1 mirror mirror   68 Nov 13 10:39 almalinux-repos-latest-9.ppc64le.rpm -> 9.3/BaseOS/ppc64le/os/Packages/almalinux-repos-9.3-1.el9.ppc64le.rpm
lrwxrwxrwx  1 mirror mirror   71 Nov 13 10:39 almalinux-gpg-keys-latest-9.ppc64le.rpm -> 9.3/BaseOS/ppc64le/os/Packages/almalinux-gpg-keys-9.3-1.el9.ppc64le.rpm
lrwxrwxrwx  1 mirror mirror   70 Nov 13 10:39 almalinux-release-latest-9.ppc64le.rpm -> 9.3/BaseOS/ppc64le/os/Packages/almalinux-release-9.3-1.el9.ppc64le.rpm
lrwxrwxrwx  1 mirror mirror   64 Nov 13 10:39 almalinux-repos-latest-9.s390x.rpm -> 9.3/BaseOS/s390x/os/Packages/almalinux-repos-9.3-1.el9.s390x.rpm
lrwxrwxrwx  1 mirror mirror   67 Nov 13 10:39 almalinux-gpg-keys-latest-9.s390x.rpm -> 9.3/BaseOS/s390x/os/Packages/almalinux-gpg-keys-9.3-1.el9.s390x.rpm
lrwxrwxrwx  1 mirror mirror   66 Nov 13 10:39 almalinux-release-latest-9.s390x.rpm -> 9.3/BaseOS/s390x/os/Packages/almalinux-release-9.3-1.el9.s390x.rpm
lrwxrwxrwx  1 mirror mirror   68 Nov 13 10:39 almalinux-repos-latest-9.aarch64.rpm -> 9.3/BaseOS/aarch64/os/Packages/almalinux-repos-9.3-1.el9.aarch64.rpm
lrwxrwxrwx  1 mirror mirror   71 Nov 13 10:39 almalinux-gpg-keys-latest-9.aarch64.rpm -> 9.3/BaseOS/aarch64/os/Packages/almalinux-gpg-keys-9.3-1.el9.aarch64.rpm
lrwxrwxrwx  1 mirror mirror   70 Nov 13 10:39 almalinux-release-latest-9.aarch64.rpm -> 9.3/BaseOS/aarch64/os/Packages/almalinux-release-9.3-1.el9.aarch64.rpm
lrwxrwxrwx  1 mirror mirror   66 Nov 13 10:39 almalinux-repos-latest-9.x86_64.rpm -> 9.3/BaseOS/x86_64/os/Packages/almalinux-repos-9.3-1.el9.x86_64.rpm
lrwxrwxrwx  1 mirror mirror   69 Nov 13 10:39 almalinux-gpg-keys-latest-9.x86_64.rpm -> 9.3/BaseOS/x86_64/os/Packages/almalinux-gpg-keys-9.3-1.el9.x86_64.rpm
lrwxrwxrwx  1 mirror mirror   68 Nov 13 10:39 almalinux-release-latest-9.x86_64.rpm -> 9.3/BaseOS/x86_64/os/Packages/almalinux-release-9.3-1.el9.x86_64.rpm
lrwxrwxrwx  1 mirror mirror    3 Nov 13 10:11 9 -> 9.3
-rw-rw-r--  1 mirror mirror 5.1K Oct 16  2023 RPM-GPG-KEY-AlmaLinux
-rw-rw-r--  1 mirror mirror 3.5K Oct 12  2023 RPM-GPG-KEY-AlmaLinux-legacy
lrwxrwxrwx  1 mirror mirror   72 Aug 24  2023 almalinux-release-synergy-latest-9.noarch.rpm -> 9/extras/x86_64/os/Packages/almalinux-release-synergy-9-2.el9.noarch.rpm
lrwxrwxrwx  1 mirror mirror   72 Aug 24  2023 almalinux-release-synergy-latest-8.noarch.rpm -> 8/extras/x86_64/os/Packages/almalinux-release-synergy-8-2.el8.noarch.rpm
drwxrwxr-x  2 mirror mirror 4.0K Aug  3  2023 8.7
drwxrwxr-x  2 mirror mirror 4.0K Aug  3  2023 9.0
drwxrwxr-x  2 mirror mirror 4.0K Aug  3  2023 9.1
drwxrwxr-x  2 mirror mirror 4.0K Aug  3  2023 8.3
drwxrwxr-x  2 mirror mirror 4.0K Aug  3  2023 8.4
drwxrwxr-x  2 mirror mirror 4.0K Aug  3  2023 8.5
drwxrwxr-x  2 mirror mirror 4.0K Aug  3  2023 8.6
lrwxrwxrwx  1 mirror mirror   21 May 16  2022 RPM-GPG-KEY-AlmaLinux-8 -> RPM-GPG-KEY-AlmaLinux
-rw-rw-r--  1 mirror mirror 3.1K Apr 19  2022 RPM-GPG-KEY-AlmaLinux-9


This should just work, as it has in the past.

Can anyone spot an issue here?

Thanks in advance.

Petar Smilajkov
CEO & Chief Architect
Cloud Propeller, Inc.
+1 (614) 639-1122 // cell
+1 (614) 467-3596 // e-fax
+1 (614) 505-9555 // support
☁ cloudpropeller.com // web
_______________________________________________
Mirror mailing list -- mirror@lists.almalinux.org
To unsubscribe send an email to mirror-leave@lists.almalinux.org


--
Jonathan Wright
AlmaLinux Foundation
Mattermost: chat
_______________________________________________
Mirror mailing list -- mirror@lists.almalinux.org
To unsubscribe send an email to mirror-leave@lists.almalinux.org


--
Jonathan Wright
AlmaLinux Foundation
Mattermost: chat