[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1058994: debian-installer: fakeroot is pseudo-required



Hello,

On 29/08/2025 10:57, Cyril Brulebois wrote:
Jochen Sprickerhof <jspricke@debian.org> (2025-08-29):
I have opened a MR to make fakeroot a requirement:

https://salsa.debian.org/installer-team/debian-installer/-/merge_requests/68

Those happened earlier:
  - d495f01afe467d054f6fd93dffc8cc22d00d106d
  - 5f8888f0dfa11fdd577aee209a935161aa3663ff

I'm happy to have a comment around the fakeroot package in Build-Depends but
let's avoid duplicates? :-)

I'm wondering whether the fakeroot package is actually required.
As I wrote in the initial text, I did not need to have fakeroot available, and could prevent calls to fakeroot by setting the environment variable ROOTCMD to a space (as an empty value would still set it to 'fakeroot').

As I understand it, invoking 'chroot' requires being root (it is in /usr/sbin), so within the chroot-environment one is already root and therefore does not need fakeroot on top. But there might be some scenarios, that I'm unaware of, that invoke the scripts of the installer differently and therefore the package fakeroot is indeed a requirement.

I'm also wondering whether !68 is still required, given that fakeroot has been added as a dependency about 2 weeks ago. Is the MR based on work that started earlier?

With kind regards,
Roland

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: