On 11/15/25 17:10, BetaRays wrote:
> Hello,
> 
> I grep-ed the source code for the error, and it seems to happen if processes 
> fail to
> chroot to PATH_CHROOT, which by default is defined to be /var/empty, but can 
> be
> changed when running ./configure
> 
> I don’t know where to find Aurora’s packaging sources, but it seems Fedora 
> does
> change it: https://src.fedoraproject.org/rpms/opensmtpd/blob/rawhide/f/
> opensmtpd.spec#_98.
> 
> So, on Fedora, according to https://docs.fedoraproject.org/en-US/packaging-
> guidelines/RPMMacros/#macros_installation, that should be set to 
> /var/empty/smtpd, at
> least as far as I understand.
> 
> Hope it helps.
> 

Thanks a lot.

I also looked into the source code and found this one. After having created the
directory I got a different error which I will check by looking further into the
source code later today.



> Le 15/11/2025 à 15:44, Manfred Lotz a écrit :
>> Hi all,
>> I run opensmtpd on Aurora as a local mail server. Aurora is an immutable 
>> Linux
>> based somehow on Fedora. Opensmtpd works great here.
>>
>>
>> Now I installed the same Aurora on another laptop and I also took over the
>> opensmtpd config from the first system. Here I get the following errors when
>> starting opensmtpd
>>
>> Nov 15 15:26:16 hufflepuff systemd[1]: Starting opensmtpd.service - 
>> OpenSMTPD mail
>> daemon...
>> Nov 15 15:26:16 hufflepuff smtpd[7647]: info: OpenSMTPD 7.7.0-portable 
>> starting
>> Nov 15 15:26:16 hufflepuff systemd[1]: Started opensmtpd.service - OpenSMTPD 
>> mail
>> daemon.
>> Nov 15 15:26:16 hufflepuff smtpd[7651]: crypto: ca: chroot: No such file or 
>> directory
>> Nov 15 15:26:16 hufflepuff smtpd[7652]: control: control: chroot: No such 
>> file or
>> directory
>> Nov 15 15:26:16 hufflepuff smtpd[7656]: scheduler: scheduler: chroot: No 
>> such file
>> or directory
>> Nov 15 15:26:16 hufflepuff smtpd[7650]: smtpd: process control socket closed
>> Nov 15 15:26:16 hufflepuff systemd[1]: opensmtpd.service: Main process 
>> exited,
>> code=exited, status=1/FAILURE
>> Nov 15 15:26:16 hufflepuff systemd[1]: opensmtpd.service: Failed with result 
>> 'exit-
>> code'.
>>
>>
>> I don't really understand what these errors mean.
>>
>>
>> Debugging didn't help and SELinux didn't show any problems. I nevertheless 
>> set
>> SELinux to permissive but it didn't help either.
>>
>>
>> Any idea how to find out what's going wrong.
>>
>>
>> Thanks a lot.
>>
>>
> 


Reply via email to