Once I built and installed from the source RPM, when I start and stop
the cyrus-omapd server, I get the following errors: Exporting cyrus-imapd databases: runuser: warning: cannot change directory to /dev/null: Not a directory Importing cyrus-imapd databases: runuser: warning: cannot change directory to /dev/null: Not a directory In /etc/init.d/cyrus-imapd I see the following lines. Something is not right and I'm not sure what. $RUNUSER - cyrus -c "umask 166 ; /usr/lib/cyrus-imapd/cvt_cyrusdb_all > ${CONFIGDIRECTORY}/rpm/db_import.log 2>&1" < /dev/null $RUNUSER - cyrus -c "umask 166 ; /usr/lib/cyrus-imapd/cvt_cyrusdb_all export > ${CONFIGDIRECTORY}/rpm/db_export.log 2>&1" < /dev/null Thanks, Rob Alexander Dalloz said the following on 02/15/2006 09:19 AM: Am Mi, den 15.02.2006 schrieb Rob Tanner um 17:53:Alexander,One of my major reasons for building cyrus-imapd myself rather than with an RPM is that the FC4 distro RPM version logs as the mail facility, and I do not want both the MTA and cyrus-imapd logging to the same syslogI too prefer to have different log facilities / files for MTA and Cyrus-IMAPd.file. Building from unmodified source, messages are logged using the local6 facility. Do you know if Simon's package has also been modified like the FC4 distro? I've not worked with source rpms and I'm notVery trivial to change that in the .spec file of Simon's SRC.RPM: # used syslog facility for logging %{!?SYSLOGFACILITY: %define SYSLOGFACILITY LOCAL6} rpmbuild -ba --target x86_64 cyrus-imapd.spec Easy and you have the software within the package manager after installation as an RPM.comfortable trying to figure it out for myself. Or even better, is there an undocumented option (imapd.conf or cyrus.conf directive) to set the facility -- I certainly couldn't find a reference in the man pages.The syslog facility is a compile time setting only.RobAlexander |
---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html