cern-cert / cern-rpmverify Goto Github PK
View Code? Open in Web Editor NEWVerifies the integrity of the files which are installed by rpm packages
Verifies the integrity of the files which are installed by rpm packages
We are observing regular crash with the following report [1]:
Could this be a bug ?
[1]
reason: cern-rpmverify:50:renice:AttributeError: 'Process' object has no attribute 'set_nice'
cmdline: python /usr/bin/cern-rpmverify
executable: /usr/bin/cern-rpmverify
package: cern-rpmverify-4.1-4.el7.cern
component: cern-rpmverify
pid: 25583
hostname: p05614920e58551.cern.ch
count: 165
abrt_version: 2.1.11
analyzer: Python
architecture: x86_64
duphash: d1aecd3175412cc2edd620ab5c815d74332aa79e
kernel: 3.10.0-862.3.2.el7.x86_64
last_occurrence: 1597608782
os_release: CentOS Linux release 7.7.1908 (Core)
pkg_arch: noarch
pkg_epoch: 0
pkg_fingerprint: 5E03 FDE5 1D1E 034B
pkg_name: cern-rpmverify
pkg_release: 4.el7.cern
pkg_vendor: CERN
pkg_version: 4.1
time: Thu 05 Mar 2020 10:13:02 PM CET
type: Python
uid: 0
username: root
uuid: d1aecd3175412cc2edd620ab5c815d74332aa79e
backtrace:
:cern-rpmverify:50:renice:AttributeError: 'Process' object has no attribute 'set_nice'
:
:Traceback (most recent call last):
: File "/usr/bin/cern-rpmverify", line 317, in
: main()
: File "/usr/bin/cern-rpmverify", line 307, in main
: do_it(conf)
: File "/usr/bin/cern-rpmverify", line 280, in do_it
: ioclass=conf.ioclass, iovalue=(conf.ionice - conf.priority_diff))
: File "/usr/bin/cern-rpmverify", line 50, in renice
: process.set_nice(nice)
:AttributeError: 'Process' object has no attribute 'set_nice'
:
:Local variables in innermost frame:
:process: psutil.Process(pid=25583, name='python', started='22:13:00')
:iovalue: 6
:process_id: 25583
:ioclass: 2
:nice: 18
environ:
:LANG=en_US.UTF-8
:SHELL=/bin/sh
:XDG_RUNTIME_DIR=/run/user/0
:SHLVL=1
:PWD=/root
:LOGNAME=root
:USER=root
:HOME=/root
:PATH=/usr/bin:/bin
:XDG_SESSION_ID=48142
:_=/usr/bin/ionice
os_info:
:NAME="CentOS Linux"
:VERSION="7 (Core)"
:ID="centos"
:ID_LIKE="rhel fedora"
:VERSION_ID="7"
:PRETTY_NAME="CentOS Linux 7 (Core)"
:ANSI_COLOR="0;31"
:CPE_NAME="cpe:/o:centos:centos:7"
:HOME_URL="http://cern.ch/linux/"
:BUG_REPORT_URL="http://cern.ch/linux/"
:
:CENTOS_MANTISBT_PROJECT="CentOS-7"
:CENTOS_MANTISBT_PROJECT_VERSION="7"
:REDHAT_SUPPORT_PRODUCT="centos"
:REDHAT_SUPPORT_PRODUCT_VERSION="7"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.