Bug#1072574: kernel-wedge: Enable Renesas RZ/G3S and RZ/V2H boards

2024-06-04 Thread John
Package: kernel-wedge
Severity: important
Tags: d-i
X-Debbugs-Cc: john.vincent...@bp.renesas.com

Dear Maintainer,

Please enable Renesas RZ/G3S and RZ/V2H device support in Debian by updating 
the following configurations:

CONFIG_ARCH_R9A09G057=y #RZ/V2H
CONFIG_ARCH_R9A08G045=y #RZ/G3S

Best Regards
John

-- System Information:
Debian Release: 11.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-30-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kernel-wedge depends on:
pn  debhelper  
ii  make   4.3-4.1

kernel-wedge recommends no packages.

kernel-wedge suggests no packages.



Re: Adding systemd-boot support in debian-installer

2024-06-03 Thread John Paul Adrian Glaubitz
On Mon, 2024-06-03 at 20:18 +0100, Luca Boccassi wrote:
> > Hmm? Did we get rid of supporting the installation of systems without
> > a bootloader? I found this very handy when installing on systems that
> > don't support standard bootloaders or when installing inside QEMU and
> > then booting kernel and initrd from the command line.
> > 
> > Is there anything broken in nobootloader?
> 
> No, they were referring to some copypasta in the new package - I
> started by copying the nobootloader sources because I'm lazy AF, but
> forgot to sed s/nobootloader/systemd-boot-installer/ one PO file.

OK, thanks for the clarification.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Adding systemd-boot support in debian-installer

2024-06-03 Thread John Paul Adrian Glaubitz
Hello,

On Mon, 2024-06-03 at 03:46 +0200, Cyril Brulebois wrote:
> ACK on the .mrconfig part, but I think this misses an addition to
> packages/po/packages_list (to be confirmed with Holger Wansing). Might
> be best to get rid of the fuzzy parts still mentioning nobootloader
> beforehand though. Just something that needs taken care of at some
> point.

Hmm? Did we get rid of supporting the installation of systems without
a bootloader? I found this very handy when installing on systems that
don't support standard bootloaders or when installing inside QEMU and
then booting kernel and initrd from the command line.

Is there anything broken in nobootloader?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: DD application (Re: Next attempt to add Blends to Debian installer)

2024-05-10 Thread John Paul Adrian Glaubitz
On Fri, 2024-05-10 at 09:31 +0200, Holger Wansing wrote:
> My problem with this:
> am I really capable of being a DD? You might remember that I am not a 
> programmer, I have no real skills in this direction.
> I can do some scripting, gained by self-learning, but that does not make
> a programmer of me IMO ;-)
> So I am unsure if I can successfully go the apply-for-DD path...
> I fear I lack some basic knowledge for this.
> Don't want to waste my and the application manager's time and effort for 
> something, that does not lead to anything at the end.

You don't need to be a professional programmer to become a DD. It's more
important to be passionate about Debian and free software and a dedicated
contributor to both. Also, being a good community member is essential.

And that all definitely applies to you. I would support your DD application!

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1059991: grub-installer: build loong64.udeb for loongarch64

2024-03-12 Thread John Paul Adrian Glaubitz
Hi Dandan,

On Tue, 2024-03-12 at 16:07 +0800, zhangdandan wrote:
>  Thanks for your heads up.
>  I have updated the patch (Add support for loongarch64).
>  Please consider the patch I have attached.
>  Your suggestions are always welcome.

I already made the changes before you sent this mail, so we're all good.

See: 
https://salsa.debian.org/installer-team/grub-installer/-/commit/0962896894d83716dec19a60ba9db94fdc807a1c

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1066023: libdebian-installer: Add subarch detection for loongarch64

2024-03-11 Thread John Paul Adrian Glaubitz
Hi,

On Mon, 2024-03-11 at 16:36 +0800, zhangdandan wrote:
> I have added subarch detection for loongarch64 in libdebian-installer 
> source package.
> Please consider the patch I have attached.
> 
> The libdebian-installer source package was compiled successfully on my 
> local loong64 rootfs environment.
> If you have any questions, you can contact me at any time.

I have just added subarch detection for 64-bit LoongArch [1].

However, the proper filename is "subarch-loong64-linux.c" as the filename
has to match the Debian architecture name, not the GNU triplet name (see
the configure.ac).

Adrian

> [1] 
> https://salsa.debian.org/installer-team/libdebian-installer/-/commit/4ca769d4ba26ca4fa2e35f6932ee2a123cdf5312

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Security issue

2024-02-22 Thread John Danielsson
Dear Debian Team,

I do want to report a security issue regarding the latest Gimp on Debian 12.
I downloaded and installed gimp from terminal and then when I was running
Gimp all of a sudden it logged me out from the system. I am sure I got
hacked and I am not able to fix it unfortunately. Can you please support me
with a reasonable solution ?

Thank you in advance,

Daniel


Re: Bug#1062333: discover: NMU diff for 64-bit time_t transition

2024-01-31 Thread John Paul Adrian Glaubitz
Hi,

