Topics / cleanyourtv-webos / tsk_fnmbfvsjgn4e

Keep the Home mount out of LG's jails so standby works (issue 302)

OPEN Low priority issue-302webos25needs-real-device

Done when

On the affected TV class the Home mount is not visible inside the jails, and undo-home.sh still unmounts everything. The tvprofile gate is covered by tests in tools/test/ and docs/tv-changes.md and docs/development/internals.md match the code. `sh tools/check.sh` passes under Node 8.12 and current Node. The PR says plainly that standby was not checked on a real TV unless the reporter confirmed it.

Details

Issue 302: the bind mount over com.webos.app.home is propagated into 9 LG jails (lg.thinqai.adapter, voice.performer, amazon.alexa.adapter). With DISABLE (no takeover) standby works (Active -> Suspend -> Active); with the takeover the power off ends in rebootByFault. Hypothesis, not verified: the CRIU checkpoint or the jail teardown at suspend fails on the rw ext4 mount (tvprofile says criu: true). Make the mount in scripts/10-cleanyourtv-home and scripts/stage-home.sh private (no propagation into jails, or unmount the jail copies after mounting), behind a rule in helper/tvprofile.js so other TVs keep today's behaviour. Keep scripts LF and POSIX sh. Rule 1 of AGENTS.md applies: nothing is tried on a TV without the owner's yes, and the undo path (undo-home.sh) must still remove every mount.

What happened

In order. Text written by an agent is marked: read it as a hint.
  1. @lasharor Proposed the task