diff options
author | Thuy Tran <thuy.tran.xh@rvc.renesas.com> | 2017-11-01 14:10:35 +0700 |
---|---|---|
committer | Thuy Tran <thuy.tran.xh@rvc.renesas.com> | 2017-11-24 20:15:57 +0700 |
commit | b0520f15aa887e78c7967a6abd370730658de031 (patch) | |
tree | 61d48dd63e015aab6dd136c9dc1107bd9df7a34b /meta-rcar-gen3/conf/machine/include/r8a77965.inc | |
parent | d6eff077c4a3afbe39f8ee1b2ad1a19a716ce31c (diff) |
rcar-gen3: dpkg: WORKAROUND to fix dependency failed for serial getty
This commit modifies recipe to fix this issue by following Poky
commit.
Title: dpkg-configure: do not reload daemon configuration
Auther: Max Krummenacher <max.oss.09@gmail.com>
Commit: b1b94376d15ea18e55f724f1d5256298e1728222
In case a systemd service disables itself while init is still in its
boot sequence the reloading of the service files can be problematic.
In that case: It seems that systemd looses the state of .device units,
and some services depend on such units (namely serial consoles such as
serial-getty@ttymxc0.service). As a result no getty is spawned on the
affected serial tty.
After a power-cycle the second boot (which does not disable services)
succeeds.
The following sequence shows this problem:
| Jan 09 16:36:28 apalis-t30 systemctl[162]: Removed /etc/systemd/system/sysinit.target.wants/run-postinsts.service.
| Jan 09 16:36:28 apalis-t30 systemd[1]: Reloading.
| ...
| And then the failing one:
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start timed out.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Timed out waiting for device dev-ttyS0.device.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Dependency failed for Serial Getty on ttyS0.
| Feb 22 15:33:15 apalis-t30 systemd[1]: serial-getty@ttyS0.service: Job serial-getty@ttyS0.service/start failed with result 'dependency'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: dev-ttyS0.device: Job dev-ttyS0.device/start failed with result 'timeout'.
| Feb 22 15:33:15 apalis-t30 systemd[1]: Reached target Login Prompts.
(the time has been updated between this two events, but that does not
influence the issue)
Using --no-reload in the service file avoids the "Reloading." message
above and seems to not cause such issues anymore.
Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/conf/machine/include/r8a77965.inc')
0 files changed, 0 insertions, 0 deletions