On Thu, 2024-02-01 at 04:31 +, mwhud...@debian.org wrote:
> Since turning on 64-bit time_t is being handled centrally through a change
> to the default dpkg-buildflags (https://bugs.debian.org/1037136), it is
> important that libraries affected by this ABI change all be uploaded close
> together in time.  Therefore I have prepared a 0-day NMU for discover
> which will initially be uploaded to experimental if possible, then to
> unstable after packages have cleared binary NEW.

Isn't a 0-day a bit too tight to give the maintainer some chance to answer?

Since this package is owned by the installer-team, I would suggest sending
a pull request on salsa instead [1].

Adrian

> [1] https://salsa.debian.org/installer-team/discover

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1060822: choose-mirror: please add support for loong64

2024-01-15 Thread John Paul Adrian Glaubitz
Hi Wuruilong,

On Mon, 2024-01-15 at 02:21 +, wuruilong wrote:
> Please modify Mirrors.masterlist to support loong64 architecture

Please open a pull request here [1] to edit the master list.

Make sure you cover all servers which already mirror loong64.

Adrian

> [1] https://salsa.debian.org/mirror-team/masterlist

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



debian-installer FTBFS due to usrmerge

2024-01-12 Thread John Paul Adrian Glaubitz
Hi!

I just ran into a new FTBFS with d-i which seems to be related to usrmerge:

sort -u < ./tmp/cdrom/built-using.txt > ./tmp/cdrom/built-using.txt.new && \
mv ./tmp/cdrom/built-using.txt.new ./tmp/cdrom/built-using.txt
sort -n < ./tmp/cdrom/diskusage.txt > ./tmp/cdrom/diskusage.txt.new && \
mv ./tmp/cdrom/diskusage.txt.new ./tmp/cdrom/diskusage.txt
grep-dctrl -nsPackage,Version,Architecture '' 
./tmp/cdrom/tree/var/lib/dpkg/status | \
perl -nle '$p = $_; $v = <>; chomp $v; $a = <>; chomp $a; <>; print "$p 
$v $a"' | \
sort > ./tmp/cdrom/udeb.list
merge-usr "./tmp/cdrom/tree"
error: merge target 'usr//sbin/depmod' is a symlink

Has anyone seen this yet?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1059991: grub-installer: build loong64.udeb for loongarch64

2024-01-11 Thread John Paul Adrian Glaubitz
Hi Dandan!

On Thu, 2024-01-04 at 20:55 +0800, zhangdandan wrote:
> The grub-installer source package was compiled successfully on my local 
> environment.
> I integrated grub-installer_1.197_loong64.udeb in my local DVD iso. When 
> installing the DVD iso through debian-installer, grub2 software packages 
> can be installed normally.

I don't think this is true since the grub2 source is actually not building
any loong64 packages yet. We will need to change the grub2 source first to
build at packages such as grub-efi-loong64 and so on similar to riscv64 [1].

After that, loong64 can be added to grub-installer as it was be done for
riscv64 [2] (except for the case for "riscv64/*)").

Adrian

> [1] 
> https://salsa.debian.org/grub-team/grub/-/commit/bed7e96f581c983e9bea6701bb6780ece9e91d82
> [2] 
> https://salsa.debian.org/installer-team/grub-installer/-/commit/50c372d0b4fa2025f17d7d87a6eb5656baba0724

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1059991: grub-installer: build loong64.udeb for loongarch64

2024-01-04 Thread John Paul Adrian Glaubitz
Hi Dandan!

On Thu, 2024-01-04 at 20:55 +0800, zhangdandan wrote:
> We need to add build support for loongarch64 in debian/control.
> Please consider the patch I have attached.
> 
> The grub-installer source package was compiled successfully on my local 
> environment.
> I integrated grub-installer_1.197_loong64.udeb in my local DVD iso. When 
> installing the DVD iso through debian-installer, grub2 software packages 
> can be installed normally.
> If you have any questions, you can contact me at any time.

I have commit access and will take care of this over the weekend.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



usr-merge in debian-installer

2023-11-16 Thread John Paul Adrian Glaubitz
Hi!

I just built updated installation images for Debian Ports and noticed that the
generated /init script tried to start "start-udev" from /lib/debian-installer/
instead of /usr/lib/debian-installer which naturally fails.

I could figure out so far where the path names for tools in the /init script
are set.

Does anyone have any idea where to look?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1053803: debian-installer: grub2 2.12~rc1-10 on ARM64 daily installer makes linux image load fail

2023-10-11 Thread John
Source: debian-installer
Version: 20230607+deb12u2
Severity: important
X-Debbugs-Cc: john.vincent...@bp.renesas.com

Dear Maintainer,

The ARM64 daily installer stopped working from 19-Sep-2023 due to grub2
2.12~rc1-10 updates with linux image load failure.

This was working ok on 04-Sep-2023 with grub 2.06-13

This is an blocking issue because the daily installers not working on ARM64.
Please help us to fix this issue.

Please note ticket https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053802 is
duplicate of this and can be closed (incorrect formatting)

Thanks.
John


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

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



Bug#1053802: debian-installer: The ARM64 daily installer stopped working from 19-Sep-2023 due to grub2 2.12~rc1-10 updates with linux image load failure. This was working ok before 04-Sep-2023 with gr

2023-10-11 Thread John
Source: debian-installer
Version: 20230607+deb12u2
Severity: important
X-Debbugs-Cc: john.vincent...@bp.renesas.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

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



Re: Bug#1043226: debian-installer: Please consider moving root user setup to expert install, or change text

2023-08-19 Thread John Crawley

On 19/08/2023 18:42, Pascal Hambourg wrote:

On 19/08/2023 at 10:28, Diederik de Haas wrote:

On Monday, 7 August 2023 18:25:07 CEST Jonathan Carter wrote:


Firstly, the instructions start off with "You need to set a password for
'root'", followed by seemingly uninteresting text about what a good password
should be, which makes it incredibly easy for users to miss the part that
sudo won't be set up for the first user.


Then just move the sudo text before the good password text.
---

move the explanation of what happens upward so that it's
more prominent and not so easy to miss.


Agreed. The good password text is relevant only when the user chooses to set a 
root password and not set up sudo for the first user.


Well, the password of a user with sudo rights is quite sensitive too...

--
John



Re: installation-guide: MS-DOS and Windows

2023-08-06 Thread John Paul Adrian Glaubitz
Hello Holger!

On Sun, 2023-08-06 at 10:48 +0200, Holger Wansing wrote:
> Am 3. August 2023 22:49:29 MESZ schrieb John Paul Adrian Glaubitz 
> :
> > Hello!
> > 
> > On Thu, 2023-08-03 at 22:03 +0200, Holger Wansing wrote:
> > >  
> > > -On Windows 7 systems, you have to select the property Hardware 
> > > IDs in the
> > > +On Windows 7/10 systems, you have to select the property Hardware 
> > > IDs in the
> > >  device manager's details tab to actually see the IDs, as they are not
> > >  displayed by default.
> > 
> > I would suggest just using the term "Windows" here so you don't have to keep
> > updating it every time a new major release of Windows has been released.
> 
> I changed that into "On newer Windows systems, ..."

OK, that's better. Btw, while it's okay to remove references to MS-DOS, please 
make sure that the
semantics of a sentence is not altered. For example, it's still valid to call 
DOS partition labels
by their original name as by contrast newer hardware uses GPT partition labels, 
for example. Calling
the old DOS partioning scheme "Windows partitioning" would not be correct.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: installation-guide: MS-DOS and Windows

2023-08-03 Thread John Paul Adrian Glaubitz
Hello!

On Thu, 2023-08-03 at 22:03 +0200, Holger Wansing wrote:
> --- a/en/preparing/needed-info.xml
> +++ b/en/preparing/needed-info.xml
> @@ -339,7 +339,7 @@ On Windows systems, the IDs for a device can be found in 
> the Windows device
>  manager on the tab details, where the vendor ID is prefixed 
> with VEN_
>  and the product ID is prefixed with DEV_.
>  
> -On Windows 7 systems, you have to select the property Hardware 
> IDs in the
> +On Windows 7/10 systems, you have to select the property Hardware 
> IDs in the
>  device manager's details tab to actually see the IDs, as they are not
>  displayed by default.

I would suggest just using the term "Windows" here so you don't have to keep
updating it every time a new major release of Windows has been released.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1036400: partman-jfs: JFS is on its way out, please remove from the installer

2023-06-30 Thread John Paul Adrian Glaubitz
Hello!

On Sat, 2023-05-20 at 15:07 +0200, Adam Borowski wrote:
> The JFS filesystem is deprecated in the kernel: on life support since 2009
> and with talks of removal altogether.

Not sure where you got this information from, but JFS [1] unlike ReiserFS [2]
is not marked as deprecated in the kernel. There was a single mail by Christoph
Hellwig suggesting to deprecate JFS in the near future but so far nothing
has been decided yet.

Adrian

> [1] 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/jfs/Kconfig
> [2] 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/reiserfs/Kconfig

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: d-i bug: spurious checksum error?

2023-04-19 Thread john doe

On 4/18/23 23:52, Charles Curley wrote:

I started a test installation with a preseed file. I launched d-i with
the following command line:

expertgui auto file=/media/preseed.cfg DEBCONF_DEBUG=developer

When I told d-i to get the preseed file, it replied with a screen about
an incorrect checksum for the preseed file. The screen showed a
checksum string of "". (I took a screen shot of the error message, then
failed to preserve it. Sorry.)

I had recently added several items to my preseed file, one of which was:


# The installer can optionally verify checksums of preconfiguration files
# before using them. Currently only md5sums are supported, list the md5sums
# in the same order as the list of files to include.
#d-i preseed/include/checksum string 5da499872becccfeda2c4872f9171c3d

I deleted those lines entirely, and re-ran the installation. I did not
get the checksum error on the second try, and the preseed file was
properly located and run.

Did I hit a bug? I doubt it is the way the last line is commented out,
because there are plenty of other lines that are similarly commented
out (no space between the # and the d).

syslog and preseed.cfg files are attached.





Unless I'm missing something, the file is to be checksummed before the
content is available to d-i, the lines would simply be  there to
document what the installer can do.

I would assume that it would work as kernel boot parameter.

--
John Doe



Bug#1032435: installation-reports: Fails to install GRUB bootloader

2023-03-09 Thread John Talbut

Thanks, Pascal, you gave me some more ideas where to look.

I have spent a lot of time on this without being able to discover 
exactly where the error lay in order to be able to correct it without 
going back to square 1.  In the end the only thing that has worked has 
been a complete reinstall including erasing all previous information in 
all partitions.


Consistently what was happening whatever I did was that when I tried to 
boot it would go straight to grub>: - The grub prompt on a blank screen. 
 When I checked the settings and files information on this screen, e.g. 
using ls and set commands, the information never corresponded to what 
was actually installed.


Clearly something was wrong that was used very early in the boot process 
but I was unable to find what.  None of the information that I could 
find online that I could make sense of stated exactly which files or 
settings the UEFI firmware first goes to.


One thing that seems to be the case but is not made clear is that grub 
needs two partitions for booting.  One is a plain EFI partition and the 
other is a normally formatted (e.g. ext4) partition mounted at /boot. 
Confusingly, although the EFI partition seems to get mounted as 
/boot/efi it has to be a separate partition in the installer 
partitioning scheme.




Bug#1032435: installation-reports: Fails to install GRUB bootloader

2023-03-07 Thread John Talbut

Thanks, Pascal.

Install in /dev/sda was just an example, it is the one that the 
installer suggests.  I have tried /dev/nvme1n1, /dev/nvme1n1p1 (the ESP 
partition) and /dev/nvme1n1p2 (the boot partition) all with the same 
result: The rescue operation 'grub-reinstall' failed with exit code 1


I gave up trying to get the legacy system to work after it failed 
following updating from bullseye to bookworm by changing sources.list 
and I am attempting to do a fresh install for an EFI boot.


On 06/03/2023 19:57, Pascal Hambourg wrote:

Hello John,

On 06/03/2023 at 18:19, John Talbut wrote:


It is not clear where to install it but wherever I try I come up with 
a message "Unable to install GRUB in /dev/sda" (or the equivalent in 
other partitions).


/dev/sda is the USB stick which contains the installer. You cannot 
install GRUB there.


Does the installer boot in EFI or legacy mode ?
grub-installer prompts in which device to install GRUB when installing 
for legacy/BIOS boot. It means either the installer booted in legacy 
mode or booted in EFI mode but you chose to revert to legacy boot after 
being warned (maybe wrongly) about an existing system set up for legacy 
boot. When installing GRUB for EFI boot, it automatically chooses one of 
the selected EFI partitions.


The partition layout on /dev/nvme1n1 is set up for EFI boot. GRUB could 
be installed for legacy boot in /dev/nvme1n1, but it would not be best 
because there is not "BIOS boot" (bios_grub) partition.




Bug#1032435: installation-reports: Fails to install GRUB bootloader

2023-03-06 Thread John Talbut

Package: installation-reports
Severity: important
Tags: d-i
X-Debbugs-Cc: j...@dpets.uk

Boot method: USB
Image version: 
https://gemmei.ftp.acc.umu.se/images/bookworm_di_alpha2/amd64/iso-cd/debian-bookworm-DI-alpha2-amd64-netinst.iso

Date: <6 March 2023>

Machine: Ideapad 5 14
Partitions: 
Disk /dev/nvme1n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: WDC PC SN530 SDBPMPZ-256G-1101
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5E4D836B-80D7-42DA-BB78-BB015B1D879C

Device   Start   End   Sectors   Size Type
/dev/nvme1n1p12048391167389120   190M EFI System
/dev/nvme1n1p2  391168   1368063976896   477M Linux filesystem
/dev/nvme1n1p3 1368064 500117503 498749440 237.8G Linux filesystem


Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 980 1TB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes
Disklabel type: gpt
Disk identifier: C3734DD7-2C43-49F4-BE7D-5F796EA39BFD

Device StartEndSectors   Size Type
/dev/nvme0n1p1  2048 1953523711 1953521664 931.5G Linux filesystem


Disk /dev/sda: 7.21 GiB, 7746879488 bytes, 15130624 sectors
Disk model: USB DISK 2.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x28b1675d

Device Boot Start End Sectors  Size Id Type
/dev/sda1  *0 1400831 1400832  684M  0 Empty
/dev/sda24472   23319   18848  9.2M ef EFI (FAT-12/16/32)


Disk /dev/mapper/nvme0n1p1_crypt: 931.5 GiB, 1000186314752 bytes, 
1953488896 sectors

Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes


Disk /dev/mapper/nvme1n1p3_crypt: 237.81 GiB, 255342936064 bytes, 
498716672 sectors

Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/dk-rt: 23.28 GiB, 24998051840 bytes, 48824320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/dk-sw: 9.31 GiB, 220736 bytes, 19529728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O]
Detect media:   [O]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:[O]
Detect hard drives: [O]
Partition hard drives:  [O]
Install base system:[O]
Install tasks:  [O]
Install boot loader:[E]
Overall install:[E]

Comments/Problems:



The system has a 256MB SSD and a 1TB SSD.  The installation is LUKS 
encrypted apart from boot and efi partitions.  The 1TB SSD is for user 
files and is LVM volume group da and logical volume da, the 256MB is 
volume group dk and divided into root, home, var, tmp and swap 
partitions.  The installation proceeded correctly up to installing GRUB. 
 It is not clear where to install it but wherever I try I come up with 
a message "Unable to install GRUB in /dev/sda" (or the equivalent in 
other partitions).  It did seem as if initrd was trying to mount root on 
a partition that had not been decrypted, but trying in rescue mode when 
the partitions are decrypted before attempting to install GRUB comes up 
with the same error.



-- Package-specific info:

==
Installer lsb-release:
==
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="12 (bookworm) - installer build 20230217"
X_INSTALLATION_MEDIUM=cdrom

==
Installer hardware-summary:
==
Attached

hardware-summary.gz
Description: application/gzip


Re: Total removal of floppy support?

2023-01-18 Thread John Paul Adrian Glaubitz

On 1/18/23 15:56, Cyril Brulebois wrote:

Could you give a few more details about that “loading a kernel for
network booting” scenario? What I'm looking at is debian-installer
searching and finding files (itself, d-i components, firmware packages,
etc.) on floppies…


Ah, I forgot about loading firmware from floppy disks. This is actually
a valid use case for alpha and hppa, for example.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Total removal of floppy support?

2023-01-18 Thread John Paul Adrian Glaubitz

Hi Cyril!

On 1/18/23 15:28, Cyril Brulebois wrote:

While working on extending firmware support, I've stumbled upon floppy
support in various components. Even if the maintenance costs are low, I
suppose this could go away nowadays?


Not sure. It depends on whether it can still be useful for loading a kernel
for network booting.

Can we get an overview what floppy support includes? If it's just a few files,
I'm inclined to keep it for now and I'm also happy to care of it in case it
needs some love.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1023501: busybox-static: version 1:1.35.0-3 breaks boot on hppa

2022-11-05 Thread John David Anglin
Package: busybox-static
Version: 1:1.35.0-2
Severity: normal

Dear Maintainer,

With 1:1.35.0-3, boot ends in initramfs:

Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... 
   
mdadm: No arrays found in config file or automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
mdadm: error opening /dev/md?*: No such file or directory
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
mdadm: No arrays found in config file or automatically
Begin: Running /scripts/local-block ... mdadm: No arrays found in config file 
or
automatically
done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=ROOT2 does not exist.  Dropping to a shell!


BusyBox v1.35.0 (Debian 1:1.35.0-3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

dave@mx3210:~$ cat /proc/cmdline
root=LABEL=ROOT2 console=ttyS0 HOME=/ rootfstype=xfs clocksource=jiffies 
TERM=xterm palo_kernel=2/vmlinuz

The LABEL=ROOT2 does exist:
dave@mx3210:~$ ls /dev/disk/by-label
BOOT2  DAVE  HOME2  ROOT2  VAR2

There are no mdadm arrays on system.

Reverting to 1:1.35.0-2 and updating affected initrd.img files fixes 

Re: debootstrap_1.0.128+nmu1 uploaded to DELAYED/1 (was: Re: debootstrap_1.0.128_source.changes ACCEPTED into unstable)

2022-10-17 Thread Dimitri John Ledkov
Ack, will look into it

On Mon, 17 Oct 2022, 10:50 Luca Boccassi,  wrote:

> Hi,
>
> I have uploaded debootstrap_1.0.128+nmu1 to DELAYED/1, as 1.0.128 added
> a new autopkgtest that fails in Debian because we still don't have
> /usr/sbin in the default PATH (I guess it wasn't noticed in Ubuntu
> because that's not an issue there).
> The autopkgtest failure was holding back migration to testing.
>
> MR:
> https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/82
>
> --
> Kind regards,
> Luca Boccassi
>


Re: Firmware GR result - what happens next?

2022-10-02 Thread John Scott
> I think it's ironic
Apologies, on second thought this was poor wording. It's not ironic,
merely an oversight. We all believe in the success of free software, and
I don't mean to question anyone's values or allegiance for wanting to
serve users by tackling the most evident problems.


signature.asc
Description: This is a digitally signed message part


Re: Firmware GR result - what happens next?

2022-10-02 Thread John Scott
I concede I'm biased as its maintainer, but I think it's ironic that
non-free firmware is about to have better support than the flagship
libre wireless firmware. I'm referring to open-ath9k-htc-firmware, which
if you're not familiar, is the firmware for the most prominent USB
wireless adapters that work with exclusively free software, including
all of the recent Respects Your Freedom-certified ones.

I specifically have two grievances:
 * Unlike all other free firmware, firmware-ath9k-htc is not installed
on systems by default. The only reason it's segregated is because it 
gets built from source, unlike the other free firmware.
 * The ath9k_htc firmware should also be in the installer so users can
install over Wi-Fi. Fortunately the live images already include it, so I
usually recommend users wanting to install over Wi-Fi use that.

Note that downstream distros that are more free software-centric, like
Trisquel and PureOS, have already addressed the foregoing by choosing to
install firmware-ath9k-htc by default as a downstream change.

I'm not a new Debian Contributor; I know how things work around here.
But it would be nice if I could get some help from folks who already
know the ins and outs of the Debian Installer, and I thought this thread
would be a good opportunity to bring awareness to these issues affecting
firmware-ath9k-htc.

P.S. I'm aware that open-ath9k-htc-firmware may be FTBFS right now, I
plan to have a fix shortly.

P.P.S. I plan to split carl9170fw (the other 802.11n USB wireless
firmware) out into its own source package in the style of firmware-
ath9k-htc so we can build it from source too. Even though it's already
in firmware-linux-free, carl9170 currently doesn't work with the
installer either.

Thanks for your consideration.


signature.asc
Description: This is a digitally signed message part


Re: What to do with partman-hfs?

2022-09-12 Thread John Paul Adrian Glaubitz

On 9/12/22 17:17, Cyril Brulebois wrote:

John Paul Adrian Glaubitz  (2022-09-12):

You can just ignore it. It also depends on a package that is in non-free
(hfsprogs), so I assume we wouldn't be able to release it anyway.


Yeah, I didn't even talk about contrib. :)

Thanks for confirming, ignoring it in the l10n script via the
packages_exceptions mechanism:
   
https://salsa.debian.org/installer-team/d-i/-/commit/afd1b542b6f45a11a75afdfd68fe2781e8c8df8f


Thanks. FWIW, the very busy and dutiful Debian translation team has already
translated the package into most languages. Since I don't expect the text
to change any time so, it's safe to ignore it.

I am very glad it was translated so quickly. Thanks to everyone who helped :-).

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: What to do with partman-hfs?

2022-09-12 Thread John Paul Adrian Glaubitz

Hi Cyril!

On 9/12/22 16:57, Cyril Brulebois wrote:

Until partman-hfs (possibly) hits testing, I'm tempted to ignore it
in calc-release-status, instead of dropping it entirely from the
l10n infrastructure: I suppose the latter would mean lower chances for
translators to work on this package?


You can just ignore it. It also depends on a package that is in non-free
(hfsprogs), so I assume we wouldn't be able to release it anyway.

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Net boot auto install failure with "No device for installation media was detected"

2022-07-21 Thread john doe

On 7/21/2022 5:02 AM, Shane Gibson wrote:

Greetings,

We have an automated installation system that has been humming along
beautifully from Debian 6 through 10.  Recently attempted to add support of
net boot/pxe and autoinstall via d-i of Debian 11.4.0.  Our current Boot
arguments and preseed config is producing a stop error of:

"No device for installation media was detected."

I saw notes that there should be netinst changes to boot and preseed
directives - but I have been unable to unearth the changes.   Any pointers
to documentation about the boot and preseed directive changelog changes, or
any other hints related to this error message are greatly appreciated.   To
date, I've spent a couple of days grubbing through searches, doc reading,
etc... no dice.



I'm not quite sure to understand your set up, so my answer/feedback
might not be what you are looking for.


PXE booting will use the network to boot the machine and preseeding to
install Debian.
You could use a cacher proxy (EG: 'apt-cacher-ng') to avoid fetching
everytime from the internet.


To me the issue you are seeing might be coming from the fact that you
are exploding/using an ISO file in the first place.

--
John Doe



debian-installer FTBFS after openssl transition

2022-05-24 Thread John Paul Adrian Glaubitz
Hi!

I have observed debian-installer on some architectures such m68k, powerpc and 
sparc64
after the openssl transition. The issue does not affect all architectures, 
ia64, hppa
and ppc64 are not affected, for example.

The failure looks like this:

Building dependency tree... Done
  libcrypto3-udeb:powerpc Depends on libatomic1:powerpc < none @un H > can't be 
satisfied!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcrypto3-udeb : Depends: libatomic1 but it is not installable
E: Unable to correct problems, you have held broken packages.

Anyone have any suggestion what could be the problem? Since another version of 
the openssl
package was just uploaded, I don't think we need another binNMU here.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: License issue? (Re: Including partman-hfs to the team's git project)

2022-05-04 Thread John Paul Adrian Glaubitz
Hi Holger!

On 5/4/22 16:35, Holger Wansing wrote:
>> It's part of unstable, so in principal, it can be used to build non-free 
>> installer
>> images.
> 
> For which archs is this used?

It's currently used on m68k, powerpc and ppc64. But it could be used on amd64 
and
arm64 as well since HFS/HFS+ is in principle useful on any Apple Macintosh 
computer,
even the latest ones.

> So even if partman-hfs is not used by default currently, the translations are
> currently used (translators work on it, if we add partman-hfs to the 
> l10n machinery), so I wonder if this introduces a license issue for the 
> translation files?
> (The po files contain the hint:
> "This file is distributed under the same license as debian-installer.")

This shouldn't introduce any license problems as the partman-hfs package itself
is not affected by the license issue. It's just the hfsprogs package that is
using the problematic APSL license.

partman-hfs is just using the same license as debian-installer but it has to
live in the contrib section because it depends on a package from the non-free
section.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Including partman-hfs to the team's git project

2022-05-03 Thread John Paul Adrian Glaubitz
Hello Holger!

On 5/2/22 16:10, Holger Wansing wrote:
> Apparently I did not got the point regarding non-free here, when reading
> this mail that day.
> 
> Now I see that partman-hfs is in contrib, and that opened my eyes.
> I wonder if it's ok from the license point-of-view, to have a installer
> module from contrib in the installer?
> Doesn't this turn the whole installer into a no-longer DFSG-free piece of
> software?

Only if you build CD images with the packages included which is not happening by
default. I would argue it's similar to non-free images that are being built
with firmware included.

> Or in other words: can we call such installer the "official Debian-Installer"?
> 
> (There is another issue about non-free firmware to be included in the
> installer, and unofficial installer images were introduced for this; maybe 
> this is a similar thing?)

Yes.

> Ahhh, another thought comes to mind:
> maybe this partman-hfs is for ports releases anyway, and not to be used in
> official release archs?

It's part of unstable, so in principal, it can be used to build non-free 
installer
images.

Unfortunately, debian-cd currently seems unable to include udebs from contrib
and non-free which is why this has to be enabled in the codebase first anyway.

However, I would appreciate it if you could add partman-hfs to the translation
project so it gets translated as all the other d-i packages. You are also very
welcome to perform uploads of the partman-hfs package yourself.

As for the license issue: The hfsprogs package has been in main for a long time
but then someone raised the severity of this license bug to serious and the
package had to be moved to non-free [1].

I would still argue that Apple's APSL should not be considered non-free, 
especially
since Fedora ships the hfsplus-tools package with their normal distribution [2] 
and
Fedora is known to be very strict when it comes to license questions.

Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666707
> [2] https://src.fedoraproject.org/rpms/hfsplus-tools/tree/rawhide

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Remnants of Yaboot support in debian-installer

2022-03-27 Thread John Paul Adrian Glaubitz
Hi!

On 3/24/22 08:21, John Paul Adrian Glaubitz wrote:
> On 3/23/22 11:00, John Paul Adrian Glaubitz wrote:
>> Hello!
>>
>> While working on the new partman-hfs package, I peeked at other partman-* 
>> packages
>> and noticed that partman-jfs still contains a workaround [1] for the Yaboot 
>> bootloader
>> which we used on Apple Power Macintosh in the past.
> 
> I would make the following changes to the partman-jfs package [1].

I just pushed that change to the partman-jfs repository [1].

I also pushed a small change to grub-installer [2].

@Holger: Would be great if you could update both packages in unstable once you
 have the time. I could do it myself, but I'll leave it up to you in
 case you want to make any additional changes.

Thanks,
Adrian

> [1] 
> https://salsa.debian.org/installer-team/partman-jfs/-/commit/37122d4e9515a79055747676ccba72a0af0e22ff
> [2] 
> https://salsa.debian.org/installer-team/grub-installer/-/commit/f7eb12f89844475db8f79bf90546d36e8bb0dfb6

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: How to deal with po files in debian-installer?

2022-03-24 Thread John Paul Adrian Glaubitz
Hi Holger!

On 3/24/22 10:45, Holger Wansing wrote:
>> Do I understand the mechanism correctly that I just need to create the files
>>
>> - debian/partman-hfs.templates
>> - debian/po/outout
> 
> output, not outout
> But it's ok in your Github project.

Yes, that was just a typo in the email ;-).

