Comments (2)
Thanks for the report,
you are definietely right. I am adding sudo
after this condition
if os.getlogin() != "root":
which is not sufficient. It should be
if you are not root and application is daemon
in that case all applications restartable with service foo restart
will be printed with sudo, but other commands like kdeinit4
, akonadictl restart
, etc witout it. Am I right?
from tracer.
Yes, I think we can make this assumption.
from tracer.
Related Issues (20)
- Call to Tracer API ended unexpectedly HOT 1
- AttributeError: module 'platform' has no attribute 'linux_distribution' on Python 3.9 HOT 5
- The imp module is deprecated in favor of importlib. HOT 3
- Minor spelling error in the Tracer API documentation HOT 1
- python3-setuptools HOT 4
- It does nothing on Oracle Linux 7 and 8 HOT 3
- Automatically recognize available package managers HOT 3
- Call to Tracer API ended unexpectedly HOT 1
- Python exception: AttributeError: 'str' object has no attribute 'name'
- Tracer is restarting auditd with the wrong command HOT 2
- RFE: Write /var/run/reboot-required if reboot is needed HOT 2
- Tracer has apparently stopped recognising updated packages in Fedora 38 HOT 3
- Traceback with dnf4: `module 'rpm' has no attribute 'fi'` HOT 5
- tracer does not appear to work when `dnf5` is installed HOT 1
- False-positive on crond
- Racy tracer warning after a package upgrade HOT 1
- Katello Tracer returns empty values. Oracle linux 8. HOT 1
- no notification to restart service after os update
- False call for need to restart NetworkManager on RHEL8
- Tracer doesn't understand that services are restarted HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tracer.