#1622 Issue closed: 430_prepare_timesync.sh: systemd-based systems should not update /etc/inittab

Labels: cleanup, fixed / solved / done

N3WWN opened issue at 2017-12-05 16:21:

  • rear version (/usr/sbin/rear -V): 2.3 and higher
  • OS version (cat /etc/rear/os.conf or lsb_release -a): n/a
  • Brief description of the issue:
    • Remove manipulations of /etc/inittab for systemd-based systems

This is a carry-over of additional work from https://github.com/rear/rear/issues/1598 and https://github.com/rear/rear/pull/1608

jsmeix commented at 2017-12-06 10:00:

@N3WWN
removing all manipulations of /etc/inittab for systemd-based systems
would cause regressions in particular for sshd, see
https://github.com/rear/rear/pull/1612
therein in particular
https://github.com/rear/rear/pull/1612#discussion_r154109785

N3WWN commented at 2017-12-12 17:17:

@jsmeix
Thanks for pointing that out!

For now, I'm going to rename the issue to reflect that this was intended for the time sync portion of the code so that the regression problems do not crop up.

gdha commented at 2018-02-23 10:05:

@N3WWN any chance to get this further?

N3WWN commented at 2018-02-23 15:57:

Yes, this is also being tested as part of the changes to 430_prepare_timesync.sh that will include chronyd support. Hopefully submitting the PR early next week.

jsmeix commented at 2018-02-27 09:42:

With https://github.com/rear/rear/pull/1739 merged,
this issue should be fixed.


[Export of Github issue for rear/rear.]