>> - debian/POTFILES.in
>>
>> and the translators will do the rest or is there anything else I need to do?
> 
> ... and the l10n-script will do the rest, yes.
> 
> I reviewed the strings, and that looks good (strings copied from other 
> partman package where possible, so that translations automatically 
> match).
> 
> So no objections from my side regarding l10n.
> (Adding the package to the l10n-sync machinery needs to be done,
> as mentioned by kibi, but there's no issue with that.)

Thanks for the constructive feedback. Much appreciated.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Remnants of Yaboot support in debian-installer

2022-03-24 Thread John Paul Adrian Glaubitz
On 3/24/22 08:21, John Paul Adrian Glaubitz wrote:
> I would make the following changes to the partman-jfs package [1].

Update commit:

> https://github.com/glaubitz/partman-jfs/commit/a2e90465593ef3ee2e6d77b277bbff918e94070d

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Remnants of Yaboot support in debian-installer

2022-03-24 Thread John Paul Adrian Glaubitz
Hi!

On 3/23/22 11:00, John Paul Adrian Glaubitz wrote:
> Hello!
> 
> While working on the new partman-hfs package, I peeked at other partman-* 
> packages
> and noticed that partman-jfs still contains a workaround [1] for the Yaboot 
> bootloader
> which we used on Apple Power Macintosh in the past.

I would make the following changes to the partman-jfs package [1].

Is that okay to commit?

Adrian

> [1] 
> https://github.com/glaubitz/partman-jfs/commit/9c77668fefb39a84cd1df46f37b2d46d591c273b

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



RFC: New package partman-hfs

2022-03-23 Thread John Paul Adrian Glaubitz
Hello!

I have created a new partman-hfs package which I am planning to upload
this week in order to support creating HFS/HFS+ partitions from debian-
installer. I have pushed an initial version of the packaging source to
my Github page [1].

The primary purpose of adding HFS/HFS+ support to debian-installer is to
be able to install GRUB on Apple Power Macintosh machines. However, it
will, of course, also allow to create HFS/HFS+ partitions on any other
target. HFS/HFS+ is probably useful for anyone using a Mac with dual-boot
configuration to create a partition for data sharing.

Since this is the first time I have created a partman support package,
I'd appreciate some feedback although I don't think there much that can
be done wrong for these type of packages.

I have already successfully tested the package on one of my Apple PowerMacs
and it works correctly, including the check mechanisms although I'm not
sure we really need the check for proper alignment, I copied that code
from the partman-ext3 package.

Thanks,
Adrian

> [1] https://github.com/glaubitz/partman-hfs

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: How to deal with po files in debian-installer?

2022-03-23 Thread John Paul Adrian Glaubitz
Hi!

On 3/23/22 14:20, Cyril Brulebois wrote:
> John Paul Adrian Glaubitz  (2022-03-23):
>> I have created a new udeb package called partman-hfs to add HFS/HFS+
>> support to partman and I'm just wondering how to properly deal with
>> internationalization support in the package.
>>
>> Do I understand the mechanism correctly that I just need to create the
>> files
>>
>> - debian/partman-hfs.templates
>> - debian/po/outout
> 
> Are you sure about that one? :)

Well, no ;-).

>> - debian/POTFILES.in
>>
>> and the translators will do the rest or is there anything else I need to do?
> 
> Holger will be able to tell you more about this, but you need that
> package to be known by the l10n machinery, via:
>   
> https://salsa.debian.org/installer-team/d-i/-/blob/master/packages/po/packages_list

OK, I'll wait for Holger if he wants to add any comments.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: debian-installer missing Standards-Version

2022-03-23 Thread John Paul Adrian Glaubitz
On 3/23/22 13:32, Bastian Blank wrote:
> On Wed, Mar 23, 2022 at 10:46:08AM +0100, John Paul Adrian Glaubitz wrote:
>> Does anyone know whether this is by design or is this an oversight?
> 
> This is by design.  udeb don't follow policy.  So listing a policy
> version is somewhat distracting.

Makes sense! Thank you!

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



How to deal with po files in debian-installer?

2022-03-23 Thread John Paul Adrian Glaubitz
Hi!

I have created a new udeb package called partman-hfs to add HFS/HFS+ support to
partman and I'm just wondering how to properly deal with internationalization
support in the package.

Do I understand the mechanism correctly that I just need to create the files

- debian/partman-hfs.templates
- debian/po/outout
- debian/POTFILES.in

and the translators will do the rest or is there anything else I need to do?

I am referring to the manual 2.2 in the i18-guide of debian-installer [1].

Thanks,
Adrian

> [1] https://d-i.debian.org/doc/i18n-guide/ch02s02.html

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: debian-installer missing Standards-Version

2022-03-23 Thread John Paul Adrian Glaubitz
Hi Cyril!

