Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • HardenedBSD HardenedBSD
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • HardenedBSD
  • HardenedBSDHardenedBSD
  • Issues
  • #55

Closed
Open
Created Jun 06, 2021 by Jonas Rinner@Follpvosten

hbsd-update -r /path/to/empty/directory fails

I'm trying to use hbsd-update to bootstrap some jails, but it looks like it's broken for this usecase at the moment.

When I simply run hbsd-update -r /jails/something, where /jails/something is an empty directory, I get the following error and the whole process is aborted:

cp: /jails/something/boot/kernel: No such file or directory

Based on the man page stating that -r does not need to point to an existing installation, I'd expect this to work.

It does get a little but further when I specify -n to skip installing the kernel (which I actually wanted in this case). Then it fails with:

./usr/libexec/dwatch/proc-exec: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-signal-clear: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-status: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-signal-discard: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-exec-failure: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-exec-success: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-signal: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-signal-send: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-exit: Hard-link target './usr/libexec/dwatch/proc' does not exist.
./usr/libexec/dwatch/proc-create: Hard-link target './usr/libexec/dwatch/proc' does not exist.

I have no idea how to debug that or if there maybe is a flag I'm missing that would make it work.

My jail host system is fully updated as far as I can tell:

[+] Local version: hbsd-v1300061-5dbd0eeaab8b687ee5ec183cb7e782ae24cd550b
[+] Remote version: hbsd-v1300061-5dbd0eeaab8b687ee5ec183cb7e782ae24cd550b sha256 c956d5804d66408dd99cdb23efeada556bf907a678d71dbeaa7ceed6bdb4ae78
Edited Jun 06, 2021 by Jonas Rinner
Assignee
Assign to
Time tracking