Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 678
    • Issues 678
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 166
    • Merge Requests 166
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12571

Closed
Open
Opened Apr 02, 2021 by Alex Haydock@alexhaydock

Adding vlan package to apkovl renders custom ISO unbootable

I'm hitting an issue where an Alpine ISO stops booting completely if I add the vlan package to a custom ISO and include it in /etc/apk/world in an apkovl file embedded into the ISO as described on the wiki page for custom builds.

An example of the error can be found below, booted in QEMU:

Bug Report

Inspecting the vlan package shows it only contains a few scripts, and all live inside either /etc/if-pre-up.d or /etc/if-post-down.d. I'm wondering if there's some kind of race condition with networking and runlevels that gets introduced when the vlan package is layered into the live system, but I'm struggling to work out what it might be.

For convenience, I've put together a complete MVP proof of concept that will produce a bugged ISO in this repository. Running it as-is will produce the broken ISO. Removing the vlan package from the genapkovl-bugreport.sh file stops the problem from occurring and the generated ISO is fully functional.

Any ideas what I'm missing here? I'd really like to be able to build a read-only system that can boot from RAM as a router and having VLAN support is critical for this.

Edited Apr 02, 2021 by Alex Haydock
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#12571