- Package:
- exim4-base
- Source:
- exim4
- Description:
- support files for all Exim MTA (v4) packages
- Submitter:
- Stanislav Maslovski
- Date:
- 2025-06-23 13:01:02 UTC
- Severity:
- minor
- Tags:
The approach to log the boot process that is currently implemented in the init script of exim4 is inappropriate for parallel booting (which is, by the way, the default for squeeze). This is what I usually get in the boot log: ... Thu Oct 7 12:34:55 2010: Starting MTA:Starting GNUstep distributed object mapper: gdomap. Thu Oct 7 12:34:56 2010: CST Solver Server 2008 started successfully. Thu Oct 7 12:34:56 2010: Starting mouse interface server: gpm. Thu Oct 7 12:34:56 2010: Starting internet superserver: inetd. Thu Oct 7 12:34:56 2010: Loading cpufreq kernel modules...done (acpi-cpufreq). Thu Oct 7 12:34:58 2010: Starting Music Player Daemon: mpd. Thu Oct 7 12:34:58 2010: exim4. ...
[...] Hello, is there a commonly used solution yet? The examples in latest policy basically work the same way. cu andreas
Hello, Hm, the simple scripts use log_daemon_msg "Starting $DESC" "$NAME" which outputs the description followed by the daemon name in a single atomic write, AFAIK. In the case of several daemons started by an init script a possible solution could be to abandon the idea of reporting the _progress_ in real time, and instead report atomically just the final _result_.
Version: 4.96-20 [...] 4.96-20 did away with multiple daemons and simplified init script logging. (It also added asystemd unit so I do not think many users will see the change.) cu Andreas