aboutsummaryrefslogtreecommitdiff
path: root/whatmaps
Commit message (Collapse)AuthorAge
* flake8 cleanupsGuido Günther2016-12-15
|
* Exempt dbus from list of restarted servicesGuido Günther2016-12-15
| | | | since it aborts gdm sessions
* Exempt systemd-logind from list of restarted servicesGuido Günther2016-11-25
| | | | since it aborts user sessions
* Exempt display managers from the list of restartet servicesGuido Günther2016-11-25
|
* Filter out user@<uid>.servicev0.0.12Guido Günther2016-09-23
| | | | | | since this aborts user sessions otherwise Closes: #833120
* Allow to filter service by regular expressionsGuido Günther2016-09-23
|
* command: Use a distro instance instead of classGuido Günther2016-09-23
| | | | so we can invoke non-static and non-class methods
* Don't abort if we can't parse a single packageGuido Günther2016-09-23
| | | | | so far we would abort the whole operation, skip the unreadable packages instead and return with non-zero.
* whatmaps/process.py: flake8 cleanGuido Günther2016-09-23
|
* whatmaps/debiandistro.py: flake8 cleanGuido Günther2016-09-23
|
* whatmaps/debianpkg.py: flake8 cleanGuido Günther2016-09-23
|
* whatmaps/rpmpkg.py: flake8 cleanGuido Günther2016-09-23
|
* whatmaps/redhatdistro.py: flake8 cleanGuido Günther2016-09-23
|
* whatmaps/pkg.py: flake8 cleanGuido Günther2016-09-23
|
* whatmaps/distro.py: flake8 cleanGuido Günther2016-09-23
|
* whatmaps/command.py: flake8 cleanGuido Günther2016-09-23
|
* Add missing spaces in warningsGuido Günther2016-09-23
|
* Don't bail out if we can't find a package in apt's cacheGuido Günther2016-04-18
| | | | | Rather warn about it and continue so we get restarts for all other packages.
* systemd: Shorten error message if proess is from a user sessionGuido Günther2016-04-08
| | | | | | | | | | | | | | | | No need to print the whole process tree which so far looked like WARNING: No systemd unit found for '/bin/bash': Can't parse service name from ● session-8762.scope - Session 8762 of user root Loaded: loaded Drop-In: /run/systemd/system/session-8762.scope.d └─50-After-systemd-logind\x2eservice.conf, 50-After-systemd-user-sessions\x2eservice.conf, 50-Description.conf, 50-SendSIGHUP.conf, 50-Slice.conf Active: active (running) since Thu 2016-04-07 20:53:52 CEST; 19min ago CGroup: /user.slice/user-0.slice/session-8762.scope ├─21150 sshd: root@pts/0 ├─21155 -bash ├─23956 /usr/bin/python /usr/bin/whatmaps --debug libc6 └─23962 systemctl status 21155
* Use python3 instead of python2Guido Günther2016-02-24
|
* The usual 2to3 string encoding madnessGuido Günther2016-02-24
|
* Respect jessie apache package renameSantiago Garcia Mantinan2015-07-07
| | | | Closes: #791569
* Don't print overly long error message In the systemd caseGuido Günther2015-06-29
| | | | | So far we dumped the whole output of the status command. Only dump the pats we actually looked at.
* Silence output if package list is emptyGuido Günther2015-05-28
|
* Add mapping for libvirt-daemon -> libvirtdGuido Günther2014-12-29
| | | | Needed for the sysv init based systems
* Fix service name parsing for systemd >= 215Guido Günther2014-12-28
| | | | | | | | | | | Newer systemd put a colored bullet point '●' in front of the service name output: # sudo systemctl status 971 ● libvirtd.service - Virtualization daemon ... Skip that.
* Log services to restart in apt pipeline tooGuido Günther2014-12-28
| | | | | All other code paths log this at debug level. We should to so too to get improved output when using unattended-upgrades.
* Report PIDs of deleted executables at debug levelGuido Günther2014-12-28
| | | | It's not of any interest to the user.
* Abort early if we found a matchGuido Günther2014-07-14
| | | | | | Once we found a shared object that a process maps we don't need to continue with the other shared objects since one is enough to require a process restart.
* Another import bugfixGuido Günther2014-07-11
|
* Make imports python2 and python3 compatibleGuido Günther2014-07-11
| | | | Do this again and I'll rewrite you in ruby.
* Add systemd supportGuido Günther2014-07-11
|
* Move find_services and find_pkgs out of main()Guido Günther2014-07-11
|
* Document class variablesGuido Günther2014-07-01
|
* Move detect_distro to DistroGuido Günther2014-07-01
|
* Fix informal messageGuido Günther2014-06-28
| | | | Packages don't map shared objects
* Remove unused importsGuido Günther2014-06-28
|
* pkg_services: Check if a service is actually installedGuido Günther2014-06-28
| | | | | | | | So far we returned the full list from pkg_services. This is o.k. for many to one mappings like apache but not for one to many like openjdk. To avoid to print out services that aren't installed check that beforehand.
* Print userfriendly message if not rootGuido Günther2014-06-10
| | | | Closes: #751088
* Remove unused importsGuido Günther2014-06-10
|
* Add missing importGuido Günther2014-05-03
|
* Don't log info about deleted executables with error log levelGuido Günther2014-05-02
| | | | It's just informational.
* Restart tomcat and jenkins on java updatesGuido Günther2014-04-25
|
* Also look for shared objects without a versionGuido Günther2014-04-25
| | | | | While this will add all -dev packages to the checks we need this in order to also pick up dlopen'd objects.
* Use python3 friendly file modeGuido Günther2014-04-22
|
* Use print as functionGuido Günther2014-04-22
| | | | to make python3 happy
* Use loops instead of list comprehensionGuido Günther2014-04-22
| | | | since 2to3 would recommend this anyway
* Use 'in' instead of 'has_key'Guido Günther2014-04-22
| | | | which doesn't exit in Python3
* Use 'open' instead of 'file'Guido Günther2014-04-22
| | | | since the later doesn't exist in python3
* Split out and test RedHatDistroGuido Günther2014-04-21
|