Re: installation-guide: simplify RAM/disk space requirements

2023-11-01 Thread Pascal Hambourg

On 01/11/2023 at 20:46, Holger Wansing wrote:


In chapter 6.3.1.1. "Check available memory / low memory mode":

"If the installer runs in low memory mode, it is recommended to create a
relatively large swap partition (64–128MB)."


I could change that into something like 1-2 GB.
One might think, this is still "relatively small" these days, but it's
always enough for the installer, so I think that would be ok.


Ah, I realize that the above is completely bullshit:
the swap partition is not only for the installer, but later for installed
system as well (shame on me).

So should I change to "2-4 GB at least" ?


The installer running in low memory mode means that the system RAM is 
less than 1 GB, so I doubt that a swap bigger than 2 GB makes sense.




debootstrap_1.0.133~bpo12+1_amd64.changes ACCEPTED into stable-backports

2023-11-01 Thread Debian FTP Masters
Thank you for your contribution to Debian.



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sat, 28 Oct 2023 12:43:19 +0100
Source: debootstrap
Binary: debootstrap debootstrap-udeb
Architecture: source all
Version: 1.0.133~bpo12+1
Distribution: bookworm-backports
Urgency: medium
Maintainer: Debian Install System Team 
Changed-By: Luca Boccassi 
Description:
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 837060 963804 983197 983311 1031105 1031828 1049898
Changes:
 debootstrap (1.0.133~bpo12+1) bookworm-backports; urgency=medium
 .
   * Rebuild for bookworm-backports.
 .
 debootstrap (1.0.133) unstable; urgency=medium
 .
   [ Luca Boccassi ]
   * Mark debootstrap as MA: foreign
   * Drop obsolete d/rules overrides and stop changing user/group in
 Makefile
   * d/copyright: switch format to DEP5
 .
   [ Johannes Schauer Marin Rodrigues ]
   * functions: use mount from the outside to support chroots without mount
 installed
   * Let the buildd variant only install essential, build-essential and apt
 (Closes: #837060)
 .
 debootstrap (1.0.132) unstable; urgency=medium
 .
   [ Johannes Schauer Marin Rodrigues ]
   * debian/tests/control: run debootstrap with unshared namespaces
 .
   [ Simon McVittie ]
   * d/tests/debian-testing:
 - More accurately emulate the behaviour of pbuilder 0.231
 - Revert fake/schroot-1.6.10-3 to an accurate emulation of the
   behaviour of schroot 1.6.10-3 (Closes: #983311)
 - Document schroot 1.6.10-3 with the default profile as expected to
   fail to use /dev/pts in a lxc >= 3 or Docker container; this is a
   schroot bug (#983423) and not a debootstrap bug
 - Resync fake/schroot-proposed with the patch proposed on #983423
 - Improve debug logging
 - Expand doc-comments
 - With these changes, the autopkgtest is confirmed to pass in
   autopkgtest-virt-qemu (Closes: #983197)
 - Skip systemd-nspawn phase when $container is set
 .
 debootstrap (1.0.131) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Simon McVittie ]
   * functions: Reinstate setup_merged_usr() as it existed prior to !96
 .
 debootstrap (1.0.130) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Samuel Thibault ]
   * hurd: Fix debootstrap --second-stage on native runs.
 .
   [ Fatih Altun ]
   * Add Pardus support
 .
   [ Denis 'GNUtoo' Carikli ]
   * Add Trisquel to scripts dir
 .
   [ Helmut Grohne ]
   * implement merged-/usr by post-merging. Closes: #1049898
 .
   [ Luca Boccassi ]
   * Add myself to Uploaders
 .
   [ Michael Chen ]
   * README: add --preserve-env option to sudo command
 .
 debootstrap (1.0.128+nmu5) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Undo hostile unwarranted change.
 .
 debootstrap (1.0.128+nmu3) unstable; urgency=medium
 .
   * Non-maintainer upload.
 .
   [ Akbarkhon Variskhanov ]
   * functions: Quote $USE_COMPONENTS. Thanks to Robert de Bath for
 reporting the bug and providing the fix (Closes: #963804)
 .
   [ Johannes Schauer Marin Rodrigues ]
   * functions: improve misleading error message when tar fails
   * check if http_proxy is unset instead of checking if it's empty
 (Closes: #1031105)
   * If mount -t proc proc /proc failed, fall back to bind-mounting /proc
 .
   [ Simon McVittie ]
   * Mention --merged-usr in --help output (Closes: #1031828)
   * functions: Default to merged-/usr, even for newer suites' buildds
   * d/source/lintian-overrides: Update overrides syntax
 .
   [ Luca Boccassi ]
   * Bump Standards-Version to 4.6.2, no changes
Checksums-Sha1:
 49e1d22bd8946f4dd296f7e200b71d13a148e4de 2079 debootstrap_1.0.133~bpo12+1.dsc
 be0cb17b9a907748f2090d1a1839eb3c26138dd5 91077 
debootstrap_1.0.133~bpo12+1.tar.gz
 f85348610982c28fff19f3879f99452bfce02bd4 29648 
debootstrap-udeb_1.0.133~bpo12+1_all.udeb
 d303195976de56b7c1b77e8a822b91b7ca5599cf 46540 
debootstrap_1.0.133~bpo12+1_all.deb
 47d22e3861a5c0f899e8fe6284c5e8feb1132d73 6239 
debootstrap_1.0.133~bpo12+1_amd64.buildinfo
Checksums-Sha256:
 626e6a65117ee204f94fda585fafce2d3c43d3f111b896715d7255ab9d37270e 2079 
debootstrap_1.0.133~bpo12+1.dsc
 ef78318fc9af5cce3506f3448538bf2e7fb97c1dadb8959931aa60e972c1439e 91077 
debootstrap_1.0.133~bpo12+1.tar.gz
 7a0436a5cf814e8789227df95485fe584ebb9433d566c1a6bc77b40c1fcbffbf 29648 
debootstrap-udeb_1.0.133~bpo12+1_all.udeb
 8906bc99461671082e9fa6d63ae2079714cbe6ffd0077d7ca80253050f5f4b30 46540 
debootstrap_1.0.133~bpo12+1_all.deb
 b8fdd467146fb1f33a266b817027fb3542e3002fb095daf7d86cd3c0b737a82a 6239 
debootstrap_1.0.133~bpo12+1_amd64.buildinfo
Files:
 d4c88c934cb4d2d4009c96db5b0407d2 2079 admin optional 
debootstrap_1.0.133~bpo12+1.dsc
 3875ecfd581b338c5b29d9ce5563a414 91077 admin optional 
debootstrap_1.0.133~bpo12+1.tar.gz
 c98ec8fdbfc1d46743b8f8c9376953de 29648 debian-installer optional 
debootstrap-udeb_1.0.133~bpo12+1_all.udeb
 1b6e8f3aed74e7959389350cb64e88bc 46540 admin optional 

Bug#1055167: Network interface lost IP when lease expired after switching from isc-dhcp-client

2023-11-01 Thread Geert Stappers
On Wed, Nov 01, 2023 at 02:44:13PM +0100, Larsen wrote:
>   ... but instead the package should take care of such a situation.

Please add logging of the install ( "apt" )  stop of isc-dhcp-client (
either journalctl or /var/log/ ) and start of udhcpc ( journalctl or log
)


Groeten
Geert Stappers
-- 
Silence is hard to parse



Re: installation-guide: simplify RAM/disk space requirements

2023-11-01 Thread Holger Wansing
Hi,

Holger Wansing  wrote (Mon, 30 Oct 2023 11:49:29 +0100):
> Hi,
> 
> Pascal Hambourg  wrote (Wed, 18 Oct 2023 11:49:42 
> +0200):
> > On 06/08/2023 at 14:32, Samuel Thibault wrote:
> > > 
> > > The doc probably just ended up wrong by just not getting updated,
> > 
> > In chapter 6.3.1.1. "Check available memory / low memory mode":
> > 
> > "If the installer runs in low memory mode, it is recommended to create a 
> > relatively large swap partition (64–128MB)."
> 
> You are right.
> I could change that into something like 1-2 GB.
> One might think, this is still "relatively small" these days, but it's
> always enough for the installer, so I think that would be ok.

Ah, I realize that the above is completely bullshit:
the swap partition is not only for the installer, but later for installed 
system as well (shame on me). 

So should I change to "2-4 GB at least" ?

Holger



> > These values are very low by today standards.
> > Also, mentions of ext3 are outdated, I doubt anybody still uses it for 
> > new installations.



-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#1055167: Network interface lost IP when lease expired after switching from isc-dhcp-client

2023-11-01 Thread Larsen

Package: udhcpc
Version: 1:1.35.0-4+b3

After switching from isc-dhcp-client to udhcpc (apt purge isc-dhcp-client
udhcpc+), when the DHCP lease expired, the network interface didn't get a
new IP, pushing the server offline (luckily I had a remote console to fix
the problem). The package was installed via Puppet and I didn't notice
that this doesn't run needrestart (or at least doesn't restart services
with our configuration). I now use the workaround to "needrestart -r a"
after installing the package with Puppet.

IMHO needrestart shouldn't be needed, but instead the package should take
care of such a situation.


Lars



Re: Add Feature Prevent Installing non-free-firmware in Noraml Mode (Like expert mode)

2023-11-01 Thread Holger Wansing
Hi,

Am 1. November 2023 10:27:16 MEZ schrieb Modaresi Soft Hard 
:
>Hello. From Debian 12 onwards, proprietary drivers will be automatically 
>installed in normal mode.
>
>Can you make the installer ask questions in normal mode for installing 
>proprietary drivers?
>(Like a check box with No and Yes)

Based on the assumption, that for the vast majority of users it's wanted
to have non-free firmware installed, this is the default behavior.
If this is not wanted, you can use the parameter "firmware=never".

>What does firmware=never do? # 
>https://wiki.debian.org/Firmware#How_to_disable_detection_and_use_of_non-free_firmware
>
>Does firmware=never affect the installation and detection of free firmwares?

Detection of firmware still works, but you don't get non-free firmware 
installed automatically
(from the install media or via web).
In such situation, the installer may ask for firmware files nevertheless, 
if a device is detected, which requires this. 
You can provide such file then via USB stick for example, if you want.
This is the same behaviour as in Debian 11 and before.

Free firmware is not affected at all by this.


Holger




-- 
Sent from /e/ OS on Fairphone3



Re: Add Feature Prevent Installing non-free-firmware in Noraml Mode (Like expert mode)

2023-11-01 Thread Lennart Sorensen
On Wed, Nov 01, 2023 at 09:27:16AM +, Modaresi Soft Hard wrote:
> Hello. From Debian 12 onwards, proprietary drivers will be automatically 
> installed in normal mode.
> 
> Can you make the installer ask questions in normal mode for installing 
> proprietary drivers?
> (Like a check box with No and Yes)
> 
> What does firmware=never do? # 
> https://wiki.debian.org/Firmware#How_to_disable_detection_and_use_of_non-free_firmware
> 
> Does firmware=never affect the installation and detection of free firmwares?
> 
> I use an interpreter. forgive me

firmware and proprietary drivers are two very different things.

Firmware files are loaded into memory on the hardware to make it operate.
The drivers are often still open source.  Proprietary drivers (like nvidia
and amd) on the other hand execute on your CPU, usually in kernel space
(at least partially) and is a very different story.  People tend to
have a much bigger issue with proprietary drivers than they do with
firmware files.

The firmware file simply does what in the past would have been done with
a rom or flash chip on the card but is now done with ram to save some
money on the design.

-- 
Len Sorensen



Add Feature Prevent Installing non-free-firmware in Noraml Mode (Like expert mode)

2023-11-01 Thread Modaresi Soft Hard
Hello. From Debian 12 onwards, proprietary drivers will be automatically 
installed in normal mode.

Can you make the installer ask questions in normal mode for installing 
proprietary drivers?
(Like a check box with No and Yes)

What does firmware=never do? # 
https://wiki.debian.org/Firmware#How_to_disable_detection_and_use_of_non-free_firmware

Does firmware=never affect the installation and detection of free firmwares?

I use an interpreter. forgive me