Hide Forgot
Description of problem: [root@morgansmachine ~]# rpm -ql postfix | grep newaliases /usr/bin/newaliases /usr/bin/newaliases.postfix /usr/share/man/man1/newaliases.1.gz /usr/share/man/man1/newaliases.postfix.1.gz [root@morgansmachine ~]# newaliases bash: newaliases: command not found... Packages providing this file are: 'exim' 'ssmtp' 'opensmtpd' 'postfix' 'sendmail' [root@morgansmachine ~]# /usr/bin/newaliases -bash: /usr/bin/newaliases: No such file or directory [root@morgansmachine ~]# dnf install postfix Last metadata expiration check performed 0:06:00 ago on Sun Jan 3 13:08:43 2016. Package postfix-2:3.0.3-1.fc22.x86_64 is already installed, skipping. Dependencies resolved. Nothing to do. Complete! [root@morgansmachine ~]# Version-Release number of selected component (if applicable): postfix-2:3.0.3-1.fc22.x86_64 How reproducible: Always Steps to Reproduce: 1. install postfix 2. configure aliases 3. Actual results: Jan 03 13:02:35 morgansmachine.lan aliasesdb[20586]: touch: failed to get attributes of ‘/etc/aliases.db’: No such file or directory Expected results: /etc/aliases.db Additional info:
As I was moving from one machine to another and making no changes to my users etc - as a work around, I copied /etc/aliases.db from one to the other. This worked. As this bug stopped the set up of a functioning postfix and there was no 'capacity to produce', severity should be increased to URGENT.
I am unable to reproduce on cleanly provisioned machine: # dnf install postfix ... # rpm -q postfix postfix-3.0.3-1.fc22.x86_64 # newaliases # echo $? 0 Maybe there are more MTAs installed simultaneously on your machine? In such case you need to select the 'default MTA' through alternatives, e.g.: # alternatives --config mta or uninstall all other MTAs. I guess this could be remnant of one older bug, where f22 installation ISO pulled-in esmtp package during installation. The esmtp MTA doesn't provide newaliases command, thus the default MTA needs to be changed by hand. Unfortunately this old bug is unfixable, because it is not possible to change already released installation media.
Hmm, yes - esmtp does seem to be installed. selinux is throwing errors against it: Bug 1295379 Removed it # newaliases # echo $? 0 done
Must be a dup of the bug you refer to, but I don't know it's ref
(In reply to morgan read from comment #4) > Must be a dup of the bug you refer to, but I don't know it's ref IIRC originally bug 1265838, probably somehow overflew into f22.