Problem with check-mk-raw:2.0.0b6 - "Initializing Crontab.../var/spool/cron/: mkstemp: Permission denied"

Hi,
I have trouble to start/update the docker image check-mk-raw:2.0.0b6 in my non-root podman environment. The previous beta5 works.

My starting-command is

podman container run --cap-add=CAP_NET_RAW -dit -p 8188:5000 --ulimit nofile=1024  -v /media/SSD/test:/omd/sites --name monitoring-test -v /etc/localtime:/etc/localtime:ro docker.io/checkmk/check-mk-raw:2.0.0b6

It results with:

### CREATING SITE 'cmk'
Adding /opt/omd/sites/cmk/tmp to /etc/fstab.
Going to set TMPFS to off.
Preparing tmp directory /omd/sites/cmk/tmp...Updating core configuration...
Generating configuration for core (type nagios)...Precompiling host checks...OK
OK
Created new site cmk with version 2.0.0b6.cre.

  The site can be started with omd start cmk.
  The default web UI is available at http://421bdb7e4ef9/cmk/

  The admin user for the web applications is cmkadmin with password: otCIgA1b
  For command line administration of the site, log in with 'omd su cmk'.
  After logging in, you can change the password for cmkadmin with 'htpasswd etc/htpasswd cmkadmin'.

### STARTING XINETD
[ ok ] Starting internet superserver: xinetd.
### STARTING SITE
Preparing tmp directory /omd/sites/cmk/tmp...Starting mkeventd...OK
Starting rrdcached...OK
Starting npcd...OK
Starting nagios...OK
Starting apache...OK
Starting redis...OK
Initializing Crontab.../var/spool/cron/: mkstemp: Permission denied
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
ERROR

The same error occurs, if I update an beta5 variant.

Any Ideas if I make someting wrong (tmpfs…) or is it a bug in the acutal beta?

Thanks for any suggestions

Hi qupfer

I just ran into the same issue this morning and was able to resolve it with “dpkg-reconfigure cron”.

Found here: Site partially running after appliance upgrade to v1.4.7 - Troubleshooting - Checkmk Community

Best