mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 21:59:09 -05:00
[GH-ISSUE #2253] The file /etc/sysctl.conf does not have any effect #6912
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dhoppe on GitHub (Jan 16, 2026).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/2253
Originally assigned to: @oschwartz10612 on GitHub.
Describe the Bug
At least Debian 12/13 and Ubuntu 22.04/24.04 depend on systemd-sysctl.service. For that reason the file /etc/sysctl.conf does not have any effect and instead the file should be placed at /etc/sysctl.d/99-podman.conf.
https://github.com/fosrl/pangolin/blob/main/install/main.go#L289-L312
Environment
To Reproduce
I told the Pangolin installer that I want to use rootless Podman and the string
net.ipv4.ip_unprivileged_port_start=80has been placed within /etc/sysctl.conf, but according to the commandsudo cat /proc/sys/net/ipv4/ip_unprivileged_port_startthe value is still set to1024.Expected Behavior
The file should be placed at a different location and the value should be set to 80 instead of 1024.