| Summary: | Unexpanded macros in service files | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Juan Magallon <jamagallon> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | marja11 |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | samba-4.9.1-2.mga7.src.rpm | CVE: | |
| Status comment: | |||
Hi Juan, Thanks for the report. It was probably hard to find, because that bug report was originally about empty files, but James Kerr reported this, too, in bug #23796, comment #5 I think it is better to keep bug 23796 report for this new issue, because it is so closely related to the original issue in that report *** This bug has been marked as a duplicate of bug 23796 *** Status:
NEW =>
RESOLVED |
After latest update both nmb.service and smb.service fail to start: sus:~# systemctl status smb ● smb.service - Samba SMB Daemon Loaded: error (Reason: Exec format error) Active: inactive (dead) Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Nov 06 13:22:49 asus systemd[1]: /usr/lib/systemd/system/smb.service:11: Not an absolute path, ignoring: @PIDDIR@/smbd.pid Nov 06 13:22:49 asus systemd[1]: /usr/lib/systemd/system/smb.service:13: Path '-@SYSCONFDIR@/sysconfig/samba' is not absolute, ig> Nov 06 13:22:49 asus systemd[1]: /usr/lib/systemd/system/smb.service:14: Executable path is not absolute: @SBINDIR@/smbd --foregr> Nov 06 13:32:11 asus systemd[1]: /usr/lib/systemd/system/smb.service:11: Not an absolute path, ignoring: @PIDDIR@/smbd.pid Nov 06 13:32:11 asus systemd[1]: /usr/lib/systemd/system/smb.service:13: Path '-@SYSCONFDIR@/sysconfig/samba' is not absolute, ig> Nov 06 13:32:11 asus systemd[1]: /usr/lib/systemd/system/smb.service:14: Executable path is not absolute: @SBINDIR@/smbd --foregr> It looks like there are unsubstituted macros @....@ in service files: [Service] Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba Type=notify NotifyAccess=all PIDFile=@PIDDIR@/smbd.pid LimitNOFILE=16384 EnvironmentFile=-@SYSCONFDIR@/sysconfig/samba ExecStart=@SBINDIR@/smbd --foreground --no-process-group $SMBDOPTIONS ExecReload=/bin/kill -HUP $MAINPID LimitCORE=infinity @systemd_smb_extra@