[snap] chromium launch script forces own start-url when it shouldnt (headless mode)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Medium
|
Olivier Tilloy |
Bug Description
it is copied from : https:/
-------
the problem is "/snap/
to be precise these 2 lines below:
exec "$SNAP/
and
"$SNAP/
when --headless options is used "$FIRSTRUN_PAGE" parameter shall never be passed here as user specify his own page here and because of that chromium gives:
"[0826/
ive patched this script in my snap directory (which is tricky) like this:
copied whole folder "/snap/
patched script,
then did "sudo mount --bind -o nodev,ro /media/data/chromsc /snap/chromium/
and voila this works
so the solution would be to check if user is passing --headless parameter and if he passes his own site - if so then dont pass "$FIRSTRUN_PAGE" parameter
-------
additional info regarding solution:
one doesnt need to check if user adds own site because --headless mode can start without website provided, so its enough just to check if user provided --headless parameter.
ive added a patch - which is tested - works perfectly fine.
tags: |
added: snap removed: patch |
Changed in chromium-browser (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Olivier Tilloy (osomon) |
Changed in chromium-browser (Ubuntu): | |
status: | Fix Committed → Fix Released |
The attachment "chromium. launcher. patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]