fsck task fails: /etc/default/rcS does not exist #39

Closed
jbicha opened this Issue Jan 11, 2017 · 2 comments

Comments

Projects
None yet
2 participants

jbicha commented Jan 11, 2017

Ubuntu 16.04 or Debian stretch

I'm using the default lxd images ( image:debian/stretch and ubuntu:16.04 ) but I don't think that matters for this issue. I think this is because Ubuntu and Debian now use systemd by default. See also this discussion.

TASK [debops.console : Configure fsck behaviour on boot] ***********************
fatal: [alabama]: FAILED! => {"changed": false, "failed": true, "msg": "Destination /etc/default/rcS does not exist !", "rc": 257}

Workaround

Add this to inventory/group_vars/all/vars.yml
console_fsckfix: False

Owner

drybjed commented Jan 12, 2017

From reading that thread can I assume that with systemd now disks are fixed by fsck automatically, ie. FSCKFIX=yes is implied?

Thanks for the heads up, this task needs to be confined to older OS releases in this case.

jbicha commented Jan 12, 2017

Sorry, I don't know anything about the FSCKFIX option.

@drybjed drybjed closed this in 90f424d Feb 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment