Bug 181312

Summary: Invalid Usernames assigned to mail/opensmtpd package
Product: Ports & Packages Reporter: David Arceneaux <darceneaux>
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description David Arceneaux 2013-08-15 02:00:00 UTC
On a fresh install of "opensmtpd-5.3.3,1" from packages, the smtpd service refuses to start, with error message "smtpd: unknown user _smtpd"

How-To-Repeat: # pkg install opensmtpd 

Modify /usr/local/etc/mail/smtpd.conf to fit system

# /usr/local/etc/rc.d/smtpd start

Resulting in: 
   
   Starting smtpd.
   smtpd: unknown user _smtpd
   /usr/local/etc/rc.d/smtpd: WARNING: failed to start smtpd
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-15 05:14:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ashish

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2013-08-15 10:40:17 UTC
Hi David,

AFAICS, the user/group is present in [UG]IDs file, so should be created by
package. Did you create this package yourself, or using some other source ?

Could you please try installing via port, and see if that also exhibits this
behaviour ?

Thanks
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
Sent from my Emacs
Comment 3 David Arceneaux 2013-08-31 07:29:05 UTC
Installing from ports, both with and without the PAM module produces a working version.

I have since upgraded to 9.2-RELEASE-p2, and both the pkg version and ports version work.

---
David Arceneaux | Web Developer | 703-994-3427 | darceneaux@aynrand.org<mailto:darceneaux@aynrand.org>

________________________________

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and system manager immediately and delete this e-mail from your system. If you are not the named addressee or intended recipient you are notified that disclosing, disseminating, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
Comment 4 Ashish SHUKLA freebsd_committer freebsd_triage 2013-08-31 08:01:10 UTC
Hi David,

So is it fine to close this PR?

Thanks
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
Sent from my Emacs
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2013-08-31 08:23:40 UTC
State Changed
From-To: open->closed

Closing PR as confirmed by user.