The officially official Devuan Forum!

You are not logged in.

#1 2020-11-20 15:05:09

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 31  
Website

[Ceres + OpenRC] Opensmtpd not start during boot

Hi, I use Ceres with OpenRC.

For mail on console, I installed OpenSMTPD package and use without any problem.
But during the boot, OpenSMTPD not starts. I need to start it on the console myself.

It's not a problem with my config; in fact, when I start myself, it runs correctly, and can send emails.

Any idea?

Offline

#2 2020-11-20 18:03:35

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,142  
Website

Re: [Ceres + OpenRC] Opensmtpd not start during boot

Check the enabled services with

rc-update

If it's not listed then try to add it with

rc-update add opensmtpd

Black Lives Matter

Offline

#3 2020-11-21 12:50:27

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 31  
Website

Re: [Ceres + OpenRC] Opensmtpd not start during boot

rc-update | grep opensmtpd
            opensmtpd |      default

???

Offline

#4 2020-11-21 17:51:55

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,142  
Website

Re: [Ceres + OpenRC] Opensmtpd not start during boot

Can we see the entire (un-grep'd) output? I only use OpenRC with Alpine Linux so I'm not sure how Devuan order their services.

Otherwise check the logs for any clues.


Black Lives Matter

Offline

#5 2020-11-21 19:52:39

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 31  
Website

Re: [Ceres + OpenRC] Opensmtpd not start during boot

y!

see that:

# rc-update
           alsa-utils |                                              sysinit
              anacron |      default                                        
             apparmor |                                              sysinit
         avahi-daemon |      default                                        
             bootlogd |                                              sysinit
             bootlogs |      default               recovery                 
          bootmisc.sh |                                              sysinit
           brightness |                                              sysinit
              cgroups |                                              sysinit
           checkfs.sh |                                              sysinit
 checkroot-bootclean.sh |                                              sysinit
         checkroot.sh |                                              sysinit
     console-setup.sh |      default                                        
                 cron |      default                                        
                 cups |      default                                        
         cups-browsed |      default                                        
                 dbus |      default                                        
              elogind |      default                                        
                eudev |                                              sysinit
              hddtemp |      default                                        
          hostname.sh |                                              sysinit
           hwclock.sh |                                              sysinit
    keyboard-setup.sh |                                              sysinit
            killprocs |                            recovery                 
                 kmod |                                              sysinit
           lm-sensors |                                              sysinit
       mount-configfs |                                              sysinit
 mountall-bootclean.sh |                                              sysinit
          mountall.sh |                                              sysinit
     mountdevsubfs.sh |                                              sysinit
       mountkernfs.sh |                                              sysinit
 mountnfs-bootclean.sh |                                              sysinit
          mountnfs.sh |                                              sysinit
      network-manager |      default                                        
           networking |                                              sysinit
            opensmtpd |      default                                        
             pppd-dns |                                              sysinit
               procps |                                              sysinit
 pulseaudio-enable-autospawn |      default                                        
             rc.local |      default                                        
            rmnologin |      default                                        
                rsync |      default                                        
              rsyslog |      default                                        
                saned |      default                                        
            savecache |                        off                          
             sendsigs |                        off                          
               single |                            recovery                 
                 slim |      default                                        
        smartmontools |      default                                        
        stop-bootlogd |      default                                        
 stop-bootlogd-single |                                              sysinit
                 sudo |      default                                        
             umountfs |                        off                          
         umountnfs.sh |                        off                          
           umountroot |                        off                          
              urandom |                                              sysinit
                uuidd |      default                                        
                 wicd |      default                                        
           x11-common |                                              sysinit

I found nothing on the logs.

Last edited by PengouinPdt (2020-11-22 09:35:18)

Offline

#6 2020-11-22 15:14:33

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,142  
Website

Re: [Ceres + OpenRC] Opensmtpd not start during boot

PengouinPdt wrote:

I found nothing on the logs.

Which logs did you check? Perhaps you should upload them to a pastebin and share the link here so that we can check to see if you missed anything.

If I had to guess I would suggest that the problem lies here:

PengouinPdt wrote:
      network-manager |      default

^ That starts on the same runlevel as Opensmtpd so it might be running too late and causing the problem.

Perhaps try ifupdown (ie, /etc/network/interfaces & /etc/init.d/networking) instead of NetworkManager, that starts at the sysinit runlevel and so would ensure that the network is up before Opensmtpd starts.

See interfaces(5) & https://wiki.debian.org/WiFi/HowToUse#W … d_WPA2-PSK for the configuration methods.


Black Lives Matter

Offline

#7 2020-11-22 16:25:34

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 31  
Website

Re: [Ceres + OpenRC] Opensmtpd not start during boot

Which log? /var/log/daemon, /var/log/messages, /var/log/mail.log!

Actually, I set opensmtpd on the runlevel sysinit. Wait'n see.

If not run correctly, I will use interfaces(5). I prefere than Network Manager; interfaces are more simpliest or easy to configure. tongue

Offline

#8 Today 19:08:23

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,142  
Website

Re: [Ceres + OpenRC] Opensmtpd not start during boot

PengouinPdt wrote:

Which log?

No idea, sorry. FWIW the systemd journal is excellent for stuff like this. *dives for cover*


Black Lives Matter

Offline

#9 Today 22:31:40

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 31  
Website

Re: [Ceres + OpenRC] Opensmtpd not start during boot

I found one information on /var/log/boot. That's help me!

Offline

Board footer