First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 114818
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Qmail Team <qmail-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: rhumbliner <mailbin@comcast.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mini-qmail-1.05.patch changes to mini-qmail ebuild patch rhumbliner 2006-01-18 12:18 0000 881 bytes Details | Diff
Makefile.patch patch to qmail's Makefile patch rhumbliner 2006-01-18 12:20 0000 1.56 KB Details | Diff
auto_uids.c.fake fake auto_uids.c file text/plain rhumbliner 2006-01-18 12:22 0000 199 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 114818 depends on: Show dependency tree
Bug 114818 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-07 17:10 0000
the mini-qmail install assumes the qmail accounts: qmaild, qmaill, etc;
pre-exist.  it aborts if they do not.  but you don't need qmail entries in
/etc/group or /etc/passwd. mini-qmail runs with the same privileges as the user
sending mail; it doesn't have any of its own files.

Reproducible: Always
Steps to Reproduce:
emerge mini-qmail
Actual Results:  
./compile auto_break.c
fatal: unable to find user qmaill
make: *** [auto_uids.c] Error 111
make: *** Waiting for unfinished jobs....

!!! ERROR: mail-mta/mini-qmail-1.05 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
do not rely upon any pre-existing accounts.

------- Comment #1 From SpanKY 2005-12-07 18:56:48 0000 -------
fixed in cvs

------- Comment #2 From rhumbliner 2006-01-18 12:18:39 0000 -------
Created an attachment (id=77454) [edit]
changes to mini-qmail ebuild

this patch changes the ebuild so that it doesn't create the user id's and group
id's needed for the qmail install.  instead the ebuild patches qmail's Makefile
so that it substitutes a dummy auto_uids.c which exists just for the install
process.  it is not used by any of the processes which make up the mini-qmail
run-time, per http://cr.yp.to/qmail/mini.html

------- Comment #3 From rhumbliner 2006-01-18 12:20:27 0000 -------
Created an attachment (id=77455) [edit]
patch to qmail's Makefile

this patch substitutes a fake auto_uids.c file for the one auto generated by
the Makefile.

------- Comment #4 From rhumbliner 2006-01-18 12:22:16 0000 -------
Created an attachment (id=77456) [edit]
fake auto_uids.c file

this is the fake auto_uids.c file.  this file is needed by several processes in
the qmail runtime, but not by any processes in the mini-qmail runtime.

------- Comment #5 From rhumbliner 2006-01-18 12:24:36 0000 -------
when i first posted this bug, i was hoping the fix would include not creating
the extra users and groups needed by qmail.  the attachments added to this bug
provide a method for accomplishing this.

------- Comment #6 From SpanKY 2006-01-26 19:41:59 0000 -------
seems i was trying way too hard to build mini-qmail

could you sync up and try 1.05-r1 for me please

------- Comment #7 From rhumbliner 2006-01-30 20:36:43 0000 -------
(In reply to comment #6)
> seems i was trying way too hard to build mini-qmail
> 
> could you sync up and try 1.05-r1 for me please
> 

Very cool.  Yes, this works exactly as I had hoped.

Thanks.

First Last Prev Next    No search results available      Search page      Enter new bug