Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #84353
| Path | csiph.com!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Craig Small <csmall@debian.org> |
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1085160: linux-sysctl-defaults: apply setting after installation |
| Date | Thu, 24 Oct 2024 12:30:02 +0200 |
| Message-ID | <JB3gm-3SMN-3@gated-at.bofh.it> (permalink) |
| References | <JxSAN-1Pjy-3@gated-at.bofh.it> <JATAl-3MZc-1@gated-at.bofh.it> <JxSAN-1Pjy-3@gated-at.bofh.it> <JATAl-3MZc-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-bugs-dist-request@lists.debian.org Thu Oct 24 10:21:10 2024 |
| Old-Return-Path | <debbugs@buxtehude.debian.org> |
| X-Spam-Flag | NO |
| X-Spam-Score | 0.201 |
| Reply-To | Craig Small <csmall@debian.org>, 1085160@bugs.debian.org |
| Resent-To | debian-bugs-dist@lists.debian.org |
| Resent-Cc | Debian Kernel Team <debian-kernel@lists.debian.org> |
| X-Debian-Pr-Message | followup 1085160 |
| X-Debian-Pr-Package | linux-sysctl-defaults |
| X-Debian-Pr-Keywords | moreinfo |
| X-Debian-Pr-Source | linux-base |
| X-Forwarded-Encrypted | i=1; AJvYcCXLWWAQYIUpMUdVShZdnnTISKFknWk5WpJ9R3QdSRW0R8UTxXCyA5852CIv6f7Gge0qh0biTOia@bugs.debian.org |
| X-Gm-Message-State | AOJu0YzBkfDwxgX/etO3cE4K+ywHTMKlJsOCDeGeqe6bPvyqwZNipRQv YO4y3POLyv2qEMYg0yqE3Gq8GvgG42DMWvTYFwQ7oxYXO8Hq+27Gvh6Zcjz/aBQEnAmC2xOdylm u5KykK6hVWYC08puX4eJgtC85m8sDkuGe5jGdxg== |
| X-Google-SMTP-Source | AGHT+IFwPcGwu5cxgxLPdwZd0ElL8AQLN6iGPxQnjPf0GdJCS64AiZfGY0rMjbg8KSMmm+zv7ff92ExIKMwUxH4GNBo= |
| X-Received | by 2002:a05:6000:178e:b0:37d:4937:c9eb with SMTP id ffacd0b85a97d-37efcf05ef0mr4473288f8f.21.1729764580657; Thu, 24 Oct 2024 03:09:40 -0700 (PDT) |
| MIME-Version | 1.0 |
| X-Gmail-Original-Message-ID | <CALy8Cw5uE_9DFbZ6cHbuyCyxF9H5-krFVJn+mU7YP50LJjbP-A@mail.gmail.com> |
| Content-Type | multipart/alternative; boundary="000000000000606d6e0625363324" |
| X-Greylist | delayed 399 seconds by postgrey-1.36 at buxtehude; Thu, 24 Oct 2024 10:16:24 UTC |
| X-Debian-Message | from BTS |
| X-Mailing-List | <debian-bugs-dist@lists.debian.org> archive/latest/1864823 |
| List-ID | <debian-bugs-dist.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-bugs-dist/> |
| Approved | robomod@news.nic.it |
| Lines | 97 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | sergio <sergio+it@outerface.net>, Noah Meyerhans <noahm@debian.org>, Luca Boccassi <bluca@debian.org>, 1085160@bugs.debian.org |
| X-Original-Date | Thu, 24 Oct 2024 21:09:29 +1100 |
| X-Original-Message-ID | <CALy8Cw5uE_9DFbZ6cHbuyCyxF9H5-krFVJn+mU7YP50LJjbP-A@mail.gmail.com> |
| X-Original-References | <172900829166.477313.2849675468658549487.reportbug@disaster> <f8d0c13e2bbb067492e194678f05d87dfe15b560.camel@decadent.org.uk> <172900829166.477313.2849675468658549487.reportbug@disaster> <f8d0c13e2bbb067492e194678f05d87dfe15b560.camel@decadent.org.uk> |
| Xref | csiph.com linux.debian.bugs.dist:1217751 linux.debian.kernel:84353 |
Cross-posted to 2 groups.
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Thu, 24 Oct 2024 at 11:25, Ben Hutchings <ben@decadent.org.uk> wrote: > > 1. As discussed in the GitLab MR, systemd implements a file trigger on > sysctl configuration files. I'm not seeing that. There are three triggers in systemd 256.6-1 but not for sysctl files. Wouldn't it be in https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/systemd.triggers?ref_type=heads 2. Either: > (a) procps implements a similar trigger, but makes it a no-op when > systemd is pid 1. > (b) linux-sysctl-defaults postinst does: > - if systemd is pid 1, nothing; > - otherwise, if sysctl is installed, "sysctl --system"; > - otherwise, nothing. > I agree that directly calling the specific file is a bad idea. A user may have overrides in other files which may not be caught up if you specify a file directly. So there are a few things here: * A fix for linux-sysctl-defaults conf files * Generically something for any package If we're trying to do the first, then having something like your option b seems a good idea. The conf file and the postinst are the same package, so its simple. It is actually what #1085160 is about. Should something, procps or linux-sysctl-defaults, be watching the sysctl.d files in their various locations and triggering a sysctl if they change? Or should the individual packages do it? Should there be some small script that works out which sysctl to use? If there is 'whatever-sysctl-is-here' script, where should it live? Or would some wiki entry do it better? - Craig
Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#1085160: linux-sysctl-defaults: apply setting after installation sergio <sergio+it@outerface.net> - 2024-10-15 18:30 +0200
Processed: Re: Bug#1085160: linux-sysctl-defaults: apply setting after installation "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-10-18 23:10 +0200
Bug#1085160: linux-sysctl-defaults: apply setting after installation Noah Meyerhans <noahm@debian.org> - 2024-10-18 23:10 +0200
Bug#1085160: linux-sysctl-defaults: apply setting after installation Ben Hutchings <ben@decadent.org.uk> - 2024-10-24 02:10 +0200
Bug#1085160: linux-sysctl-defaults: apply setting after installation Craig Small <csmall@debian.org> - 2024-10-24 12:30 +0200
Bug#1085160: linux-sysctl-defaults: apply setting after installation Ben Hutchings <ben@decadent.org.uk> - 2024-10-30 20:10 +0100
Bug#1085160: linux-sysctl-defaults: apply setting after installation Craig Small <csmall@debian.org> - 2024-11-04 11:50 +0100
Processed: Re: Bug#1085160: linux-sysctl-defaults: apply setting after installation "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-10-24 02:10 +0200
Processed: Re: linux-sysctl-defaults: apply setting after installation "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-11-25 00:30 +0100
Bug#1085160: linux-sysctl-defaults: apply setting after installation Ben Hutchings <ben@decadent.org.uk> - 2024-11-25 00:30 +0100
csiph-web