Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-84454

Updating the package elfutils-default-yama-scope re-writing the file /usr/lib/sysctl.d/10-default-yama-scope.conf

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • rhel-8.9.0, rhel-8.10, rhel-9.4
    • elfutils
    • None
    • None
    • Moderate
    • rhel-pt-perf-tools
    • ssg_platform_tools
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Updated the package elfutils-default-yama-scope  and file /usr/lib/sysctl.d/10-default-yama-scope.conf got re-written

      Please provide the package NVR for which the bug is seen:

      elfutils-default-yama-scope

      How reproducible is this bug?:

      Every-time updating the package

       

      Steps to reproduce

      1. Make changes in the file /usr/lib/sysctl.d/10-default-yama-scope.conf

      kernel.yama.ptrace_scope = 1  <<------  

             __       

      2. Updating the package `elfutils-default-yama-scope` 

      # yum update elfutils-default-yama-scope

       

      3. Changes the kernel.yama.ptrace_scope value again to `0`

      kernel.yama.ptrace_scope = 0  <<------  

       

      Expected results 

      Value for kernel.yama.ptrace_scope remain same post updating the package                                         

      Actual results 

       

      Updating the package, changing kernel.yama.ptrace_scope as 0, present in the file /usr/lib/sysctl.d/10-default-yama-scope.conf  

              amerey Aaron Merey
              rhn-support-ananand Anshul Anand
              Aaron Merey Aaron Merey
              Martin Cermak Martin Cermak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: