It look like Bacula's libs3 doesn't support OpenSSL 3.0. However, you could try applying the patch (attached) from the src.rpm of the EPEL9 libs3.
cd libs3-20200523 patch -p1 < ...path..to..libs3-openssl3.patch... I think the Bacula provided libs3 contains changes that are not in the 4.1 version from EPEL (it contains the source at https://github.com/bji/libs3, where the last change is from Apr 9, 2019, but I assume the Bacula provided one is from May 23, 2020, based on the file name). __Martin >>>>> On Mon, 9 Oct 2023 17:21:35 +0000, Levi Wilbert said: > > Thanks for the reply, it seems the "make clean" was what was holding it up. > > Now it seems I've run into another error after running make install (after a > make clean): > > build/obj/bucket.do: Compiling dynamic object > build/obj/bucket_metadata.do: Compiling dynamic object > src/bucket_metadata.c: In function âgenerate_content_md5â: > src/bucket_metadata.c:489:5: error: âMD5_Initâ is deprecated: Since > OpenSSL 3.0 [-Werror=deprecated-declarations] > 489 | MD5_Init(&mdContext); > | ^~~~~~~~ > In file included from src/bucket_metadata.c:31: > /usr/include/openssl/md5.h:49:27: note: declared here > 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); > | ^~~~~~~~ > src/bucket_metadata.c:490:5: error: âMD5_Updateâ is deprecated: Since > OpenSSL 3.0 [-Werror=deprecated-declarations] > 490 | MD5_Update(&mdContext, data, size); > | ^~~~~~~~~~ > In file included from src/bucket_metadata.c:31: > /usr/include/openssl/md5.h:50:27: note: declared here > 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, > size_t len); > | ^~~~~~~~~~ > src/bucket_metadata.c:491:5: error: âMD5_Finalâ is deprecated: Since > OpenSSL 3.0 [-Werror=deprecated-declarations] > 491 | MD5_Final((unsigned char*)md5Buffer, &mdContext); > | ^~~~~~~~~ > In file included from src/bucket_metadata.c:31: > /usr/include/openssl/md5.h:51:27: note: declared here > 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); > | ^~~~~~~~~ > cc1: all warnings being treated as errors > make: *** [GNUmakefile:227: build/obj/bucket_metadata.do] Error 1 > > > > I'm wondering however, if the plugin is really the issue I'm running into. I > was able to install libs3 4.1 from EPEL, which I've downloaded and am able to > use with our Ceph object storage running the commands manually (s3 list, s3 > get <bucket/file>. > > Is the Bacula provided driver different than the EPEL libs3? > > > Levi Wilbert > HPC & Linux Systems Administrator > ARCC - Division of Research and Economic Development > Information Technology Ctr 226 > 1000 E. University Avenue, Laramie, WY 82071-200 > > > > > ________________________________ > From: Martin Simmons <mar...@lispworks.com> > Sent: Monday, October 9, 2023 10:44 AM > To: Levi Wilbert <lwilb...@uwyo.edu> > Cc: bacula-users@lists.sourceforge.net <bacula-users@lists.sourceforge.net> > Subject: Re: [Bacula-users] Ceph S3 support in Bacula Community 13.0.3 > > Firstly, you also need to install whatever provides xml2-config (the libxml2 > development libraries). > > Then try running make clean before make install (or just make). That should > remake the dependency files to find your curl/curl.h. > > __Martin > > >>>>> On Mon, 9 Oct 2023 14:30:33 +0000, Levi Wilbert said: > > > > BUMP > > > > Anyone have any guidance on this? > > > > Levi Wilbert > > HPC & Linux Systems Administrator > > ARCC - Division of Research and Economic Development > > Information Technology Ctr 226 > > 1000 E. University Avenue, Laramie, WY 82071-200 > > > > > > > > > > ________________________________ > > From: Levi Wilbert <lwilb...@uwyo.edu> > > Sent: Monday, October 2, 2023 4:43 PM > > To: bacula-users@lists.sourceforge.net <bacula-users@lists.sourceforge.net> > > Subject: [Bacula-users] Ceph S3 support in Bacula Community 13.0.3 > > > > > > â This message was sent from a non-UWYO address. Please exercise caution > > when clicking links or opening attachments from external sources. > > > > I'm running Bacula Community 13.0.3 in RHEL9, and having trouble getting > > the s3 plugin working w/ Ceph. > > > > I've done a bit of reading in the docs, and have been finding info > > conflicting/confusing info that S3 Ceph may not be supported under > > Community? > > > > On this page (for Bacula 11: > > https://www.bacula.org/bacula-release-11-0-3/), it says to download and > > compile the Cloud driver from here: > > https://www.bacula.org/downloads/libs3-20200523.tar.gz > > > > I downloaded this file, and untar'd it to a local folder. > > > > When I attempt to build it w/ "rpmbuild -ta libs3-20200523.tar.gz", I get: > > [root@bacula-dev libs3-20200523]# rpmbuild -ta libs3-20200523.tar.gz > > error: Bad source: /root/software/libs3-20200523/libs3-trunk.tar.gz: No > > such file or directory > > > > When I try it w/ "make install" I get: > > [root@bacula-dev libs3-20200523]# make install > > make: xml2-config: No such file or directory > > make: xml2-config: No such file or directory > > make: *** No rule to make target 'curl/curl.h', needed by > > 'build/obj/bucket.do'. Stop. > > > > I have libcurl-devel installed, and curl.h is on the system in > > /usr/include/curl/curl.h. > > > > I can use our Ceph S3 storage just fine using rclone, so there are system > > drivers present, however, I've attempted configuring the cloud storage in > > bacula-sd.conf: > > > > # Pathfinder S3 - DEV > > Device { > > Name = pathfinder_device > > Device Type = Cloud > > Cloud = PF_S3 # references "Cloud{}" object name > > Archive Device = /backups/PF_S3 > > Maximum Part Size = 500 MB > > Media Type = CloudType > > LabelMedia = yes > > Random Access = Yes > > AutomaticMount = yes > > RemovableMedia = no > > AlwaysOpen = no > > } > > > > Cloud { > > Name = PF_S3 > > Driver = "S3" > > Host Name = pathfinder.arcc.uwyo.edu > > Bucket Name = "<my-bucket>" > > Access Key = "<access-key>" > > Secret Key = "<secret-key>" > > Protocol = HTTPS > > Upload = EachPart > > UriStyle = Path # Must be set for CEPH > > } > > > > After restarting Bacula w/ this config, I try running listing the cloud > > volumes in the cloud w/ this cloud storage, but I get the following error: > > 3900 Error reserving device pathfinder_device cloud > > > > > > The documentation I've read thus far hasn't been incredibly clear, as far > > as whether Ceph S3 is supported or not in the community edition, or if this > > is something that can be added to an installation. > > > > In any case, I'm unable to get our Ceph system hooked up to this server in > > Bacula! Can anyone provide any insight on what's wrong? > > > > Thank you. > > > > Bacula Release 11.0.3 | > > Bacula<https://www.bacula.org/bacula-release-11-0-3/> > > We are pleased to announce the release of Bacula version 11.0.3 to both the > > Bacula website (www.bacula.org<http://www.bacula.org>) and to SourceForge. > > Thank you for using > > www.bacula.org<http://www.bacula.org> > > > > > > Levi Wilbert > > HPC & Linux Systems Administrator > > ARCC - Division of Research and Economic Development > > Information Technology Ctr 226 > > 1000 E. University Avenue, Laramie, WY 82071-200 > > > > > > > > >
libs3-openssl3.patch
Description: Binary data
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users