Bug 24425

Summary: systemd-resolved.service breaks samba4 dns
Product: Mageia Reporter: Dieter Schütze <dieter>
Component: RPM PackagesAssignee: Base system maintainers <basesystem>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: bgmilne, marja11
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: systemd CVE:
Status comment:

Description Dieter Schütze 2019-02-25 15:58:03 CET
Description of problem:
Systemd-resolved-service breaks samba4 dns
the systemd-resolved blocks port 53 on tcp and udp for ipv4

systemd-241-1.mga7
systemd-units-241-1.mga7
lib64systemd0-241-1.mga7
rpm-plugin-systemd-inhibit-4.14.2.1-9.mga7
samba-dc-4.10.0-0.rc2.3.mga7

How reproducible:


Steps to Reproduce:
1. startup system with systemd-resolved and samba4 enabled
2. netstat -tulpn | grep ":53"
tcp        0      0 0.0.0.0:5355            0.0.0.0:*               LISTEN      6569/systemd-resolv 
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      6569/systemd-resolv 
tcp6       0      0 :::5355                 :::*                    LISTEN      6569/systemd-resolv 
tcp6       0      0 :::53                   :::*                    LISTEN      6595/samba          
udp        0      0 127.0.0.53:53           0.0.0.0:*                           6569/systemd-resolv 
udp        0      0 0.0.0.0:5355            0.0.0.0:*                           6569/systemd-resolv 
udp6       0      0 :::53                   :::*                                6595/samba          
udp6       0      0 :::5355                 :::*                                6569/systemd-resolv 
every question (dig xyz) to the dns will fail.
3. systemctl stop systemd-resolved.service
   systemctl restart samba
4. netstat -tulpn | grep ":53"
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      6647/samba          
tcp6       0      0 :::53                   :::*                    LISTEN      6647/samba          
udp        0      0 0.0.0.0:53              0.0.0.0:*                           6647/samba          
udp6       0      0 :::53                   :::*                                6647/samba
5. question (dig xyz) to dns works fine.
Marja Van Waes 2019-02-26 13:39:40 CET

CC: (none) => bgmilne, marja11
Assignee: bugsquad => basesystem
Source RPM: (none) => systemd

Comment 1 Aurelien Oudelet 2021-07-06 13:14:15 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 2 Marja Van Waes 2021-09-07 14:11:25 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Status: NEW => RESOLVED
Resolution: (none) => OLD