Results 1 to 3 of 3
  1. #1
    Untanglit
    Join Date
    Jul 2009
    Location
    Itajubá-MG-Brazil
    Posts
    26

    Default Make persistent changes to /etc/sysctl.conf and /etc/security/limits.conf

    Hello friends, how are you?

    I'd like to persist some changes in /etc/sysctl.conf and /etc/security/limits.conf.

    But after reboot, untangle don't apply the changed settings. Also, untangle change these parameters after some time with some cronjob or another setup, discarding my changes.

    How do I persist them?

  2. #2
    ljr
    ljr is offline
    Newbie ljr's Avatar
    Join Date
    Dec 2018
    Posts
    4

    Default

    Add .conf files with your desired directives in /etc/sysctl.d directory. They will be parsed by sysctl on boot time.

    Code:
    root@eccentric /e/sysctl.d# cat README.sysctl
    
    Kernel system variables configuration files
    
    Files found under the /etc/sysctl.d directory that end with .conf are
    parsed within sysctl(8) at boot time.  If you want to set kernel variables
    you can either edit /etc/sysctl.conf or make a new file.
    
    The filename isn't important, but don't make it a package name as it may clash
    with something the package builder needs later. It must end with .conf though.
    
    My personal preference would be for local system settings to go into
    /etc/sysctl.d/local.conf but as long as you follow the rules for the names
    of the file, anything will work. See sysctl.conf(8) man page for details
    of the format.

  3. #3
    Untanglit
    Join Date
    Jul 2009
    Location
    Itajubá-MG-Brazil
    Posts
    26

    Default

    Quote Originally Posted by ljr View Post
    Add .conf files with your desired directives in /etc/sysctl.d directory. They will be parsed by sysctl on boot time.

    Code:
    root@eccentric /e/sysctl.d# cat README.sysctl
    
    Kernel system variables configuration files
    
    Files found under the /etc/sysctl.d directory that end with .conf are
    parsed within sysctl(8) at boot time.  If you want to set kernel variables
    you can either edit /etc/sysctl.conf or make a new file.
    
    The filename isn't important, but don't make it a package name as it may clash
    with something the package builder needs later. It must end with .conf though.
    
    My personal preference would be for local system settings to go into
    /etc/sysctl.d/local.conf but as long as you follow the rules for the names
    of the file, anything will work. See sysctl.conf(8) man page for details
    of the format.
    Didn't work. Untangle-vm init scripts setup the kernel parameters.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2