Description of problem: Mageia8 can't be update to Mageia9 when freeradius is installed. It's due to the file "/usr/lib64/freeradius/rlm_ldap.so" which is embedded in two RPMs ( lib64freeradius1 & freeradius-ldap) Error report : Installation failed: the /usr/lib64/freeradius/rlm_ldap.so file of the lib64freeradius1-3.0.26-1.1.mga9.x86_64 installation conflicts with the freeradius-ldap-3.0.22-1.1.mga8.x86_64 package file. Version-Release number of selected component (if applicable): V8 & V9 & Cauldron How reproducible: every time you want to update Idea : remove the file "/usr/lib64/freeradius/rlm_ldap.so" from the "lib64freeradius1" RPM
CC last packager
CC: (none) => fri, looking4solutions80
Fixed both mga9 and Cauldron! Packages in 9/Core/Updates_testing: ====================== freeradius-3.0.26-1.2.mga9 freeradius-krb5-3.0.26-1.2.mga9 freeradius-ldap-3.0.26-1.2.mga9 freeradius-mysql-3.0.26-1.2.mga9 freeradius-postgresql-3.0.26-1.2.mga9 freeradius-sqlite-3.0.26-1.2.mga9 freeradius-unixODBC-3.0.26-1.2.mga9 freeradius-yubikey-3.0.26-1.2.mga9 libfreeradius-devel-3.0.26-1.2.mga9 libfreeradius1-3.0.26-1.2.mga9 lib64freeradius-devel-3.0.26-1.2.mga9 lib64freeradius1-3.0.26-1.2.mga9 From SRPMS: freeradius-3.0.26-1.2.mga9.src.rpm
Assignee: bugsquad => qa-bugsCC: (none) => geiger.david68210
Keywords: (none) => advisory
RH mageia 9 x86_64 I can't reproduce the conflict installing lib64freeradius1 & freeradius-ldap, what is weird because in similar case I get a fail https://bugs.mageia.org/show_bug.cgi?id=32973#c7 BTW LC_ALL=C urpmi --auto --auto-update medium "QA Testing (32-bit)" is up-to-date medium "QA Testing (64-bit)" is up-to-date medium "Core Release (distrib1)" is up-to-date medium "Core Updates (distrib3)" is up-to-date medium "Nonfree Release (distrib11)" is up-to-date medium "Nonfree Updates (distrib13)" is up-to-date medium "Tainted Release (distrib21)" is up-to-date medium "Tainted Updates (distrib23)" is up-to-date medium "Core 32bit Release (distrib31)" is up-to-date medium "Core 32bit Updates (distrib32)" is up-to-date medium "Nonfree 32bit Release (distrib36)" is up-to-date medium "Tainted 32bit Release (distrib41)" is up-to-date medium "Tainted 32bit Updates (distrib42)" is up-to-date installing freeradius-3.0.26-1.2.mga9.x86_64.rpm freeradius-ldap-3.0.26-1.2.mga9.x86_64.rpm lib64freeradius1-3.0.26-1.2.mga9.x86_64.rpm from //home/katnatek/qa-testing/x86_64 Preparing... ################################################################################################## 1/3: lib64freeradius1 ################################################################################################## 2/3: freeradius #################################################################################################warning: /etc/raddb/certs/dh created as /etc/raddb/certs/dh.rpmnew # 3/3: freeradius-ldap ################################################################################################## 1/3: removing freeradius-ldap-3.0.26-1.1.mga9.x86_64 ################################################################################################## 2/3: removing freeradius-3.0.26-1.1.mga9.x86_64 ################################################################################################## 3/3: removing lib64freeradius1-3.0.26-1.1.mga9.x86_64 Confirm the file /usr/lib64/freeradius/rlm_ldap.so is now just in one package urpmq -pil freeradius-ldap Name : freeradius-ldap Version : 3.0.26 Release : 1.2.mga9 Group : System/Servers Size : 105868 Architecture: x86_64 Source RPM : freeradius-3.0.26-1.2.mga9.src.rpm Build Host: localhost Packager : daviddavid <daviddavid> URL : https://www.freeradius.org/ Summary : The LDAP module for freeradius Description : The FreeRADIUS server can use LDAP to authenticate users, and this module is necessary for that. /usr/lib/.build-id /usr/lib/.build-id/d9/699c790293ea4ccf096346816d49996edf7c49 /usr/lib64/freeradius/rlm_ldap.so urpmq -pil lib64freeradius1 (whothout the build-ids to short) urpmq -pil lib64freeradius1 Name : lib64freeradius1 Version : 3.0.26 Release : 1.2.mga9 Group : System/Libraries Size : 599787 Architecture: x86_64 Source RPM : freeradius-3.0.26-1.2.mga9.src.rpm Build Host: localhost Packager : daviddavid <daviddavid> URL : https://www.freeradius.org/ Summary : Libraries for freeradius Description : Libraries for freeradius. /usr/lib64/freeradius /usr/lib64/freeradius/libfreeradius-dhcp.so /usr/lib64/freeradius/libfreeradius-eap.so /usr/lib64/freeradius/libfreeradius-radius.so /usr/lib64/freeradius/libfreeradius-server.so We can see is more short that current version Name : lib64freeradius1 Version : 3.0.26 Release : 1.1.mga9 Group : System/Libraries Size : 2281868 Architecture: x86_64 Source RPM : freeradius-3.0.26-1.1.mga9.src.rpm URL : https://www.freeradius.org/ Summary : Libraries for freeradius Description : Libraries for freeradius. /usr/lib64/freeradius /usr/lib64/freeradius/libfreeradius-dhcp.so /usr/lib64/freeradius/libfreeradius-eap.so /usr/lib64/freeradius/libfreeradius-radius.so /usr/lib64/freeradius/libfreeradius-server.so /usr/lib64/freeradius/proto_dhcp.so /usr/lib64/freeradius/proto_vmps.so /usr/lib64/freeradius/rlm_always.so /usr/lib64/freeradius/rlm_attr_filter.so /usr/lib64/freeradius/rlm_cache.so /usr/lib64/freeradius/rlm_cache_memcached.so /usr/lib64/freeradius/rlm_cache_rbtree.so /usr/lib64/freeradius/rlm_chap.so /usr/lib64/freeradius/rlm_counter.so /usr/lib64/freeradius/rlm_cram.so /usr/lib64/freeradius/rlm_date.so /usr/lib64/freeradius/rlm_detail.so /usr/lib64/freeradius/rlm_dhcp.so /usr/lib64/freeradius/rlm_digest.so /usr/lib64/freeradius/rlm_dynamic_clients.so /usr/lib64/freeradius/rlm_eap.so /usr/lib64/freeradius/rlm_eap_fast.so /usr/lib64/freeradius/rlm_eap_gtc.so /usr/lib64/freeradius/rlm_eap_md5.so /usr/lib64/freeradius/rlm_eap_mschapv2.so /usr/lib64/freeradius/rlm_eap_peap.so /usr/lib64/freeradius/rlm_eap_pwd.so /usr/lib64/freeradius/rlm_eap_sim.so /usr/lib64/freeradius/rlm_eap_tls.so /usr/lib64/freeradius/rlm_eap_ttls.so /usr/lib64/freeradius/rlm_example.so /usr/lib64/freeradius/rlm_exec.so /usr/lib64/freeradius/rlm_expiration.so /usr/lib64/freeradius/rlm_expr.so /usr/lib64/freeradius/rlm_files.so /usr/lib64/freeradius/rlm_idn.so /usr/lib64/freeradius/rlm_ippool.so /usr/lib64/freeradius/rlm_ldap.so /usr/lib64/freeradius/rlm_linelog.so /usr/lib64/freeradius/rlm_logintime.so /usr/lib64/freeradius/rlm_mschap.so /usr/lib64/freeradius/rlm_otp.so /usr/lib64/freeradius/rlm_pam.so /usr/lib64/freeradius/rlm_pap.so /usr/lib64/freeradius/rlm_passwd.so /usr/lib64/freeradius/rlm_perl.so /usr/lib64/freeradius/rlm_preprocess.so /usr/lib64/freeradius/rlm_python3.so /usr/lib64/freeradius/rlm_radutmp.so /usr/lib64/freeradius/rlm_realm.so /usr/lib64/freeradius/rlm_redis.so /usr/lib64/freeradius/rlm_rediswho.so /usr/lib64/freeradius/rlm_replicate.so /usr/lib64/freeradius/rlm_rest.so /usr/lib64/freeradius/rlm_smsotp.so /usr/lib64/freeradius/rlm_soh.so /usr/lib64/freeradius/rlm_sometimes.so /usr/lib64/freeradius/rlm_sql.so /usr/lib64/freeradius/rlm_sql_map.so /usr/lib64/freeradius/rlm_sql_null.so /usr/lib64/freeradius/rlm_sqlcounter.so /usr/lib64/freeradius/rlm_sqlhpwippool.so /usr/lib64/freeradius/rlm_sqlippool.so /usr/lib64/freeradius/rlm_test.so /usr/lib64/freeradius/rlm_totp.so /usr/lib64/freeradius/rlm_unbound.so /usr/lib64/freeradius/rlm_unix.so /usr/lib64/freeradius/rlm_unpack.so /usr/lib64/freeradius/rlm_utf8.so /usr/lib64/freeradius/rlm_wimax.so Reference bug#31291 comment#4 systemctl start radiusd systemctl -l status radiusd ● radiusd.service - FreeRADIUS high performance RADIUS server. Loaded: loaded (/usr/lib/systemd/system/radiusd.service; disabled; preset: disabled) Active: active (running) since Wed 2024-06-19 12:02:11 CST; 12s ago Process: 263431 ExecStartPre=/usr/sbin/radiusd -C (code=exited, status=0/SUCCESS) Process: 263433 ExecStart=/usr/sbin/radiusd -d /etc/raddb (code=exited, status=0/SUCCESS) Main PID: 263435 (radiusd) Tasks: 6 (limit: 6904) Memory: 78.2M CPU: 264ms CGroup: /system.slice/radiusd.service └─263435 /usr/sbin/radiusd -d /etc/raddb jun 19 12:02:11 jgrey.phoenix systemd[1]: Starting radiusd.service... jun 19 12:02:11 jgrey.phoenix systemd[1]: Started radiusd.service. echo 'testing Cleartext-Password := "password"' >> /etc/raddb/users systemctl restart radiusd systemctl -l status radiusd ● radiusd.service - FreeRADIUS high performance RADIUS server. Loaded: loaded (/usr/lib/systemd/system/radiusd.service; disabled; preset: disabled) Active: active (running) since Wed 2024-06-19 12:03:38 CST; 26s ago Process: 266854 ExecStartPre=/usr/sbin/radiusd -C (code=exited, status=0/SUCCESS) Process: 266857 ExecStart=/usr/sbin/radiusd -d /etc/raddb (code=exited, status=0/SUCCESS) Main PID: 266859 (radiusd) Tasks: 6 (limit: 6904) Memory: 78.0M CPU: 299ms CGroup: /system.slice/radiusd.service └─266859 /usr/sbin/radiusd -d /etc/raddb jun 19 12:03:37 jgrey.phoenix systemd[1]: Starting radiusd.service... jun 19 12:03:38 jgrey.phoenix systemd[1]: Started radiusd.service. radtest testing password 127.0.0.1 0 testing123 Sent Access-Request Id 35 from 0.0.0.0:60812 to 127.0.0.1:1812 length 77 User-Name = "testing" User-Password = "password" NAS-IP-Address = 192.168.1.3 NAS-Port = 0 Message-Authenticator = 0x00 Cleartext-Password = "password" Received Access-Accept Id 35 from 127.0.0.1:1812 to 127.0.0.1:60812 length 20 Consistent with the reference Not sure if I must give OK without testing a Mageia 8 to 9 upgrade but should be good once these package land in 9/core/updates
CC: (none) => andrewsfarm
I set a Mageia 8 x86_64 VM and: I can say that the conflicts come from Mageia 8 packages and rpmdrake From rpmdrake I can't install freeradius-ldap because it conflicts with lib64freeradius But if you install with urpmi you can install both just as I note with my test with the current versions in Mageia 9, sadly I not proceed to do the install freeradius-ldap and when do the Migration to Mageia 9 using the applet I not see the conflict
I believe that despite the statement from the reporter, the conflict doesn't necessarily appear "every time you want to update." (or upgrade) Configurations are different, so the situation may show at a different point on other M8 installs, and the conflict might not manifest. Since the potential conflict, as well as what was apparently others, has been removed, as long as the application appears to operate correctly I think we can OK and validate the update.
Keywords: (none) => validated_updateWhiteboard: (none) => MGA9-64-OKCC: (none) => sysadmin-bugs
I have not read up on this subject, but want to ask: Are we sure that on a fresh install mga9, there is no need for the now omitted file?
(In reply to Morgan Leijström from comment #6) > I have not read up on this subject, but want to ask: > > Are we sure that on a fresh install mga9, > there is no need for the now omitted file? I not see how, freeradius is not part of standar install and if you need the ldap file you install freeradius-ldap
Thank you for the explanation. Good then :)
Hi, The update is ok for me. Thanks Generally speaking, if a file is embedded in a sub-RPM of an application, I don't see why it should appear twice.
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0149.html
Status: NEW => RESOLVEDResolution: (none) => FIXED