Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #34115

Closed (moved)
Open
Created May 04, 2020 by anarcat@anarcat😱5 of 7 tasks completed5/7 tasks

review the impact of usrmerge

Debian buster shipped with a "merged /usr", which means that /bin, /lib and /sbin are now symlinks to their counterparts in /usr. There are concerns that this behavior is buggy and triggers problems in all sorts of places. In particular, the dpkg maintainers are quite unhappy about the change and do not support it as a configuration:

https://wiki.debian.org/Teams/Dpkg/MergedUsr

... which is disturbing, considering the dpkg is such a core component of a Debian system.

That wiki page provides a hackish script to "migrate away" from usrmerge but no one, as far as I know, has done that in production. It definitely looks nasty.

We should consider :

  • whether this is a real problem (probably?)
  • which machines have usrmerge (20 machines or 27%, detailed below)
  • whether new machines should have it (probably not? not having usrmerge is not a problem, and having it has risks, so let's not risk it?)
  • whether we need to fix old machines

There are two ways of fixing the installers:

  • pass --no-merged-usr to deboostrap
  • use mmdebstrap

The latter has the advantage of being faster, at the cost of being possibly less reliable and compatible.

Next steps:

  1. fix cloud installer - fixed in the wiki and tsa-misc
  2. fix robot installer - fixed in the wiki and tsa-misc
  3. fix ganeti installer - reported as bug 959745, mentioned in the wiki, reported in the puppet module
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