monome / norns-image

79 stars 16 forks source link

Disable cron? #40

Closed simonvanderveldt closed 6 years ago

simonvanderveldt commented 6 years ago

Noticed cron is still started (by cron.service), since we don't have any need for it I think we can/should disable it. @artfwo what do you think?

artfwo commented 6 years ago

we shouldn't do that, many things depend on it. (logrotate and fake-hwclock are pretty important for instance)

simonvanderveldt commented 6 years ago

Holy crap, you're right.

we@norns:~$ ls -ahl /etc/cron*
-rw-r--r-- 1 root root  722 Oct  7  2017 /etc/crontab

/etc/cron.d:
total 12K
drwxr-xr-x  2 root root 4.0K Apr 17 20:11 .
drwxr-xr-x 91 root root 4.0K May 23 17:18 ..
-rw-r--r--  1 root root  102 Oct  7  2017 .placeholder

/etc/cron.daily:
total 40K
drwxr-xr-x  2 root root 4.0K Apr 17 20:12 .
drwxr-xr-x 91 root root 4.0K May 23 17:18 ..
-rw-r--r--  1 root root  102 Oct  7  2017 .placeholder
-rwxr-xr-x  1 root root 1.5K Sep 13  2017 apt-compat
-rwxr-xr-x  1 root root  314 Apr 18  2017 aptitude
-rwxr-xr-x  1 root root  355 Oct 25  2016 bsdmainutils
-rwxr-xr-x  1 root root 1.6K Feb 22  2017 dpkg
-rwxr-xr-x  1 root root   89 May  5  2015 logrotate
-rwxr-xr-x  1 root root 1.1K Dec 13  2016 man-db
-rwxr-xr-x  1 root root  249 May 17  2017 passwd

/etc/cron.hourly:
total 16K
drwxr-xr-x  2 root root 4.0K Apr 17 20:21 .
drwxr-xr-x 91 root root 4.0K May 23 17:18 ..
-rw-r--r--  1 root root  102 Oct  7  2017 .placeholder
-rwxr-xr-x  1 root root  191 Feb 22  2012 fake-hwclock

/etc/cron.monthly:
total 12K
drwxr-xr-x  2 root root 4.0K Apr 17 20:11 .
drwxr-xr-x 91 root root 4.0K May 23 17:18 ..
-rw-r--r--  1 root root  102 Oct  7  2017 .placeholder

/etc/cron.weekly:
total 16K
drwxr-xr-x  2 root root 4.0K Apr 17 20:11 .
drwxr-xr-x 91 root root 4.0K May 23 17:18 ..
-rw-r--r--  1 root root  102 Oct  7  2017 .placeholder
-rwxr-xr-x  1 root root  723 Dec 13  2016 man-db

Why don't they use timers for this :man_facepalming: This distro is a mess :|