Public bug reported:

Warning (not error) appears in journalctl log

cron.service: Referenced but unset environment variable evaluates to an
empty string: EXTRA_OPTS

Reason:

/etc/default/cron contains:

# This file has been deprecated. Please add custom options for cron using
# $ systemctl edit cron.service
# or
# $ systemctl edit --full cron.service


With no reference to EXTRA_OPTS


Fix:
Add one line to /etc/default/cron setting EXTRA_OPTS to empty string:

# This file has been deprecated. Please add custom options for cron using
# $ systemctl edit cron.service
# or
# $ systemctl edit --full cron.service
EXTRA_OPTS=""

** Affects: cron (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107308

Title:
  Referenced but unset environment variable evaluates to an empty string

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/2107308/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to