Home_greyopenFATE - openSUSE feature tracking > #312343
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

get rid of /etc/sysconfig/sysctl

Feature state

openSUSE Distribution
Done

Description

/etc/sysconfig/sysctl and therefore boot.proc and boot.ipconfig should be dropped in favor of directly using /etc/sysctl.conf Distro defaults should be provided via /lib/sysctl.d./*.conf so we don't produce .rpmnew files on upgrade.

  1. write script to convert old setings in aaa_base's %post [done]
  2. write patch for sysctl to read /lib/sysctl.d/*.conf [done]
  3. adjust yast modules

Affected yast modules:

  • security (IP_TCP_SYNCOOKIES, IP_FORWARD, IPV6_FORWARD, ENABLE_SYSRQ)
  • network (IP_FORWARD, IPV6_FORWARD)
  • tune (ENABLE_SYSRQ)

Discussion


icons/user_comment.png B. F. wrote: (6 years ago)

Can we also think about it's full integration with systemd.

icons/user_comment.png B. F. wrote: (6 years ago)

Just discover that's buggy. It forget to treat the IPV6_PRIVACY status variable.
I've launch discussion on factory ml about.

And yes Yast2 are unable to understand those new location.
Didn't see here the bug report of that functionnality against Yast

icons/user_comment.png J. S. wrote: (6 years ago)

What keys/values correspond to mentioned sysconfig values that are edited by YaST?

icons/user_comment.png L. N. wrote: (6 years ago)

see /lib/aaa_base/convert_sysctl

icons/user_comment.png J. S. wrote: (6 years ago)

Added attachment convert_sysctl (convert_sysctl)

icons/user_comment.png J. S. wrote: (6 years ago)

New agent for editing /etc/sysctl.conf will be in yast2-2.21.17. SCR path is .etc.sysctl_conf

Last change: 20 months ago
Voting
Score: 7
  • Negative: 0
  • Neutral: 1
  • Positive: 7
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint