Bug#935973: debian-installer: cryptsetup-initramfs will not be installed even when using full-disk encryption.

2019-09-27 Thread Thomas Maaß
Package: debian-installer
Followup-For: Bug #935973

Hi!
I can confirm this issue. cryptsetup-initramfs is not installed neither by the
Buster, not by the Bullseye installer.
When full-disc-encryption was set up, I have to boot in rescue mode and install
the package.

Regards
Thomas



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE:de 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#935931: Re: Bug#935931: debian-installer: Reinstalling Debian on a current Debian installation without erasing or fomatting the home folder

2019-09-27 Thread Daniel

Dear All,

In this case I suggest hence to expand the use cases and to evaluate the 
feature to reinstall Debian on top of itself without overwriting the 
home partition. While it doesn't seem a complicated achievement, it 
brings instead a great advantage for the end user and improves greatly 
the desktop experience, for new users as well for the power users.


My regards,

Daniel



Bug#935931: Re: Bug#935931: debian-installer: Reinstalling Debian on a current Debian installation without erasing or fomatting the home folder

2019-09-27 Thread Geert Stappers
On Fri, Sep 27, 2019 at 05:19:06PM -0400, Daniel wrote:
> Holger Wansing wrote:
> > The debian-installer supports similar use case via the "separate
> > partition for /home" approach.
> to reinstall Debian on top of itself without overwriting the home partition.

Yes, that is what Holger is telling.


Groeten
Geert Stappers
-- 
Leven en laten leven



Bug#935931: Re: Bug#935931: debian-installer: Reinstalling Debian on a current Debian installation without erasing or fomatting the home folder

2019-09-27 Thread Nicholas D Steeves
Geert Stappers  writes:

> On Fri, Sep 27, 2019 at 05:19:06PM -0400, Daniel wrote:
>> Holger Wansing wrote:
>> > The debian-installer supports similar use case via the "separate
>> > partition for /home" approach.
>> to reinstall Debian on top of itself without overwriting the home partition.
>
> Yes, that is what Holger is telling.

I think Daniel is requesting an option that does something like this:

  find /install-target -maxdepth 1 | grep -v 'home\|lost+found' | xargs rm -rf

Maybe this way isn't robust enough, but active mounts shouldn't have
their mount points removed, because

  rm: cannot remove '/install-target/foo': Device or resource busy

BTW, Daniel, you can decruft your system with "apt purge --autoremove
foo", which also deletes config in /etc and will notify you if any files
remain in /var.  One of the greatest strengths of Debian is that unlike
other operating systems, smooth upgrades between stable versions are
taken seriously...gravely seriously...so one never needs to reinstall.
The only things that I've seen that have ever required action are
packages that needed manual configuration updates in /etc (equally
solvable by apt purge), and obsolete/broken configuration in /home/user
(not solved if this feature request is implemented).  What problem is
this feature request intended to solve?  FrankenDebian?

  https://wiki.debian.org/DontBreakDebian


Cheers,
Nicholas

P.S. apt install installation-birthday  :-)


signature.asc
Description: PGP signature


Bug#935931: Re: Bug#935931: debian-installer: Reinstalling Debian on a current Debian installation without erasing or fomatting the home folder

2019-09-27 Thread Daniel
I am addressing another case, the one you have not separated partitions 
for /, /home and swap.


As a matter of fact if the installer is able to recognize the home 
folder having  /home separated in another partition is not necessary 
anymore. The advantage respect having the /home separated, specifically 
for a desktop use are noteworthy.


If the installer, instead of creating /, /home and swap, creates just / 
and a swap file and if is able to reinstall itself without overwriting 
the home folder I think is a huge improvement. As a matter of fact if 
you reinstall Debian, even with /home in another partition, there is not 
any assisted aid that explain you how to properly setup the /home 
partition. Having the system partitioned is already a setup for advanced 
user.


Thanks,

D.

On 9/27/19 6:45 PM, Geert Stappers wrote:

On Fri, Sep 27, 2019 at 05:19:06PM -0400, Daniel wrote:

Holger Wansing wrote:

The debian-installer supports similar use case via the "separate
partition for /home" approach.

to reinstall Debian on top of itself without overwriting the home partition.

Yes, that is what Holger is telling.


Groeten
Geert Stappers