On 3/23/22 11:03, Cyril Brulebois wrote:
> Hi,
> 
> John Paul Adrian Glaubitz  (2022-03-23):
>> I have noticed that several udebs such as partman-ext3 are missing the
>> Standards-Version in their debian/control [1] files.
>>
>> Does anyone know whether this is by design or is this an oversight?
>>
>> I'm asking because lintian is complaining about that when building the
>> package.
> 
> This is #991533. Given the lengthy thread it turned into, I gave up.

Thanks. That answers my question.

>> Also, many of these packages are still stuck with debian/compat
>> version 9. Do we want to upgrade the version to something more recent?
> 
> Maybe. I think I'd like people who would like to look into that to:
>  (1) be cautious, there might be udeb-related regressions or behavorial
>  changes that might not have been caught earlier;
>  (2) maybe plan upgrading all packages, possibly not at once, but over a
>  small-ish time window, so that we don't stay too long with packages
>  with old and new compat levels, especially if it's not just about
>  bumping the compat level.
> 
>> And do we want to switch to the debhelper-compat module?
> 
> No idea at the moment, I'd have to read up some more about that part. If
> that's the recommended way (according to debhelper developers) and if
> that's what people expect these days, sure.

OK. I'll stick to the current versions used in debian-installer and let it
up to the installer team to bump these versions in the partman-hfs
package.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Remnants of Yaboot support in debian-installer

2022-03-23 Thread John Paul Adrian Glaubitz
Hello!

While working on the new partman-hfs package, I peeked at other partman-* 
packages
and noticed that partman-jfs still contains a workaround [1] for the Yaboot 
bootloader
which we used on Apple Power Macintosh in the past.

Since we switched both the powerpc and ppc64 ports over to GRUB and completely 
dropped
Yaboot which is unmaintained upstream, these workarounds can be removed.

Thus, if anyone runs into such a workaround for Yaboot or powerpc, please feel 
free
to remove them. If you make any such changes, please let me know so I can have 
a quick
look at it to make sure it does not break debian-installer on powerpc/ppc64 in 
an
unintended way although I think this is very unlikely.

Thanks,
Adrian

> [1] 
> https://salsa.debian.org/installer-team/partman-jfs/-/blob/master/check.d/no_jfs_boot

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



debian-installer missing Standards-Version

2022-03-23 Thread John Paul Adrian Glaubitz
Hello!

I have noticed that several udebs such as partman-ext3 are missing the 
Standards-Version
in their debian/control [1] files.

Does anyone know whether this is by design or is this an oversight?

I'm asking because lintian is complaining about that when building the package.

Also, many of these packages are still stuck with debian/compat version 9. Do 
we want to upgrade
the version to something more recent? And do we want to switch to the 
debhelper-compat module?

Thanks,
Adrian

> [1] 
> https://salsa.debian.org/installer-team/partman-ext3/-/blob/master/debian/control

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: debian over pxe

2022-03-13 Thread john doe

On 3/13/2022 3:49 PM, Rishi Saini wrote:

Hi,

I have setup pxe boot environment to install my customize iso created using 
simple-cdd profiles.I am able to install standard ISO but how to instruct 
debian install to install using my own simple-cdd profiles over pxe.



You cant' use PXE booting and iso file.
To boot Debian using PXE you will need a netboot image.


If you want 'preseeding' in your iso file, see (1).

1)  https://wiki.debian.org/Simple-CDD/Howto

--
John Doe



Re: Debian CD

2022-03-04 Thread John Paul Adrian Glaubitz
On 3/4/22 20:22, Mike Hosken wrote:
> It’s a RP4300 G3

What kind of hardware is that? When I google this, I'm getting results
for hamradio hand receivers.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Having a d-i boot timeout for enabling speech?

2022-02-27 Thread john doe

On 2/28/2022 12:17 AM, Holger Wansing wrote:

Hi,

Samuel Thibault  wrote (Sun, 13 Feb 2022 02:28:48 +0100):

Users on the debian-accessibility mailing list reported that they found
it very useful that the MacOS X installation image automatically starts
a speech-enabled installer when the boot menu is left untouched for
10 seconds, so that blind people have really nothing more to do than
plugging the installation USB key and turning the computer on to get a
speaking installer (and notably in the case when the computer does not
have a hardware speaker for beeping at the boot menu).

It happens that syslinux supports this, the attached patch implements
it. What do debian-boot people think about the idea?


This seems to be only in interest for a limited group of people, however
from my point of view the pro's beat the con's, so my vote would be
"why not".



Increasing the wait time to something like 60sec might not be a bad idea
to avoid this being a distraction to the vast majority of users.

Even better would be to aline with what other OSes are doing (docs welcome).

For what it is worth, I could not find documentation backing up a wait
time in other OSes.

--
John Doe



Re: How to get preseed to ASK me for hostname + strange partitioning behaviour

2022-01-20 Thread john doe

On 1/20/2022 5:11 PM, Jonas Bygdén wrote:

Ok, now it looks like this:

# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/get_hostname seen false
d-i netcfg/get_domain seen false

# If you want to force a hostname, regardless of what either the DHCP
# server returns or what the reverse DNS entry for the IP is, uncomment
# and adjust the following line.
#d-i netcfg/hostname string somehost
#d-i netcfg/hostname seen false

# Disable that annoying WEP key dialog.
#d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
d-i netcfg/dhcp_hostname string debian
d-i netcfg/get_hostname seen false
d-i netcfg/get_domain seen false

But still - it goes directly to the partitioning after choosing keyboard 
layout, without any hostname question.



Maybey setting the 'priority' to 'high' instead of 'critical'.

--
John Doe



Bug#1002976: installation-reports: Installer Does Not Provide Screen Reader in Accessible Installation

2022-01-16 Thread john doe

On 1/17/2022 1:13 AM, D.J.J. Ring, Jr. wrote:

Here's the message, i didn't include the bug address.

I'm new



We've all been there!!! :)

Please understand that it is as frustrated for you as it is for us.

P.S.

Apologies for the crossposting, from now on I will only send to this bug
report.

--
John Doe



Re: Bug#999249: Package will now be considered for auto-removal

2022-01-08 Thread John Paul Adrian Glaubitz
Hello!

On 1/8/22 20:35, Graham Inggs wrote:
> The release team no longer [1] considers popcon a criterion for
> inclusion in the list of key packages [2].
> 
> This email is a courtesy reminder of this bug, and should prevent
> instant auto-removal once the rule is changed in britney.

discover has an installation count of nearly 200.000. Do we really remove
a package that is being installed on so many machines?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Bug#1002976: installation-reports: Installer Fault Accessibility No Screen Reader Heard

2022-01-03 Thread john doe

On 1/3/2022 9:59 AM, D.J.J. Ring, Jr. wrote:

John Doe,

Someone told me of a method of saving log files from the installer before
it writes to the hard drive it's going to install to.

The error occurs prior to writing to any partition.

If these errors are kept in system RAM until the partitions are formatted
and then written to that partition, all is OK,

But the errors precede writing to disk.

I've asked already, maybe you answered with your "debug d-i" comment but I
have no idea what it means or how to use it to help the boot and installer
developers.



From (1):

"These messages can also be found in /var/log/syslog. After
installation, this log is copied to /var/log/installer/syslog on your
new system. Other installation messages may be found in /var/log/ during
the installation, and /var/log/installer/ after the computer has been
booted into the installed system."

This should alleviate your conserns.


1)  https://www.debian.org/releases/buster/amd64/ch06s01.en.html

--
John Doe



Re: Bug#1002976: installation-reports: Installer Fault Accessibility No Screen Reader Heard

2022-01-03 Thread john doe

On 1/3/2022 9:06 AM, D.J.J. Ring, Jr. wrote:

On Mon, Jan 3, 2022, 02:09 john doe  wrote:


On 1/3/2022 12:18 AM, D.J.J. Ring, Jr. wrote:

On Sun, Jan 2, 2022 at 8:25 AM john doe  wrote:


On 1/2/2022 1:56 PM, D.J.J. Ring, Jr. wrote:

On Sun, Jan 2, 2022, 03:59 Holger Wansing 

wrote:



Hi,

Am 2. Januar 2022 02:40:16 MEZ schrieb "David J. Ring, Jr." <

n...@arrl.net

:

lspci -knn: 00:03.0 Audio device [0403]: Intel Corporation

Broadwell-U

Audio Controller [8086:160c] (rev 09)


As I already wrote:
my best guess for this one would be
https://www.debian.org/releases/stable/debian-installer/#errata




So is this fixed? Does the daily our weekly installer with firmware

allow

speech to be heard during installation?



No it is not.

Pick the desired architecture  at (1) and remember that this is a work
in progress!

Feedback from the comunity will eventually make this workable for all of
us.


1)



https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/daily-builds/sid_d-i/current/


--
John Doe



Hello John Doe,

I picked the correct architecture, downloaded, checked the sha250sum,

then

used dd to make a usb bootable usb stick.

It detected my sound card, but after that no sound was heard in the
accessible install.

I remember that someone told me there was a switch to somehow save log
files while installing and a way to upload them to pastebin web site,

but I

have forgotten how to do that, and I cannot find any documentation to

help

me.

I need something to tell the developers about the problems with the
installer without actually installing Debian, as I have already installed
Debian and I have the installer logs.



How are you able to "Install Debian With Speach' if the installer does
not speak after having detecting your sound card?

--
John Doe



I use a magnifier glass to read the screen.

Best to you,

David








Okay.

I'll say a fiew things:
- While you certainly can debug d-i (debugging Debian installer), the
easiest way to access logs is to tar up '/var/log/installer' after
installation
and to provided it as an attachment.
- The utility 'dd' is not required to copy the iso onto the USB key, 'cp
*.iso /dev/sdb' is enough.
- If you reinstall Debian many times, you should maybe consider using a
'preseed' file.
- As far as I understand it, everything is working fine on Buster but
not on Bullseye, tarring the logs from a Buster installation and from
Bullseye might give us some clues on where this is failing.

--
John Doe



Re: Bug#1002976: installation-reports: Installer Fault Accessibility No Screen Reader Heard

2022-01-02 Thread john doe

On 1/3/2022 12:18 AM, D.J.J. Ring, Jr. wrote:

On Sun, Jan 2, 2022 at 8:25 AM john doe  wrote:


On 1/2/2022 1:56 PM, D.J.J. Ring, Jr. wrote:

On Sun, Jan 2, 2022, 03:59 Holger Wansing  wrote:


Hi,

Am 2. Januar 2022 02:40:16 MEZ schrieb "David J. Ring, Jr." <

n...@arrl.net

:

lspci -knn: 00:03.0 Audio device [0403]: Intel Corporation Broadwell-U

Audio Controller [8086:160c] (rev 09)


As I already wrote:
my best guess for this one would be
https://www.debian.org/releases/stable/debian-installer/#errata




So is this fixed? Does the daily our weekly installer with firmware allow
speech to be heard during installation?



No it is not.

Pick the desired architecture  at (1) and remember that this is a work
in progress!

Feedback from the comunity will eventually make this workable for all of
us.


1)

https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/daily-builds/sid_d-i/current/

--
John Doe



Hello John Doe,

I picked the correct architecture, downloaded, checked the sha250sum, then
used dd to make a usb bootable usb stick.

It detected my sound card, but after that no sound was heard in the
accessible install.

I remember that someone told me there was a switch to somehow save log
files while installing and a way to upload them to pastebin web site, but I
have forgotten how to do that, and I cannot find any documentation to help
me.

I need something to tell the developers about the problems with the
installer without actually installing Debian, as I have already installed
Debian and I have the installer logs.



How are you able to "Install Debian With Speach' if the installer does
not speak after having detecting your sound card?

--
John Doe



Re: Bug#1002976: installation-reports: Installer Fault Accessibility No Screen Reader Heard

2022-01-02 Thread john doe

On 1/2/2022 1:56 PM, D.J.J. Ring, Jr. wrote:

On Sun, Jan 2, 2022, 03:59 Holger Wansing  wrote:


Hi,

Am 2. Januar 2022 02:40:16 MEZ schrieb "David J. Ring, Jr." 
:

lspci -knn: 00:03.0 Audio device [0403]: Intel Corporation Broadwell-U

Audio Controller [8086:160c] (rev 09)


As I already wrote:
my best guess for this one would be
https://www.debian.org/releases/stable/debian-installer/#errata




So is this fixed? Does the daily our weekly installer with firmware allow
speech to be heard during installation?



No it is not.

Pick the desired architecture  at (1) and remember that this is a work
in progress!

Feedback from the comunity will eventually make this workable for all of us.


1)
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/daily-builds/sid_d-i/current/

--
John Doe



Re: Bug#1002921: installation-reports: No Screen Reader, Cannot boot into MATE GUI, Root only can

2022-01-01 Thread john doe

On 1/2/2022 1:20 AM, D.J.J. Ring, Jr. wrote:

I made a new partition for /home and I reinstalled Debian, this time I
could lot in to MATE and I could log into the CLI.

