Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB

2023-01-24 Thread Helmut Grohne
Hi Helge, On Tue, Jan 24, 2023 at 10:30:37PM +0100, Helge Deller wrote: > On 1/24/23 06:27, Helmut Grohne wrote: > > On Mon, Jan 23, 2023 at 10:48:27PM +0100, Helge Deller wrote: > > > --- ./init.org2023-01-23 21:40:33.079738389 + > > > +++ ./init2023-01-23 21:40:45.983861851

Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB

2023-01-24 Thread Helge Deller
Hi Helmut, On 1/24/23 06:27, Helmut Grohne wrote: On Mon, Jan 23, 2023 at 10:48:27PM +0100, Helge Deller wrote: --- ./init.org 2023-01-23 21:40:33.079738389 + +++ ./init 2023-01-23 21:40:45.983861851 + @@ -205,6 +205,15 @@ else resume=${RESUME:-} fi +if [ -z

Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB

2023-01-24 Thread Helmut Grohne
Hi Helge, On Mon, Jan 23, 2023 at 10:48:27PM +0100, Helge Deller wrote: > --- ./init.org2023-01-23 21:40:33.079738389 + > +++ ./init2023-01-23 21:40:45.983861851 + > @@ -205,6 +205,15 @@ else > resume=${RESUME:-} > fi > > +if [ -z "${RUNSIZE}" ] || [[ "${RUNSIZE}" \<

Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB

2023-01-23 Thread Helge Deller
The attached patch ensures that the /run mount point is always mounted with at least 20MB. This is important since systemd requires at least 16MB in /run, otherwise it will give errors and warnings and will refuse to boot further after an emergency shell. This patch has been tested on x86 (with

Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB

2023-01-04 Thread Helge Deller
Hi Helmut, On 1/4/23 14:26, Helmut Grohne wrote: On Wed, Jan 04, 2023 at 02:08:00PM +0100, Helge Deller wrote: My suggestion: Please check that the /run mountpoint is mounted with at least 20MB, independend of the installed RAM memory in the machine... Your suggestion makes sense in

Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB

2023-01-04 Thread Helmut Grohne
Control: reassign -1 initramfs-tools-core Hi Helge, On Wed, Jan 04, 2023 at 02:08:00PM +0100, Helge Deller wrote: > My suggestion: > Please check that the /run mountpoint is mounted with at least 20MB, > independend > of the installed RAM memory in the machine... Your suggestion makes sense in

Bug#1027915: systemd requires /run to be mounted with a minimum size of 20MB

2023-01-04 Thread Helge Deller
Package: systemd Version: 252.4-1 Severity: important Systemd mounts the /run tmpfs filesystem at bootup with a given/calculated size (I assume ~ 10% of free memory?). The problem is, that this size needs to be at least 16MB (probaly better 20MB), because otherwise systemd refuses to reload