Bug 26788

Summary: postfix: postfix-script: line 74: cd: too many arguments
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: smelror
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: postfix-3.5.2-1.mga8.src.rpm CVE:
Status comment:

Description Bit Twister 2020-06-13 09:34:19 CEST
Description of problem: mga8 dev0
postfix reload
/usr/libexec/postfix/postfix-script: line 74: cd: too many arguments
postfix/postfix-script: fatal: no Postfix shared-library directory /usr/lib64 mydestination = tb.home.test localhost.home.test localhost home.test mynetworks = 127.0.0.0/8 192.168.11.0/24 relayhost = wb.home.test relay_domains = smtp_host_lookup = dns, native masquerade_exceptions = root mailbox_size_limit = 0 message_size_limit = 0 default_destination_concurrency_limit = 1 default_destination_recipient_limit = 3 smtp_generic_maps = hash:/etc/postfix/generic smtp_sasl_auth_enable = yes smtpd_sasl_type = dovecot smtpd_sasl_path = private/auth smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination smtp_sasl_security_options = smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd!
make: *** [Makefile:20: PostfixMake] Error 1


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. systemctl start postfix
2. journalctl -xe


background:
clean netinstall on 64 bit hardware.

I have automated my postfix install with custom change scripts and a make file. 
No problems to date until Cauldron mga8

Offhand error message seems to be about mydestination, So

# cd /etc/postfix
# grep '^mydestination = ' *
main.cf.default:mydestination = $myhostname, localhost.$mydomain, localhost
Comment 1 Lewis Smith 2020-06-13 21:36:54 CEST
Thanks for the report.

Postfix has various committers, so assigning this globally; CC'ing Stig who did the latest one.

Assignee: bugsquad => pkg-bugs
CC: (none) => smelror

Comment 2 Bit Twister 2020-06-13 22:25:49 CEST
(In reply to Lewis Smith from comment #1)
> Thanks for the report.
> 
> Postfix has various committers, so assigning this globally; CC'ing Stig who
> did the latest one.

Just now completed a VirtualBox install. postfix came up without problem.
Guessing one of my changes causes the problem. I will have to spend some time
backing out my changes until I can locate which one causes the problem.
Comment 3 Bit Twister 2020-06-14 10:09:45 CEST
Found my problem. My latest changes created two spaces in front of key words.
remove the leading spaces and postfix now starts.

Sorry for the extra work.

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