But the issue remains of after the Installation disk detects my sound card,
it seems to find my sound card, but immediately after finding it, no
further sound is heard.

This remains.



That would be lovely if you could bottom post instead of top posting.

The only thing that we can help you with is an issue with the Debian
installer.

I must say, I lost track of what is the issue you are having so please
do the following:

1)  Install Debian from scratch

That is, let d-i wipe the all content of your drive, this will result in
a fresh install of Debian.


2)  Attach all files from '/var/log/installer' to this bug report.

Please attached all of those files in one e-mail or create a tarball and
attached it:

$ tar -C var/log -cf installer.tar.bz2 installer


3)  Take the time to describe one issue you are having per bugreport

The more explicit you are and stick to the point the better we will be
able to help you.


Granted, this will take sometime to do but that is the only way we will
be able to fix the issue!


P.S.

By 'we' I mean the comunity.

--
John Doe



Re: At what time of the install process a script is executed with 'preseed/run'?

2021-12-29 Thread john doe

On 12/29/2021 4:35 PM, Holger Wansing wrote:

Hi,

Am 26. Dezember 2021 19:18:26 MEZ schrieb john doe :

On 12/26/2021 5:44 PM, Holger Wansing wrote:



Am 26. Dezember 2021 17:30:03 MEZ schrieb john doe :


Can someone confirm when 'preseed/run' is executed?

In other words, what is the best way to download and execute a script at
the end of the install process.




[...]


Actually I was more hoping for an equivalent of 'preseed/run' to the
'preseed/late_command'.
The late_command will not per default download the *.sh file.


The preseed/run part is documented in chapter B.5.3 "Chainloading of
preconfiguration files":
https://d-i.debian.org/manual/en.amd64/apbs05.html

So I guess this not a functionality to be executed at the end of
installation, it only makes sense somewhere at the beginning.



Thank you for this,

I guess you are refering to:

"
# Most flexibly of all, this downloads a program and runs it. The program
# can use commands such as debconf-set to manipulate the debconf database.
# More than one script can be listed, separated by spaces.
# Note that if the filenames are relative, they are taken from the same
# directory as the preconfiguration file that runs them.
#d-i preseed/run string foo.sh"

In the description text, to me at least, it is not clear at what stage
this command is executed!!! :)
Having played a bit more, I can confirm that this command is not
executed at the end of the installation process.

While I was looking to understand what was going on, I came across (1)
and this is where Ubuntu differs from Debian:

"on a web server. In this example, if the preseed file sets preseed/run
to /scripts/late_command.sh then the file will be fetched from
http://autoserver.example.com/d-i/focal/./scripts/late_command.sh.;

I would love to see a rewording of the above text which would clearly
state at what time the command is executed!!! :)

I realy appreciate your help.

1)  https://help.ubuntu.com/lts/installation-guide/s390x/apbs02.html

--
John Doe



Re: At what time of the install process a script is executed with 'preseed/run'?

2021-12-26 Thread john doe

On 12/26/2021 5:44 PM, Holger Wansing wrote:



Am 26. Dezember 2021 17:30:03 MEZ schrieb john doe :

Debians,

From a preseed file I need to download and execute as the last command
a script.
I'm playing with 'd-i preseed/run string foo.sh' the script execute
successfully but does not look to be executed as the last command in the
install process.

Can someone confirm when 'preseed/run' is executed?

In other words, what is the best way to download and execute a script at
the end of the install process.


Not exactly answering your question, but the installation-guide
has a chapter about this, see
https://d-i.debian.org/manual/en.amd64/apbs05.html

I guess, "preseed/late_command is what you want...



Actually I was more hoping for an equivalent of 'preseed/run' to the
'preseed/late_command'.
The late_command will not per default download the *.sh file.

Thanks  alot for your answer.

--
John Doe



At what time of the install process a script is executed with 'preseed/run'?

2021-12-26 Thread john doe

Debians,

From a preseed file I need to download and execute as the last command
a script.
I'm playing with 'd-i preseed/run string foo.sh' the script execute
successfully but does not look to be executed as the last command in the
install process.

Can someone confirm when 'preseed/run' is executed?

In other words, what is the best way to download and execute a script at
the end of the install process.

Any help is appreciated.

--
John Doe



Bug#998668: anna: Make it possible to install with a mismatched kernel

2021-11-21 Thread John Paul Adrian Glaubitz
Hello!

On 11/21/21 09:31, Holger Wansing wrote:
> I have prepared (and tested) a patch for this, attached.
> This is mostly a revert of the mentioned change in 1.73, besides trimming 
> the message text.

It should be "installation", not "install". And I would put another newline
before the new paragraph.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#998867: debootstrap: --no-merged-usr became a no-op

2021-11-15 Thread Dimitri John Ledkov
There are multiple issues reported in a single bug.

> This means that I cannot create a Debian chroot from Debian unstable from 10 
> years ago from snapshot.debian.org without merged-/usr and thus my chroot 
> will behave differently as it did back then.
> Please re-enable --no-merged-usr so that I can re-create old chroots from 
> snapshot.d.o again.

I don't think debootstrap has such goals, or requirement to be able to
bootstrap rolling release without a changing codename like
unstable/sid. debootstrap already sets options that may not be
supported or lead to incorrect chroots if debootstrap & scripts are
used from too far away time window for a rolling release. If you
desire to re-create a debootstrap of unstable as it looked 10 years
ago, it is best to do it using 10 years old debootstrap from the said
snapshot archive too.

Note that stable/testing are not affected as much, because the rolling
alias is resolved to a codename, and hence doing debootstrap from an
old snapshot of "stable" will do what the codename "lenny" wants,
although there is no guarantee that current debootstrap will resolve
things the same way as the 10 year old debootstrap did.

Allowing --no-merged-usr option unguarded may lead to users creating
incorrect installations and chroots for the future releases,
especially since packages can assume merged-usr in the upcoming
releases.

I wonder if I can do some further checks, I.e. if unstable, and the
InRelease / Release Date is old, do split-usr. I.e. anything before
2022. Effectively implement a time guard "old-sid" vs "new-sid", since
the codename for sid has not changed. Thus allowing to bootstrap old
sid snapshots in a manner closer to what old debootstrap from said
snapshot would do. But still wIthout any guarantees that it will be
identical.

> Also, build chroots must still be created without merged-usr for 
> sid/bookworm, until something's been done to migrate user systems.

But Julien, you said that buildds run stable, meaning they are
unaffected by this debootstrap change in sid/bookworm.

> Please point out what you plan to do about this change in debootstrap so that 
> I can adapt the mmdebstrap autopkgtest accordingly.

I did notice the mmdebstrap autopkgtest regression. I also noticed
that mmdebstrap does not support --merged-usr flag, and instead offers
three ways of creating chroots that are merged-usr.
To match the current debootstrap behaviour in sid, as currently
implemented in debootstrap in sid, it seems to me that mmdebstrap
should auto-enable
`--setup-hook=/usr/share/mmdebstrap/hooks/merged-usr/setup00.sh` for
sid/bookworm, but somehow continue to honor user supplied
--setup-hooks (append? override?) I was going to file a bug report
about that after using mmdebstrap, as I have not used it yet and not
sure how that would fit into UX and user expectations.

-- 
Regards,

Dimitri.



Bug#998668: anna: Make it possible to install with a mismatched kernel

2021-11-06 Thread John Paul Adrian Glaubitz
Hello Holger!

On 11/6/21 21:13, Holger Wansing wrote:
> Hmm, isn't that exactly the situation, we had before the above mentioned 
> change?
> 
> There were reasons, why this change was made:
> it was mentioned, that proceeding without kernel modules in the correct
> version isn't possible at all. (That was #749991, #367515.)
> 
> Was that statement incorrect?

Well, the claim that you cannot continue without kernel modules is wrong.

As Vagrant explained, when you build a custom kernel to boot the machine, you 
don't
care about the kernel package or the module packages that are part of Debian as 
the
custom kernel already gets the machine up and running and provides device 
drivers,
filesystems and so on.

The installer can just install the system normally and install the distribution 
kernel,
ignoring that the running kernel is actually a different one. Once the system 
has been
installed, the user can just boot the installed system with the custom kernel.

There is no need to make this particular check a hard fail.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Clean-up d-i repo [ Re: Closing the window for the l10n updates ]

2021-10-30 Thread John Paul Adrian Glaubitz
Hello!

On 10/29/21 23:23, Holger Wansing wrote:
> What about removing such unused packages from d-i?
> 
> A patch is attached, to remove the following from .mrconfig:
>   - arcboot-installer
>   - elilo-installer
>   - kbd-chooser
>   - lilo-installer
>   - partman-prep
>   - prep-installer
>   - quik-installer
>   - yaboot-installer

Please don't touch the repos itself, however. Also, quik-installer will be used
in the future again when I restore support for OldWorld PowerMacs.

> More possible candidates (not sure, if these are still in use; these
> packages don't have any po files, so removing them is not to exclude
> them from l10n machinery):
> 
>   - desktop-chooser
>   - efi-reader
>   - mountmedia
>   - oldsys-preseed
>   - partconf
>   - usb-discover
> 
> 
> Also, all such "deactivated" packages should most likely be moved into a 
> subgroup named "attic" or similar, to demonstrate their status.

Please let me look through the packages first thoroughly. I don't have the
time for that now, however.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#604839: [installation-guide] Planned overhaul of chapter 4.3 "Preparing Files for USB Memory Stick Booting"

2021-10-27 Thread John Paul Adrian Glaubitz
Hello Holger!

On 10/2/21 19:48, Holger Wansing wrote:
> Notes:
> - I would not call files like vmlinuz or initrd.gz an "image" (to not be
>   confused with the installation ISO images); so I changed such occurrences
>   into "files".

Sorry for being late to the party here, but FWIW, the terminology kernel image
and initramfs/init.rd image is correct. Those are actually image files as
they are loaded and mapped into memory 1:1, i.e. as an image.

People usually use the name "kernel image", not "kernel file".

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#996019: debootstrap: bootstrap of ubuntu impish is failing

2021-10-23 Thread Dimitri John Ledkov
On Sat, 23 Oct 2021, 19:49 Sylvestre Ledru,  wrote:

> Hello
> Le 20/10/2021 à 18:05, Dimitri John Ledkov a écrit :
>
> Hi,
>
> I've tried to reproduce this more
>
> Thanks, I appreciate it!
>
> and I have a few questions:
>
> 1) what is the version of debootstrap ?
>
> 1.0.123 (bullseye & sid)
>


Impish support is only available in experimental at the moment in the
1.0.124. can you please try that?

I need to add jammy and upload it to unstable sooner rather than later.
Given that archive is unfrozen now.

> 2) do any config files divert as to which debootstrap's `functions`
> file is used ?
>
>
> https://github.com/opencollab/llvm-jenkins.debian.net/blob/master/pbuilderrc
>
> A few hooks but nothing relevant I think:
>
>
> https://github.com/opencollab/llvm-jenkins.debian.net/tree/master/pbuilder-hookdir
>
> 3) what settings do you have in /tmp/configfile ?
>
> Nothing relevant I think:
>
> # pbuilder config file generated by jenkins-debian-glue on Mon Oct 11 
> 21:54:58 UTC 2021
> CCACHEDIR="/var/cache/pbuilder/ccache"
> # Building for Ubuntu detected, enabling universe repository component to 
> work around cowdancer issue:
> COMPONENTS="main universe"
>
> I'm trying to eliminate a case where new scripts/impish is used that
> sets AR extractor, and yet old functions file is used which doesn't
> know how to zstdcat in the AR extractor.
>
> ie.
> ```
> $ grep zstdcat /usr/share/debootstrap/functions
> control.tar.zst) cat_cmd=zstdcat ;;
> data.tar.zst) cat_cmd=zstdcat ;;
> ```
> I'm not sure what in your case is listed in /tmp/configfile. I assume
> that one thing is pointer to the custom mirror.
>
> Thanks for the infos!
>
> The full log is available here:
>
>
> https://llvm-jenkins.debian.net/view/Ubuntu%20Impish/job/llvm-toolchain-impish-12-binaries/architecture=amd64,distribution=impish,label=amd64/5/console
>
> or
>
>
> https://llvm-jenkins.debian.net/view/Ubuntu%20Impish/job/llvm-toolchain-impish-13-binaries/architecture=amd64,distribution=impish,label=amd64/10/
>
> Please let me know if there is anything I can do to test :)
>
> Cheers,
>
> Sylvestre
>
>
>


Re: [ubuntu] tasksel_3.68_amd64.changes (Rejected)

2021-10-21 Thread John Paul Adrian Glaubitz
Hello!

