Bug 63480

Summary: /etc/mail/aliases has executable bit set, newaliases doesn't work
Product: Base System Reporter: Toni Viemerö <toni.viemero>
Component: confAssignee: freebsd-qa (Nobody) <qa>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.2.1-RELEASE   
Hardware: Any   
OS: Any   

Description Toni Viemerö 2004-02-28 08:50:12 UTC
	FreeBSD 5.2.1-RELEASE clean install

	fluid# newaliases
	newaliases: cannot open /etc/mail/aliases: Executable files not allowed

Fix: 

fluid# chmod 644 /etc/mail/aliases
	fluid# newaliases
	/etc/mail/aliases: 25 aliases, longest 19 bytes, 269 bytes total
Comment 1 Kris Kennaway 2004-02-28 21:36:20 UTC
On Sat, Feb 28, 2004 at 10:47:47AM +0200, Toni Viemero wrote:

> 	FreeBSD 5.2.1-RELEASE clean install
> 
> 	fluid# newaliases
> 	newaliases: cannot open /etc/mail/aliases: Executable files not allowed

How did you install?  I see

kkenn@enigma:~ ls -l /etc/mail/aliases
-rw-r--r--  1 root  wheel  1578 May 16  2003 /etc/mail/aliases

Also, in the i386 installation distribution set I see

-rw-r--r-- root/wheel     1578 Feb 23 11:42 2004 ./etc/mail/aliases

Kris
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2004-02-28 21:36:37 UTC
State Changed
From-To: open->analyzed

I checked but was unable to confirm this bug report.
Comment 3 toni 2004-02-28 22:11:48 UTC
Kris Kennaway wrote:

> On Sat, Feb 28, 2004 at 10:47:47AM +0200, Toni Viemero wrote:
> 
> > 	FreeBSD 5.2.1-RELEASE clean install
> > 
> > 	fluid# newaliases
> > 	newaliases: cannot open /etc/mail/aliases: Executable files not allowed
> 
> How did you install?  I see
> 
> kkenn@enigma:~ ls -l /etc/mail/aliases
> -rw-r--r--  1 root  wheel  1578 May 16  2003 /etc/mail/aliases
> 
> Also, in the i386 installation distribution set I see
> 
> -rw-r--r-- root/wheel     1578 Feb 23 11:42 2004 ./etc/mail/aliases

I did normal clean install with 5.2.1-RELEASE-i386-miniinst.iso, cvsup
to latest RELEASE_5_2, make buildworld; make buildkernel; make
installkernel; make installworld and mergemaster. Mergemaster only wanted
to update /etc/motd.
My src tree doesn't have executable bit set for aliases, so perhaps I
accidentally have chmod'd the file or some script messed up.
Comment 4 Kris Kennaway freebsd_committer freebsd_triage 2004-03-06 08:45:26 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-qa

Assign to qa team to see if anyone can reproduce this
Comment 5 Matteo Riondato 2005-03-30 17:47:48 UTC
I didnt' manage to reproduce this bug:
#ls -l /etc/mail/aliases
-rwxr-xr-x  1 root  wheel  1631 Mar 25 21:26 /etc/mail/aliases
#/usr/bin/newaliases
#

It could have been something related to Sendmail..
is it enough to have it closed?
Best Regards
-- 
Rionda aka Matteo Riondato
Disinformato per default
G.U.F.I. Staff Member (http://www.gufi.org)
FreeSBIE Developer (http://www.freesbie.org)
Comment 6 John Baldwin freebsd_committer freebsd_triage 2005-03-30 21:38:49 UTC
State Changed
From-To: analyzed->closed

No one has reproduced this condition and the submitter suggests that perhaps 
they adjusted the perms manually.