Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1064442: fai-client - Unable to disable mkramdisk

5 views
Skip to first unread message

Bastian Blank

unread,
Feb 22, 2024, 3:40:05 AMFeb 22
to
Package: fai-client
Version: 6.0.5
Severity: important
X-Debbugs-Cc: wa...@debian.org

It is impossible to disable the use of mkramdisk. By default this tries
to setup a tmpfs for /var/lib/dpkg and does scary copy operations.

It expects an environment variable from the outside, which can never be
empty.

Bastian


-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (700, 'testing'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages fai-client depends on:
ii debconf-utils 1.5.86
ii file 1:5.45-2+b1
ii iproute2 6.7.0-2
ii libfile-lchown-perl 0.02-3+b2
ii perl 5.38.2-3
ii procps 2:4.0.4-4
ii zstd 1.5.5+dfsg2-2

Versions of packages fai-client recommends:
ii fdisk 2.39.3-6
ii util-linux 2.39.3-6

Versions of packages fai-client suggests:
pn libgraph-perl <none>
pn logtail <none>

-- no debconf information

Bastian Blank

unread,
Feb 22, 2024, 5:30:05 AMFeb 22
to
The problem is:

| : ${FAI_RAMDISKS:="$target/var/lib/dpkg"}

:= sets the variable if it is unset _or empty_. So just defining
FAI_RAMDISKS="" does not work.

The definition of this variable needs to be moved up one tool into fai
itself, so it can provide an empty value.

Bastian

--
The sooner our happiness together begins, the longer it will last.
-- Miramanee, "The Paradise Syndrome", stardate 4842.6
0 new messages