On 10/21/21 14:35, Holger Wansing wrote:
> Hmm. Since the relevant upload happened 5 months ago, and it was accepted into
> unstable and migrated to testing, I have cleaned up that directory some time 
> ago, so I don't have that .upload file anymore.
> 
> However, I did not clean up that directory after I uploaded apt-setup 
> in September (you asked me for that :-)), and there is no such .upload
> file there either.
> Hmm, maybe there is some option to choose, if that should be generated or not?

The .upload file is normally always generated and also acts as a lock file to 
keep
you from uploading the same changes file again.

> Is it a good idea to have that files, and keep them for whatever situation?

It's up to you. I normally don't clean up such directories so quickly.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: [ubuntu] tasksel_3.68_amd64.changes (Rejected)

2021-10-21 Thread John Paul Adrian Glaubitz
Hello!

On 10/21/21 14:06, Holger Wansing wrote:
> John Paul Adrian Glaubitz  wrote (Thu, 21 Oct 
> 2021 13:54:00 +0200):
>> Ubuntu imports Debian source packages after they are in unstable as far as
>> I know. So, the fact that you got an email from the Ubuntu archive server
>> is very suspicious.
>>
>> Can you paste the .upload file for this upload?
> 
> Hmm, I am not aware of such .upload file.
> Where should I find this?
> (I use dput for uploading of packages to Debian archive.)

It will be generated by dput and should be found in the same directory from 
where
you uploaded the changes file.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: [ubuntu] tasksel_3.68_amd64.changes (Rejected)

2021-10-21 Thread John Paul Adrian Glaubitz
On 10/21/21 13:51, Holger Wansing wrote:
>> It looks like you tried uploading to the Ubuntu FTP server instead of Debian,
>> didn't you?
> 
> No, of course not.
> 
> I guess the/some Debian packages are (semi-)automatically uploaded
> (or ported/migrated or whatever name is sufficient for this) to Ubuntu?
> But I have no further knowledge on this.

Ubuntu imports Debian source packages after they are in unstable as far as
I know. So, the fact that you got an email from the Ubuntu archive server
is very suspicious.

Can you paste the .upload file for this upload?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: [ubuntu] tasksel_3.68_amd64.changes (Rejected)

2021-10-21 Thread John Paul Adrian Glaubitz
Hello Holger!

On 10/21/21 13:05, Holger Wansing wrote:
>> task-albanian-desktop_3.68_all.deb: Unknown section 'tasks'
>> task-amharic-desktop_3.68_all.deb: Unknown section 'tasks'
>> task-amharic-gnome-desktop_3.68_all.deb: Unknown section 'tasks'
(...)
>> task-xhosa-kde-desktop_3.68_all.deb: Unknown section 'tasks'
>> tasksel_3.68_amd64.buildinfo: Unknown section 'tasks'
>> Further error processing not possible because of a critical previous error.
> 
> I received this mail today.
> I fail to see what's the exact problem here.
> tasksel 3.68 builds fine here with sbuild.
> 
> Where can I get more information on this?
> What's the exact statement behind this?
> Why does this come up NOW? (tasksel 3.68 was uploaded ~5 months ago.)
> Is there a way to reproduce this locally somehow? (for example with a locally
> changed tasksel package, for debugging)
> Is it possible, that the reason behind this is in previous versions, even if
> the messages points to 3.68? (I don't see any critical changings in 3.68)

It looks like you tried uploading to the Ubuntu FTP server instead of Debian,
didn't you?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#996019: debootstrap: bootstrap of ubuntu impish is failing

2021-10-20 Thread Dimitri John Ledkov
Hi,

I've tried to reproduce this more and I have a few questions:

1) what is the version of debootstrap ?
2) do any config files divert as to which debootstrap's `functions`
file is used ?
3) what settings do you have in /tmp/configfile ?

I'm trying to eliminate a case where new scripts/impish is used that
sets AR extractor, and yet old functions file is used which doesn't
know how to zstdcat in the AR extractor.

ie.
```
$ grep zstdcat /usr/share/debootstrap/functions
control.tar.zst) cat_cmd=zstdcat ;;
data.tar.zst) cat_cmd=zstdcat ;;
```
I'm not sure what in your case is listed in /tmp/configfile. I assume
that one thing is pointer to the custom mirror.

I launched Debian sid, enabled experimental, installed debootstrap
from experimental, install cowbuilder and all the jenkins-debian-glue
stuff. I did echo custom mirror of
http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive into
/tmp/configfile. Cause that looked like the only custom thing. Not
sure if there are anything else set there. and Things mostly
progressed fine for me:

# DIST=$d ARCH=$a cowbuilder --create --basepath
/var/cache/pbuilder/base-$d-$a.cow --distribution $d --debootstrap
debootstrap --architecture $a --debootstrapopts --arch
--debootstrapopts amd64 --debootstrapopts --variant=buildd
--configfile=/tmp/configfile --hookdir
/usr/share/jenkins-debian-glue/pbuilder-hookdir/
I: Invoking pbuilder
I: forking: pbuilder create --debootstrap debootstrap
--debootstrapopts --arch --debootstrapopts amd64 --debootstrapopts
--variant=buildd --configfile /tmp/configfile --hookdir
/usr/share/jenkins-debian-glue/pbuilder-hookdir/ --buildplace
/var/cache/pbuilder/base-impish-amd64.cow --mirror
http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive/
--architecture amd64 --distribution impish --no-targz --extrapackages
cowdancer
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: Distribution is impish.
I: Current time: Wed Oct 20 15:07:00 UTC 2021
I: pbuilder-time-stamp: 1634742420
I: Building the build environment
I: running debootstrap
/usr/bin/which: this version of `which' is deprecated; use `command
-v' in scripts instead.
/usr/sbin/debootstrap
I: Target architecture can be executed
I: impish uses zstd compression, setting --extractor=ar option
I: Retrieving InRelease
I: Checking Release signature
I: Valid Release signature (key id F6ECB3762474EDA9D21B7022871920D1991BC93C)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on
http://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive...

...

I: Retrieving zlib1g 1:1.2.11.dfsg-2ubuntu7
I: Validating zlib1g 1:1.2.11.dfsg-2ubuntu7
I: Chosen extractor for .deb packages: ar
I: Extracting base-files...
I: Extracting base-passwd...



I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...

...

I: Configuring required packages...
I: Configuring gcc-11-base:amd64...
I: Configuring lsb-base...
I: Configuring libtirpc-common..
...

Eventually it failed for me with:

Package cowdancer is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cowdancer' has no installation candidate
E: Package 'aptitude' has no installation candidate
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
E: pbuilder create failed
I: forking: rm -rf /var/cache/pbuilder/base-impish-amd64.cow

But that seems like further along than what you have. It is possible
that I didn't enable universe, cause aptitude is available in Ubuntu.

On Sat, 16 Oct 2021 at 10:05, Sylvestre Ledru  wrote:
>
> Hello Dimitri,
>
> Any idea how to fix that? I cannot generate packages for
> https://apt.llvm.org/ for impish from a Debian.
>
> thanks
> Sylvestre
>
> Le 11/10/2021 à 18:08, Sylvestre Ledru a écrit :
> > Hello
> >
> >
> > Le 10/10/2021 à 12:41, Sylvestre Ledru a écrit :
> >> Package: debootstrap
> >> Version: 1.0.124
> >> Severity: normal
> >>
> >> Dear Maintainer,
> >>
> >> $ sudo debootstrap impish impish 
> >> https://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive/
> >> I: impish uses zstd compression, setting --extractor=ar option
> >> I: Retrieving InRelease
> >> I: Retrieving Packages
> >> I: Validating Packages
> >> [...]
> >> I: Validating zlib1g 1:1.2.11.dfsg-2ubuntu7
> >> I: Chosen extractor for .deb packages: ar
> >> I: Extracting base-files...
> >> I: Extracting base-passwd...
> >> E: Extracting .//var/cache/apt/archives/base-passwd_3.5.51_amd64.deb 
> >> requires the zstdcat command, which is not available
> >
> >> One needs to install zstd on the host, including zstd in the
> > debootstrap,set will not help.,,Does $ sudo apt install zstd => fix the
> > issue for you?
> >
> > Yeah, it fixed my test case but my 

Bug#996019: debootstrap: bootstrap of ubuntu impish is failing

2021-10-10 Thread Dimitri John Ledkov
On Sun, 10 Oct 2021 12:41:45 +0200 Sylvestre Ledru 
wrote:
> Package: debootstrap
> Version: 1.0.124
> Severity: normal
>
> Dear Maintainer,
>
> $ sudo debootstrap impish impish
https://www-ftp.lip6.fr/pub/linux/distributions//Ubuntu/archive/
> I: impish uses zstd compression, setting --extractor=ar option
> I: Retrieving InRelease
> I: Retrieving Packages
> I: Validating Packages
> [...]
> I: Validating zlib1g 1:1.2.11.dfsg-2ubuntu7
> I: Chosen extractor for .deb packages: ar
> I: Extracting base-files...
> I: Extracting base-passwd...
> E: Extracting .//var/cache/apt/archives/base-passwd_3.5.51_amd64.deb
requires the zstdcat command, which is not available
>
> adding --include=zstd doesn't fix the issue

One needs to install zstd on the host, including zstd in the debootstrap
set will not help.

Does $ sudo apt install zstd => fix the issue for you?



