[Bug 828558] New: /usr/lib/systemd/system/sendmail.service contains a bad line

https://bugzilla.novell.com/show_bug.cgi?id=828558 https://bugzilla.novell.com/show_bug.cgi?id=828558#c0 Summary: /usr/lib/systemd/system/sendmail.service contains a bad line Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: varhus@seas.upenn.edu QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:14.0) Gecko/20110307 Firefox/14.0.1 In the sendmail package, there is a line: Environment=SENDMAIL_ARGS=-L sendmail -Am -bd -q30m -om in /usr/lib/systemd/system/sendmail.service. This is broken. Per systemd.exec(5), "If you need to assign a value containing spaces to a variable, use double quotes (") for the assignment." The line should be: Environment="SENDMAIL_ARGS=-L sendmail -Am -bd -q30m -om" It only works because by default the SENDMAIL_ARGS environment variable is overridden by a line in /etc/sysconfig/sendmail. Reproducible: Always Steps to Reproduce: 1. install sendmail package (uninstalling postfix) 2. comment out the line that sets SENDMAIL_ARGS in /etc/sysconfig/sendmail 3. systemctl start sendmail Actual Results: sendmail fails to start, complaining that -L requires an argument Expected Results: sendmail should have started. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=828558 https://bugzilla.novell.com/show_bug.cgi?id=828558#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=828558 https://bugzilla.novell.com/show_bug.cgi?id=828558#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2013-07-09 07:21:27 UTC --- already fixed *** This bug has been marked as a duplicate of bug 820858 *** http://bugzilla.novell.com/show_bug.cgi?id=820858 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=828558 https://bugzilla.novell.com/show_bug.cgi?id=828558#c2 Volker Kuhlmann <volker3204@paradise.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |volker3204@paradise.net.nz Resolution|DUPLICATE | --- Comment #2 from Volker Kuhlmann <volker3204@paradise.net.nz> 2013-09-07 12:11:13 NZST --- I do not see this being fixed.
grep Environment=SENDMA /usr/lib/systemd/system/sendmail.serviceEnvironment=SENDMAIL_ARGS=-L sendmail -Am -bd -q30m -om Environment=SENDMAIL_PORT_OPTS=
rpm -qf /usr/lib/systemd/system/sendmail.service sendmail-8.14.5-85.1.2.x86_64
System has all updates as of today. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=828558 https://bugzilla.novell.com/show_bug.cgi?id=828558#c3 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO InfoProvider| |volker3204@paradise.net.nz --- Comment #3 from Dr. Werner Fink <werner@suse.com> 2013-09-09 07:50:05 UTC --- (In reply to comment #2) Try the latest sendmail package from factory ... as sendmail is not the default MTA there was no update for openSUSE 12.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=828558 https://bugzilla.novell.com/show_bug.cgi?id=828558#c4 Volker Kuhlmann <volker3204@paradise.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |REOPENED InfoProvider|volker3204@paradise.net.nz | --- Comment #4 from Volker Kuhlmann <volker3204@paradise.net.nz> 2013-09-11 14:39:37 NZST --- Are you saying that only default packages get any bugs fixed? Even if they are introduced, as I suspect in this case, by the distro rather than the upstream package? Is this a new policy? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com