Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8164 - net-mail/vm-pop3d 1.1.6 expects /etc/rc.d/config/functions , not created via emerge
Summary: net-mail/vm-pop3d 1.1.6 expects /etc/rc.d/config/functions , not created via ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-20 18:18 UTC by FieldySnuts
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FieldySnuts 2002-09-20 18:18:17 UTC
Emerged net-mail/vm-pop3d 1.1.6.

Gentoo 1.2, portage 2.0.37, gcc 2.95.3.

Upon trying /etc/init.d/vm-pop3d start :

/etc/init.d/vm-pop3d: /etc/rc.d/config/functions: No such file or directory

# ls -l /etc/rc.d/config/
ls: /etc/rc.d/config/: No such file or directory

# ls -l /etc/rc.d/
ls: /etc/rc.d/: No such file or directory

So the /etc/rc.d directory isn't even there. This makes sense to me as I didn't
think gentoo used rc.d.
Comment 1 Chris Hall 2002-09-20 18:43:37 UTC
i get the same thing, however, look @ the ebuild for it..

src_install () {

        einstall || die "make install failed"

        dodoc AUTHORS CHANGES COPYING FAQ INSTALL README TODO

        exeinto /etc/init.d
        newexe ${FILESDIR}/vm-pop3d.rc3 vm-pop3d
        insinto /etc/conf.d
        newins ${FILESDIR}/vm-pop3d.confd vm-pop3d

I sense a change is needed :)
Comment 2 Chris Hall 2002-09-20 18:44:59 UTC
pay no attention to that, im a retard, sorry.. but still i get the same thing
Comment 3 Nick Hadaway 2002-09-25 12:03:43 UTC
the vm-pop3d ebuild and configuration files have been updated.  The new files 
should be available in portage within 24 hours.

rm /etc/init.d/vm-pop3d
rm /etc/conf.d/vm-pop3d
emerge unmerge vm-pop3d
emerge rsync
emerge vm-pop3d

Let me know how things go with the update
Comment 4 FieldySnuts 2002-09-27 15:03:01 UTC
I performed all steps indicated:

# emerge vm-pop3d
Calculating dependencies ...done!
>>> emerge net-mail/vm-pop3d-1.1.6 to /
>>> md5 ;-) vm-pop3d-1.1.6.tar.gz
>>> Unpacking source...
>>> Unpacking vm-pop3d-1.1.6.tar.gz
/usr/sbin/ebuild.sh: /usr/portage/net-mail/vm-pop3d/files/makefile.in.diff: No
such file or directory

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_unpack, Line -114, Exitcode 1
!!! patch failed
Comment 5 Nick Hadaway 2002-09-27 15:57:16 UTC
I have upload the missing diff file.  It should be available on rsync servers 
within 24 hours.  Let me know how things go.
Comment 6 FieldySnuts 2002-09-28 11:42:02 UTC
Okay, downloads and compiles properly now.

However upon /etc/init.d/vm-pop3d start:

* Starting vm-pop3d......

(no [OK])

# /etc/init.d/vm-pop3d stop
 * Stopping vm-pop3d......

(again no [OK])

/var/log/mail.log:

Sep 28 12:38:21 fire-eyes vm-pop3d[6629]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6630]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6631]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6633]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6632]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6635]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6634]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6636]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6637]: Quitting on signal: 15
Sep 28 12:38:21 fire-eyes vm-pop3d[6638]: Quitting on signal: 15

Any other information I could give you to help?
Comment 7 Nick Hadaway 2002-10-07 10:10:08 UTC
http://www.reedmedia.net/software/virtualmail-pop3d/ 
Please see here for some installation instructions. 
 
Being that vm-pop3d is intended for virtual domains, there is some 
post-install configuration that is needed to acheive proper operation. 
 
If you are just looking for an imap/pop3 server for a single domain I would 
suggest trying courier-imap. 
 
AFAIK, all default directories for installation are there in the vm-pop3d 
build but there is probably some MTA configuration still needed along with 
some directories created for the virtual domains.  Please let me know how 
things go for you. 
Comment 8 FieldySnuts 2002-10-07 16:40:48 UTC
I see. I will try out courier-imap then, it sounds more suited to my task.
Hopefully I at least found a problem which was able to be fixed.

Thanks!
Comment 9 Nick Hadaway 2002-10-07 18:12:43 UTC
emerge rsync
emerge courier-imap

/etc/init.d/courier-pop3d start

AND 

rc-update add /etc/init.d/courier-pop3d default

That should get you up and running right away with support for maildir format
mailboxes.