> [...]
> I: Retrieving zstd 1.4.8+dfsg-2.1
> I: Validating zstd 1.4.8+dfsg-2.1
> I: Chosen extractor for .deb packages: ar
> I: Extracting base-files...
> I: Extracting base-passwd...
> E: Extracting .//var/cache/apt/archives/base-passwd_3.5.51_amd64.deb
requires the zstdcat command, which is not available
>
> Thanks,
> Sylvestre
>
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers unstable
>   APT policy: (600, 'unstable'), (500, 'oldstable-updates'), (500,
'oldoldstable'), (500, 'stable'), (500, 'oldstable'), (300, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
> Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE
not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages debootstrap depends on:
> ii  wget  1.21-1+b1
>
> Versions of packages debootstrap recommends:
> pn  arch-test   
> ii  debian-archive-keyring  2021.1.1
> ii  gnupg   2.2.27-2
>
> Versions of packages debootstrap suggests:
> ii  binutils2.37-7
> pn  squid-deb-proxy-client  
> pn  ubuntu-archive-keyring  
> ii  xz-utils5.2.5-2
> pn  zstd
>
> -- no debconf information
>


Re: partman, growlight, discoverable partitions, and fun

2021-09-28 Thread John Paul Adrian Glaubitz
On 9/28/21 12:13, Wouter Verhelst wrote:
> IOW, chill out, nobody's going to kill off partman unless there's
> something that's *actually* better than partman.

Just some comments after reading after this [1] because I honestly find it
unfair the way I am being cornered here.

First of all, neither Fedora or openSUSE seem to use glowlight as their
primary partitioning tool nor are they using discoverable partitions.

Secondly, discoverable partitions are primarily intended for containers
and systemd is using mkosi [2] for generating such images with discoverable
partitions.

Thirdly, Luca Boccassi considers himself to be systemd upstream [3] without
disclosing that information here. This is an information that he should
at least have disclosed before starting to voice his support for discoverable
partitions and insisting that the feature is important enough to kill off
parted.

Thanks,
Adrian

> [1] https://lwn.net/Articles/859240/
> [2] http://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html
> [3] https://lwn.net/Articles/859769/

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: partman, growlight, discoverable partitions, and fun

2021-09-27 Thread John Paul Adrian Glaubitz



> On Sep 27, 2021, at 3:41 PM, Luca Boccassi  wrote:
> 
> On Mon, 2021-09-27 at 15:18 +0200, John Paul Adrian Glaubitz wrote:
>> 
>>>> On Sep 27, 2021, at 2:25 PM, Luca Boccassi  wrote:
>>> 
>>> Even if that interpretation would work as an excuse to never do
>>> anything, and I'm not really sure it does, this specification has been
>>> published in 2014 [0] so even by Debian standard it's old stuff.
>> 
>> That’s not what I said so. You’re trying to dismiss my opinion as completely 
>> invalid now by trying to frame it such that I am against progress. I am not.
> 
> You dismissed it because it's "new technology":
> 
>> Not for me, though. Debian has always followed the philosophy to be a 
>> universal
>> operating system, which also meant that we can't (immediately) use all the 
>> new
>> technologies and features that other distributions or upstream projects 
>> develop.

You’re reducing my argument to the word “new” which is definitely not my point. 
As you can see from the rest of my message my primary point is that Debian 
follows a different philosophy meaning that we don’t always adopt technologies 
that other distributions use.

Fedora and openSUSE are much more similar to each other than Debian is to both.

> I simply pointed out that it's a 7 years old spec that saw an entire
> LTS Debian version (8, we are now at 11) being released and EOL'ed
> since the time it was published. If this is too new to consider, then
> so are all Debian releases newer than Wheezy.

Yes, but the age was never my argument. My argument was that replacing such a 
fundamental software component like the partitioning tool in an installer is 
something that has to be justified by technical merits and by weighing pros and 
cons against each other.

The fact that’s it’s newer or has the single feature X is not sufficient in my 
opinion. Especially when there is no proof yet that getting support for 
discoverable partitions justifies the loss of features that parted has.

>>> It's
>>> older than Debian Jessie, which was EOL'd last year. If libparted can't
>>> keep up with 7 years old stuff that in the meantime was implemented in
>>> util-linux's (which is a truly universal tool) in 2014, gdisk in 2019,
>>> and so on, then to me it sounds like a tool in maintenance mode:
>>> perfectly fine and adequate for existing tools and programs, but not
>>> quite the best choice for new tools developed from scratch.
>> 
>> Whether a tool that was developed new from scratch is automatically better 
>> is not a given. The burden of proof is on the person trying to introduce the 
>> new software, not on the people maintaining the current set of software.
>> 
>> And claiming that parted is in pure maintenance mode is not true either. It 
>> has a paid developer working on the project and is receiving updates and 
>> improvements.
>> 
>> Whether growlight is better and more suitable for Debian needs to be 
>> technically proven, not just by arguing that it’s the newer project.
>> 
>> Adrian
> 
> Of course. But jumping in and saying "you should use X instead of Y",
> you can't pretend that nobody asks questions such as "ok, but does libX
> support this very much related and relevant 7 years old specification
> that other comparable tools support", no matter how awkward it is for
> libX.

I was not the one that was making this request, it was Nick. I’m perfectly fine 
with the status quo.

Again, the party introducing the new solution should provide the arguments to 
convince the maintainers of the existing solution.

For example, a convincing argument would be a demonstration installation ISO 
which let’s others interested in the project test it and check whether it 
delivers the improvements that were promised.

I don’t think that this is such an extraordinary requirement to ask for.

Also, I would be interested to know what approaches are currently used in 
Fedora, Arch, Gentoo and openSUSE (I will check that later myself when I’m back 
at the computer).

Adrian 


Re: partman, growlight, discoverable partitions, and fun

2021-09-27 Thread John Paul Adrian Glaubitz



> On Sep 27, 2021, at 2:25 PM, Luca Boccassi  wrote:
> 
> Even if that interpretation would work as an excuse to never do
> anything, and I'm not really sure it does, this specification has been
> published in 2014 [0] so even by Debian standard it's old stuff.

That’s not what I said so. You’re trying to dismiss my opinion as completely 
invalid now by trying to frame it such that I am against progress. I am not.

> It's
> older than Debian Jessie, which was EOL'd last year. If libparted can't
> keep up with 7 years old stuff that in the meantime was implemented in
> util-linux's (which is a truly universal tool) in 2014, gdisk in 2019,
> and so on, then to me it sounds like a tool in maintenance mode:
> perfectly fine and adequate for existing tools and programs, but not
> quite the best choice for new tools developed from scratch.

Whether a tool that was developed new from scratch is automatically better is 
not a given. The burden of proof is on the person trying to introduce the new 
software, not on the people maintaining the current set of software.

And claiming that parted is in pure maintenance mode is not true either. It has 
a paid developer working on the project and is receiving updates and 
improvements.

Whether growlight is better and more suitable for Debian needs to be 
technically proven, not just by arguing that it’s the newer project.

Adrian


Re: partman, growlight, discoverable partitions, and fun

2021-09-27 Thread John Paul Adrian Glaubitz
Hello!

On 9/27/21 12:46, Luca Boccassi wrote:
>> Also, since parted is maintained by RedHat, I would expect that this feature
>> would land in parted soon as well.
>>
> If the question is "why does X not use libparted", "does not support
> discoverable parts spec" is a good enough answer for me.

Not for me, though. Debian has always followed the philosophy to be a universal
operating system, which also meant that we can't (immediately) use all the new
technologies and features that other distributions or upstream projects develop.

For example, we don't use systemd-homed or systemd-firstboot either. That 
doesn't
mean Debian is per se worse off. It just means Debian tries to cater different 
use
cases and follows different concepts.

It's different for distributions like Fedora or openSUSE which focus on a very
limited set of targets and use cases. That's why they can quickly adopt to all
the new features and technologies that upstream projects like systemd develop.

I'm not saying that one philosophy is better than the other. I'm just saying 
that
Debian is not like these other distributions.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: partman, growlight, discoverable partitions, and fun

2021-09-27 Thread John Paul Adrian Glaubitz
Hello Nick!

On 9/26/21 16:29, Nick Black wrote:
> I'd be delighted to support them -- as in, I am honestly eager
> to add ATARI support; that sounds awesome -- I just need some
> way to test the implementations, either via someone running it
> on the environment, or getting access to such a machine.

There are emulators available for Atari such as Aranym. And emulators
available for Amiga such as fs-uae. FWIW, parted should contain everything
needed to be able to implement your own support for these partition tables.

>> I think it makes little sense to not use libparted as it already supports
>> all common and less common partition types and reimplementing everything
>> that libparted makes little sense to me.
> 
> parted did not have ZFS support when I embarked on this project
> (it appears to have it now). i would not be opposed to
> leveraging libparted if it presents a definite advantage;
> supporting more partition types, so long as it exposes an API i
> can easily work with, would be such an advantage.

Well, using a missing feature in the past against parted that is present
there is not such a good argument against using it, to be honest.

> i do note that libparted2 is 621K in the archive, whereas
> growlight itself is only 555K. it is of course possible that
> all that weight is desirable functionality.

I think 70k more disk space is not really a concern.

> with that said, i would *still want to test on the target
> environment*, to make sure i'm using libparted correctly there.
> so that necessity remains.

I thought you didn't depend on libparted?

> would this allay your concerns?

No, not really. I consider a partitioning tool to be too important
to be replaced by an unproven solution.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: partman, growlight, discoverable partitions, and fun

2021-09-26 Thread John Paul Adrian Glaubitz
Hello!

On 9/26/21 12:40, Luca Boccassi wrote:
> Does libparted support the discoverable partitions spec?

I'm not sure, this thread is the first time I have heard about discoverable
partitions. I have read up first what the motivations for these are and
how useful they would be for Debian.

Also, since parted is maintained by RedHat, I would expect that this feature
would land in parted soon as well.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: partman, growlight, discoverable partitions, and fun

2021-09-26 Thread John Paul Adrian Glaubitz
Hello Nick!

On 9/26/21 00:49, Nick Black wrote:
> It supports MBR, GPT, and APM:
> 
> https://github.com/dankamongmen/growlight/blob/master/src/ptable.c#L51-L123
> 
> (sorry for the gmail-style top posting; i can't find your mail in my mbox
> for whatever reason)
> 
> Any other partition schemes ought be trivial to add; they've not been added
> yet
> simply because I don't have means with which to test them.

So, you are not using libparted then?

> Looking at the "partition types" section of the Linux configuration, I see:
>  Acorn, AIX, Alpha, Amiga, Atari, Macintosh, MSDOS, BSD, Minix, Solaris
> x86, Unixware,
>  Windows LDM, SGI, Ultrix, Sun, Karma, EFI/GPT, and SYSV68.
> 
> Looking at the disk-label code from partman, I see:
>  gpt, msdos, amiga, atari, mac, sun
> 
> So the only ones covered by partman and not covered by growlight would be:
> amiga, atari, sun,
> and mac (if mac is not the same as APM). I don't see any difficulty in
> adding these four, so long
> as there's someone with an Amiga or ATARI who'd be willing to test them
> out. If there are no such
> people, is it that important?

Yes, it is important as we're supporting these architectures in Debian Ports
and I invested quite some time to get Atari partition support added [1],
for example.

I think it makes little sense to not use libparted as it already supports
all common and less common partition types and reimplementing everything
that libparted makes little sense to me.

Adrian

> [1] 
> https://git.savannah.gnu.org/cgit/parted.git/commit/?id=9c266205416ec956d6205c828211480de3767d02

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: partman, growlight, discoverable partitions, and fun

2021-09-23 Thread John Paul Adrian Glaubitz
Hello!

On 9/23/21 22:57, nick black wrote:
> I am just finishing up the implementation of Discoverable GPT
> Partitions [0] in my growlight tool, and it seems a good time to
> see if I can push this discussion [1] forward.

Does it support partition tables other than GPT, in particular all
of the partition tables that parted supports?

If not, I don't think it would be a viable replacement for partman.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Submitting patches for debian-installer

2021-09-23 Thread John Paul Adrian Glaubitz
Hello Pascal!

On 9/23/21 19:44, Pascal Hambourg wrote:
> I would be glad to submit a few small patches for debian-installer,
> mostly for partman components. What is the preferred way ? Should I
> file bug reports against each package ?

Best is to create pull requests on Debian Salsa against the corresponding
d-i sub-modules:

> https://salsa.debian.org/installer-team/

> Also, are there any requirements for non-Linux architecture support (Hurd, 
> kFreeBSD) ?

You should try not to break them. If in doubt, ask for review on this list.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Should /boot be ext2, instead of ext4?

2021-09-04 Thread John Paul Adrian Glaubitz
On 9/4/21 22:32, Hideki Yamane wrote:
> On Tue, 10 Aug 2021 19:33:37 +0200
> Ben Hutchings  wrote:
>> This is bug #985463.
> 
>  If we can confirm no architecture has a limit to use ext2 now,
>  then we can change it to ext4, right?

We should make a list with the bootloaders in use. Many architectures use
GRUB but some architectures use boot loaders that use blocklists so they
still may work with ext4.

Architectures that use GRUB are:

- amd64
- arm64
- i386
- ia64
- powerpc
- ppc64
- ppc64el
- riscv64 (not sure if supported on all boards)
- sparc64
- s390x (loaded from zIPL)
- x32

Other bootloaders are:

- armel - u-boot
- armhf - u-boot
- alpha - aboot
- hppa - palo
- m68k - amiboot, atariboot, emile
- mipsel - u-boot
- mips64el - u-boot
- riscv64 - u-boot
- sh4 - u-boot

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Closing bugreports related to missing/not installed firmware

2021-08-29 Thread John Paul Adrian Glaubitz
Hello!

On 8/29/21 21:09, Holger Wansing wrote:
> since we have some kind of a next-generation installer, when it comes to
> installation of (non-free) firmware, I'm closing all related old bugreports.

What are you referring to? Are you talking about Calamares?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: [bullseye rc3] Download of rc3 images do not complete / fail

2021-08-11 Thread John Paul Adrian Glaubitz
Hello Holger!

On 8/11/21 10:00 PM, Holger Wansing wrote:
> just for your attention:
> I tried to download the bullseye rc3-amd64 DVD1 image from 
> https://cdimage.debian.org/cdimage/bullseye_di_rc3/amd64/iso-dvd/
> where the link redirects me to
> https://chuangtzu.ftp.acc.umu.se/cdimage/bullseye_di_rc3/amd64/iso-dvd/debian-bullseye-DI-rc3-amd64-DVD-1.iso
> (...)
> They all do not start to download at all!
> 
> So, there's issues with more than one mirror ... at least at the moment.

I just gave it a try and all downloads worked for me without any issues 
(downloaded from DFN).

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Should /boot be ext2, instead of ext4?

2021-08-07 Thread John Paul Adrian Glaubitz
Hi Hideki!

> On Aug 7, 2021, at 4:12 PM, Hideki Yamane  wrote:
> 
> I've found that d-i creates /boot as ext2 for guided partioning
> with LVM. I think ext4 is better but is there any reason to do so?
> (e.g. some architecture or bootloader cannot recognize ext4 for it)

It’s normally a bootloader compatibility issue but since we switched many 
architectures over to GRUB where possible, it might no longer be necessary to 
use ext2 for /boot.

I will have to go through the list of bootloaders currently in use and I’ll let 
you know.

I’m currently not at home, so I can’t to that right now. But I can do that 
tomorrow evening.

Adrian


Bug#991417: simple-cdd generated iso: No kernel modules were found

2021-07-23 Thread John Paul Adrian Glaubitz
Hi Mike!

On 7/23/21 3:23 AM, Mike Depot wrote:
> Machine: qemu kvm, on top of bullseye amd64
> Processor: QEMU Virtual CPU version 2.5+ (over i7-6920HQ physical)
> Memory: 4G in QEMU (64G physical)
> 
> I've been using simple-cdd running on my bullseye host to generate a custom 
> iso (also bullseye). 
> My simple-cdd config had been working fine until a couple days ago.  Now I am 
> getting an error
> early in debian-installer when I boot from the generated ISO:
> 
> "No kernel modules were found. This probably is due to a mismatch between the 
> kernel used by this
> version of the installer and the kernel version available in the archive."

This happens when the kernel ABI version that debian-installer booted into does 
not match the kernel
ABI version of the debian-installer module udebs on the installation medium.

I assume that simple-cdd is just re-using the d-i images which contain a 
certain kernel version while
retrieving the d-i module udebs from the archives which then can lead to the 
version mismatch in
case the kernel is updated in the archives.

Thus, the bug lies in simple-cdd which should pick the d-i images and the d-i 
module udebs from Debian
testing or stable where such a mismatch cannot occur. Alternatively, it could 
also rebuild debian-installer
itself to make sure the d-i images use the kernel ABI version that matches the 
one of the d-i module
udebs.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#933523: Possible solution

2021-07-21 Thread John Paul Adrian Glaubitz
Hi Sebastian!

On 7/21/21 2:55 PM, Sebastian Neuser wrote:
> On Wed, 2021-07-21 at 12:51 +0200, John Paul Adrian Glaubitz wrote:
>> Are you seeing any log messages indicating that mountvirtfs() failed
>> during the installation of the grub-installer udeb?
> 
> So *that*'s what the postinst file is for! ;-)

Yes. It gets executed when the udeb is installed inside the running d-i
system.

> No, I see no messages indicating any errors. I just double-checked by
> monitoring `tail -f /var/log/syslog | grep efivars` during installation.
> I did see a debug message I added right before the call to mountvirtfs
> but no error message.
> Also, if I understand correctly, in case of an error the script would
> `exit 1` and the installation process would stop.

That's probably because of the "|| true" that Steve added to the mount call
which means that this line will always succeed even when the mount attempt
actually failed.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#933523: Possible solution

2021-07-21 Thread John Paul Adrian Glaubitz
Hello!

On 7/21/21 12:33 PM, Sebastian Neuser wrote:
> I ran into what seems to be the same problem as well and I think I may
> have found a solution. Interestingly, the problem occurs only on one in
> six/seven (identical, at least in theory) devices.
> 
> I stumbled upon 
> https://salsa.debian.org/installer-team/grub-installer/-/commit/5eada0008eede06c97d55adca1a9eb1eb9447aee
> and noticed that the actual script which is called by debian-installer
> was not touched, so I came up with the following patch:

That's more like a workaround than a proper fix. The question is why doesn't the
postinst succeed in mounting efivarfs all the time.

Are you seeing any log messages indicating that mountvirtfs() failed during
the installation of the grub-installer udeb?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: moving graphical installer to GTK 3

2021-05-20 Thread John Paul Adrian Glaubitz
On 5/20/21 12:54 AM, Steve McIntyre wrote:
> Even if was decided to recommend that new users use live media for
> installations, the flexibility of d-i is massively powerful, and we
> shouldn't give up on it. The ability to support everything from a
> serial terminal up to a graphical installer on the same media is
> lovely.

Yes, debian-installer is a fantastic piece of software and the right installer
for a distribution that can be installed on everything, from a toaster to an
IBM zSeries mainframe. And it's fun hacking the codebase.

We can still use Calamares for the live-medium to suit non-expert users.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: moving graphical installer to GTK 3

2021-05-20 Thread john doe

On 5/20/2021 12:54 AM, Steve McIntyre wrote:

On Tue, May 18, 2021 at 01:27:56AM +0200, Cyril Brulebois wrote:

Simon McVittie  (2021-05-17):



Even if was decided to recommend that new users use live media for
installations, the flexibility of d-i is massively powerful, and we
shouldn't give up on it. The ability to support everything from a
serial terminal up to a graphical installer on the same media is
lovely.



I concur.

--
John Doe



Bug#961056: Bug#926539: Bug#987441: s390x installation bugs

2021-05-03 Thread John Paul Adrian Glaubitz
Hi!

On 5/3/21 12:21 PM, Valentin Vidic wrote:
>>> I'd suggest at least retitling the bug report to mention s390x (release
>>> arch, affected) instead of sparc64 (port arch, no longer affected), to
>>> lower the chances people could overlook this issue, thinking it's only
>>> about a port arch.
>>
>> We could also unmerge #926539 and #961056 again, then close the former bug
>> which was sparc64-specific.
> 
> I have unmerged the bugs now, so the sparc one can be closed.

