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 672
    • Issues 672
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 168
    • Merge Requests 168
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpine
  • aportsaports
  • Issues
  • #7780

Closed
Open
Opened Sep 01, 2017 by algitbot@rootOwner

Volume containing apkovl is not remounted according to the apkovl's /etc/fstab entry

To reproduce:

  1. make a new VM, attach the alpine-virtual iso and a blank virtual disk as /dev/sda
  2. run setup-alpine, selecting a data-only install, mounting to /var
  3. set LBU_BACKUPDIR=/var and run lbu commit
  4. reboot and observer that /dev/sda2 is mounted to /media/sda2, not /var

Cause: The initramfs /init script is supposed to unmount the device that the apkovl was found on, after it has been unpacked. There is still logic to unmount a device stored in $ovl_unmount, but commit ba27888b4576ceab7413ab9104d0aeda50990832 (which moved the apkovl search logic out to nlplug-findfs) removed the last line that set that variable, and as far as I can tell even the old code never unmounted non-usb devices correctly.

Fix: Set $ovl_unmount to the apkovl device unless it is used as the sysroot? (This might cause a conflict if the apkovl is stored on a boot_repository device; IDK.)

(from redmine: issue id 7780, created on 2017-09-01)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#7780