Dear Thomas, can you give me more information? The error code 111 can be throwed from many parts of bcron's code, as you can see by launching `grep 111 *.c` in the directory of bcron's source. Most errors come with an informative string, like ... bcron-update.c: die1sys(111, "Could not change directory");
Some of them do not come with an extra string: ---------------------8<-------------------------------------- $ grep -n "111)" *.c bcron-exec.c:69: exit(111); bcron-exec.c:85: exit(111); bcron-exec.c:136: die_oom(111); bcron-exec.c:139: exit(111); bcron-exec.c:385: die_oom(111); bcrontab.c:135: die_oom(111); bcron-update.c:147: die_oom(111); bcron-update.c:216: die_oom(111); crontabs.c:45: die_oom(111); job.c:34: die_oom(111); job.c:40: die_oom(111); ---------------------8<-------------------------------------- Unfortunately, I could not reproduce the bug you are describing. Maybe you can help me? It should be possible to send some message to syslog just before lines like bcron-exec.c:69:, bcron-exec.c:85:, and so on, by recompiling bcron-exec.c with some changes, like: syslog(LOG_ERR, "Hello, this is line 69"); exit(111); instead of : exit(111); in file bcron-exec.c, line 69, and so on. Then you should know better the reason why schedulers' child fails. Thank you in advance for any information about it. Best regards, Georges. Tomas Hodek a écrit : > Package: bcron > Version: 0.11-9 > Severity: important > > Dear Maintainer, > > init script /etc/init.d/bcron-sched should start schedulers, but child fails > with 111 status code. When launching /usr/sbin/bcron-start manually from > terminal it runs successfully. > Only relevant thing in syslog is: > daemon: bcron-start: client (pid 2363945) exited with 111 status, exiting > > We have about 800 user crontabs in system, if it matters anything. On some > older machine, we are using version 0.09-13 without any issues. However in > the past we were also forced to install bcron instead of default cron package > since the default one sometimes failed to execute all configured jobs. (bcron > had no such as issue) > > -- System Information: > Debian Release: 11.4 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, > 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.10.0-14-amd64 (SMP w/50 CPU threads) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), > LANGUAGE=en_US:en > Shell: /bin/sh linked to /usr/bin/dash > Init: systemd (via /run/systemd/system) > LSM: AppArmor: enabled > > Versions of packages bcron depends on: > ii libbg2 2.04+dfsg-2.1 > ii libc6 2.31-13+deb11u3 > ii runit-helper 2.10.3 > ii sysuser-helper 1.3.5.1 > ii ucspi-unix 1.0-1 > > Versions of packages bcron recommends: > ii daemon 0.7-1 > ii postfix [mail-transport-agent] 3.5.13-0+deb11u1 > ii runit 2.1.2-41 > > Versions of packages bcron suggests: > pn anacron <none> > pn runit-init <none> -- Georges KHAZNADAR et Jocelyne FOURNIER 22 rue des mouettes, 59240 Dunkerque France. Téléphone +33 (0)3 28 29 17 70
signature.asc
Description: PGP signature