Alright, done.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#926539: Bug#987441: s390x installation bugs

2021-05-03 Thread John Paul Adrian Glaubitz
Hi!

On 5/3/21 8:36 AM, Cyril Brulebois wrote:
> From skimming through the bug log, it seems it was initially a sparc64
> problem, that was fixed in the kernel (inconsistent naming) eventually.

Correct.

> The same issue exists on s390x but isn't apparently going to get fixed
> so we need to have d-i be smarter (hence the merge request)?

Seems so.

> I'd suggest at least retitling the bug report to mention s390x (release
> arch, affected) instead of sparc64 (port arch, no longer affected), to
> lower the chances people could overlook this issue, thinking it's only
> about a port arch.

We could also unmerge #926539 and #961056 again, then close the former bug
which was sparc64-specific.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Including partman-hfs to the team's git project

2021-04-19 Thread John Paul Adrian Glaubitz
On 4/19/21 12:52 PM, Holger Wansing wrote:
> Cyril Brulebois  wrote (Thu, 15 Apr 2021 18:35:32 +0200):
>> I don't think having an extra repository would be an issue.
>>
>> Some care might be required to make sure we don't burden translators
>> with a somewhat special component, but AFAIR that shouldn't happen until
>> the package is (possibly) added to the list of packages that require
>> translations. Holger would likely know better.
> 
> We have ../packages/po/packages_list for this.
> As long as we don't include the new package there, translators don't it.
> 
> So no objections from that side.

OK, good. The still needs some refinements but I guess I will add it to git
by the end of the week and submit it to unstable.

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Including partman-hfs to the team's git project

2021-04-15 Thread John Paul Adrian Glaubitz
Hi!

I created a partman-hfs package that is required for the installation of
PowerMacs but will also allow to create HFS and HFS+ partitions on any
machines. It might be useful on Intel Macs as well for creating shared
partitions for dual-boot Macs.

While including the necessary hfsprogs-udeb in debian-installer is a bit
tricky due to the non-free license of src:hfsprogs, I was wondering whether
it would be okay nevertheless to include the git repository for partman-hfs
packaging in the debian-installer's team project?

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Speed up installation: activate eatmydata-udeb by default and include eatmydata package in /pool

2021-04-07 Thread john doe

Please send through the list, so other can react to your answer/feedback.

On 4/7/2021 11:32 AM, Philip Hands wrote:

john doe  writes:


This move should be documented somewhere and maybe emit a warning to
that effect before starting the installer:

"Incase of failure during the installation, it is recommended to restart
from scratch."

Could d-i verify that the installation was successfull and tell it to
the user?


That warning is valid (although perhaps redundant) whether using
eatmydata or not.

Trying to continue a partial install that was interrupted by a power
failure is either an amusing experiment (I suspect I've done it at some
point on that basis) or either foolhardy or pointless depending on where
the failure happened (well, unless the install was actually done).

I guess the "Instalation Complete" step of the installer could include
running a sync before announcing itself, but beyond that if you think
additional testing is required simply because something called
"eatmydata" was in use at some point, then you've not understood what it
does.

Cheers, Phil.

P.S. I am fully in favour of this change, and hope to have some time to
help with the effort shortly.




--
John Doe



Re: Speed up installation: activate eatmydata-udeb by default and include eatmydata package in /pool

2021-04-07 Thread john doe

On 4/6/2021 11:46 PM, Lennart Sorensen wrote:

On Tue, Apr 06, 2021 at 05:35:19PM -0400, Cmdte Alpha Tigre Z wrote:

Pardon my ignorance.
I could not resist to answer to this proposal.

I read this page: https://www.flamingspork.com/projects/libeatmydata/

It looks like it is not good idea to use it for critical information.

However, your results show that it would be relevant to include
such package into the first ISO, if it is not so big, of course.
It sounds like a good idea to speed up the instalation process
for some cases.

But, I would not enable it by default.  If the package really
behaves as its name suggests,
I would not risk every user
of Debian to have a faulty installation.  What would happen
if someone wants to install Debian an suddenly, the installer
eats some data it shouldn't have.

Even if it does not access wrong places, in the worst case
you could have installed an ill OS and don't notice
it will someday fail, and not gracefully.

My humble opinion is that it should be available to use,
but not enabled by default.


The only time eatmydata does any harm is if the system looses power or
resets during the install since the data isn't constantly flushed to disk
to maintain a consistent state.  During an install, there is nothing of
value on the system yet, so doing everything as quickly as possible and
then when everything is done, then you issue a sync command to ensure
everything is flushed to disk saves a ton of time with no risk at all
(in fact since the install takes less time, the changes of a power
interruption happening during the install is lowered).



This move should be documented somewhere and maybe emit a warning to
that effect before starting the installer:

"Incase of failure during the installation, it is recommended to restart
from scratch."


Could d-i verify that the installation was successfull and tell it to
the user?

--
John Doe



Bug#986009: installation-reports: document qemu workarounds and bug in newer d-i image

2021-03-27 Thread John Paul Adrian Glaubitz
Hi Thorsten!

On 3/27/21 8:32 PM, Thorsten Glaser wrote:
> - 
> https://cdimage.debian.org/cdimage/ports/debian-installer/2021-01-03/alpha/debian-installer-images_20201202+nmu1_alpha.tar.gz
>   is insufficient, it lacks the ISO which contains nic-modules

The debian-installer tarballs are completely untested. We have ISO images
in the snapshots folder which you should use.

If the nic-modules package is missing, it needs to be added to the pkg-list
for d-i for netboot.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Unlock system through Tor on boot

2021-03-15 Thread john doe

On 3/15/2021 12:31 AM, Amuza en Hackea wrote:

Hello!

I have been asking around about this topic but I have not managed to
have my problem solved (partly because of my limited knowledge). I
subscribed to this mailing list to see if I could get some help here.
Apologies if this is not the right place for this kind of questions.

With software like dropbear-initramfs and cryptsetup-initrafs I can
remotely unlock a Debian system that is trying to boot but has its root
partition encrypted with LUKS. That is possible because there is an SSH
server (Dropbear) running on the unencrypted boot partition, so I can
SSH it to enter the passphrase which unencrypts the root partition so
that the system completely boots up.

In order to do so, since I do not have a static public IP address, I
have to configure a Dynamic DNS service and redirect ports.

What I would like to have now is an onion service running in the boot
partition too. That way I could remotely unlock the root partition
without caring about NAT, ports or DNS, and would get a more private
connection too.

How could I install tor in the boot partition?



I guess, you would need to install it from source specifying required
directories relative to the boot partition.
You will also need to take the dependencies into consideration.

--
John Doe



Re: Use isenkram to get around the firmware problem?

2021-03-07 Thread John Paul Adrian Glaubitz
On 3/7/21 5:02 PM, Holger Wansing wrote:
> I fear, all the above is out of my skills.
> 
> And for the (graphics) firmware problem, isenkram is of no help as it seems, 
> at least for Bullseye.

The issue is not a technical one, it's a license issue. We can't really ship or
install non-free firmware graphics with a free installer at the moment. If we 
just
add such a mechanism to debian-installer, we are overriding the strict 
separation
of free and non-free installer images that Debian has stuck to for years and I 
don'
think this is something that should be done without careful consideration.

Looking at the discussion on debian-devel, there are DDs that value this strict
separation and there are also certainly many users that expect a 100% 
DFSG-compliant
Debian release to be available.

So, I think for such a change to be officially backed by the project, there 
should
be a change in Debian Policy first which should be the result of an open 
discussion.

As a compromise, I think it would already be a step forward if the non-free 
images
were more visible on the Debian homepage so that users don't have to search for 
them
on the interwebs.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#983835: base-installer: hostname= is ignored if reverse-dns exists

2021-03-02 Thread john doe

On 3/2/2021 6:15 PM, Phil Dibowitz wrote:

On 3/2/21 1:58 AM, Holger Wansing wrote:

Am 2. März 2021 09:52:06 MEZ schrieb Cyril Brulebois :

The preseed doc[2] suggests the former is behind the (bare) hostname
alias. Try setting the latter?


Yes, the installation-guide under
https://www.debian.org/releases/bullseye/amd64/apbs04.en.html
even explicitly states this, indeed:

# If you want to force a hostname, regardless of what either the DHCP
# server returns or what the reverse DNS entry for the IP is,
uncomment # and adjust the following line. #d-i netcfg/hostname string
somehost


Thanks for pointing that out! Don't know how I missed that.

However, that requires a per-host preseed, where as with kernel command
line I can have the same preseed for all my hosts (or at least all hosts
in a certain category) and simply just pass in a hostname in the
tftpseed (which has to be host specific anyway and for me is already
generated by my provisioning system).

So perhaps it would be useful to have a like netcfg/hostname_priority
flag where one can choose a priority order?



+1

--
John Doe



  1   2   3   4   5   6   7   8   9   10   >