Hello community,

here is the log from the commit of package telemetrics-client for 
openSUSE:Factory checked in at 2019-10-09 15:20:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telemetrics-client (Old)
 and      /work/SRC/openSUSE:Factory/.telemetrics-client.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "telemetrics-client"

Wed Oct  9 15:20:38 2019 rev:5 rq:736433 version:2.2.3+git20191008.4119bde

Changes:
--------
--- /work/SRC/openSUSE:Factory/telemetrics-client/telemetrics-client.changes    
2019-09-17 13:39:24.609823716 +0200
+++ 
/work/SRC/openSUSE:Factory/.telemetrics-client.new.2352/telemetrics-client.changes
  2019-10-09 15:20:39.568312360 +0200
@@ -1,0 +2,8 @@
+Wed Oct 09 09:29:27 UTC 2019 - [email protected]
+
+- Update to version 2.2.3+git20191008.4119bde:
+  * configure.ac: bump version to 2.2.3
+  * python-probe.c: remove python probe
+  * pstore_probe.c: add ramoops file support in pstore probe for cl telemetry
+
+-------------------------------------------------------------------

Old:
----
  telemetrics-client-2.2.2+git20190903.a4774bd.tar.xz

New:
----
  telemetrics-client-2.2.3+git20191008.4119bde.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ telemetrics-client.spec ++++++
--- /var/tmp/diff_new_pack.CDF201/_old  2019-10-09 15:20:40.116310947 +0200
+++ /var/tmp/diff_new_pack.CDF201/_new  2019-10-09 15:20:40.120310937 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           telemetrics-client
-Version:        2.2.2+git20190903.a4774bd
+Version:        2.2.3+git20191008.4119bde
 Release:        0
 Summary:        Telemetrics solution
 License:        LGPL-2.1-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.CDF201/_old  2019-10-09 15:20:40.148310865 +0200
+++ /var/tmp/diff_new_pack.CDF201/_new  2019-10-09 15:20:40.148310865 +0200
@@ -1,7 +1,7 @@
 <services>
   <service name="tar_scm" mode="disabled">
-    <param name="version">2.2.2</param>
-    <param name="versionformat">2.2.2+git%cd.%h</param>
+    <param name="version">2.2.3</param>
+    <param name="versionformat">2.2.3+git%cd.%h</param>
     <param 
name="url">git://github.com/clearlinux/telemetrics-client.git</param>
     <param name="scm">git</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.CDF201/_old  2019-10-09 15:20:40.164310823 +0200
+++ /var/tmp/diff_new_pack.CDF201/_new  2019-10-09 15:20:40.164310823 +0200
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">git://github.com/clearlinux/telemetrics-client.git</param>
-    <param 
name="changesrevision">a4774bde2e1938364add00e0e904352c9c4f3a71</param>
+    <param 
name="changesrevision">4119bdea338d5221559d087ebc38c540d341db2b</param>
  </service>
 </servicedata>
\ No newline at end of file

++++++ install-paths.diff ++++++
--- /var/tmp/diff_new_pack.CDF201/_old  2019-10-09 15:20:40.172310803 +0200
+++ /var/tmp/diff_new_pack.CDF201/_new  2019-10-09 15:20:40.172310803 +0200
@@ -123,19 +123,6 @@
  User=telemetry
  
  [Install]
-diff --git a/src/data/python-probe.service.in 
b/src/data/python-probe.service.in
-index 38be074..0f47544 100644
---- a/src/data/python-probe.service.in
-+++ b/src/data/python-probe.service.in
-@@ -6,7 +6,7 @@ ConditionPathExists=!/etc/telemetrics/opt-out
- 
- [Service]
- User=telemetry
--ExecStart=@bindir@/pythonprobe
-+ExecStart=@libexecdir@/pythonprobe
- 
- [Install]
- WantedBy=multi-user.target
 diff --git a/src/data/telempostd.service.in b/src/data/telempostd.service.in
 index b0dfb73..f63e5f6 100644
 --- a/src/data/telempostd.service.in
@@ -214,7 +201,7 @@
 -      %D%/telem-record-gen \
        %D%/klogscanner \
        %D%/pstoreprobe \
-       %D%/pythonprobe \
+       %D%/pstoreclean \
 @@ -156,7 +157,7 @@ endif
  
  if HAVE_SYSTEMD_JOURNAL

++++++ telemetrics-client-2.2.2+git20190903.a4774bd.tar.xz -> 
telemetrics-client-2.2.3+git20191008.4119bde.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/configure.ac 
new/telemetrics-client-2.2.3+git20191008.4119bde/configure.ac
--- old/telemetrics-client-2.2.2+git20190903.a4774bd/configure.ac       
2019-09-03 18:52:20.000000000 +0200
+++ new/telemetrics-client-2.2.3+git20191008.4119bde/configure.ac       
2019-10-08 18:53:02.000000000 +0200
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.69])
-AC_INIT([telemetrics-client], [2.2.2], [https://clearlinux.org/])
+AC_INIT([telemetrics-client], [2.2.3], [https://clearlinux.org/])
 AC_CONFIG_AUX_DIR([build-aux])
 AM_INIT_AUTOMAKE([1.14 -Wall -Werror -Wno-extra-portability foreign 
subdir-objects])
 AM_SILENT_RULES([yes])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/data/local.mk 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/data/local.mk
--- old/telemetrics-client-2.2.2+git20190903.a4774bd/src/data/local.mk  
2019-09-03 18:52:20.000000000 +0200
+++ new/telemetrics-client-2.2.3+git20191008.4119bde/src/data/local.mk  
2019-10-08 18:53:02.000000000 +0200
@@ -19,8 +19,6 @@
        %D%/bert-probe.service.in \
        %D%/journal-probe.service.in \
        %D%/journal-probe-tail.service.in \
-       %D%/python-probe.service.in \
-       %D%/python-probe.path.in \
        %D%/pstore-probe.service.in \
        %D%/klogscanner.service.in \
        %D%/pstore-clean.service.in \
@@ -58,8 +56,6 @@
        %D%/bert-probe.service \
        %D%/journal-probe.service \
        %D%/journal-probe-tail.service \
-       %D%/python-probe.service \
-       %D%/python-probe.path \
        %D%/pstore-probe.service \
        %D%/klogscanner.service \
        %D%/pstore-clean.service \
@@ -96,12 +92,6 @@
 %D%/telempostd.service: %D%/telempostd.service.in
        $(pathfix) < $< > $@
 
-%D%/python-probe.service: %D%/python-probe.service.in
-       $(pathfix) < $< > $@
-
-%D%/python-probe.path: %D%/python-probe.path.in
-       $(pathfix) < $< > $@
-
 %D%/telemprobd.service: %D%/telemprobd.service.in
        $(pathfix) < $< > $@
 
@@ -125,8 +115,6 @@
                %D%/telemprobd.socket \
                %D%/telempostd.service \
                %D%/telempostd.path \
-               %D%/python-probe.service \
-               %D%/python-probe.path \
                %D%/telemprobd-update-trigger.service \
                %D%/telemetrics.conf \
                %D%/telemetrics-dirs.conf \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/data/python-probe.path.in 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/data/python-probe.path.in
--- 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/data/python-probe.path.in  
    2019-09-03 18:52:20.000000000 +0200
+++ 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/data/python-probe.path.in  
    1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-[Unit]
-Description=Python Probe Daemon Staging
-ConditionPathExists=!/etc/telemetrics/opt-out
-
-[Path]
-DirectoryNotEmpty=/var/lib/telemetry/python
-
-[Install]
-WantedBy=multi-user.target
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/data/python-probe.service.in
 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/data/python-probe.service.in
--- 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/data/python-probe.service.in
   2019-09-03 18:52:20.000000000 +0200
+++ 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/data/python-probe.service.in
   1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +0,0 @@
-[Unit]
-Description=Telemetrics Python Probe
-Requires=telemprobd.socket
-After=telemprobd.socket
-ConditionPathExists=!/etc/telemetrics/opt-out
-
-[Service]
-User=telemetry
-ExecStart=@bindir@/pythonprobe
-
-[Install]
-WantedBy=multi-user.target
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/data/telemetrics-dirs.conf.in
 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/data/telemetrics-dirs.conf.in
--- 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/data/telemetrics-dirs.conf.in
  2019-09-03 18:52:20.000000000 +0200
+++ 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/data/telemetrics-dirs.conf.in
  2019-10-08 18:53:02.000000000 +0200
@@ -4,5 +4,3 @@
 d @localstatedir@/log/telemetry/records 0750 telemetry telemetry -
 d @localstatedir@/cache/telemetry 0750 telemetry telemetry -
 d @localstatedir@/cache/telemetry/pstore 0750 telemetry telemetry -
-d /var/lib/telemetry/python 01777 telemetry telemetry -
-d /var/tmp/telemetry 01777 telemetry telemetry -
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/probes/README.md 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/probes/README.md
--- old/telemetrics-client-2.2.2+git20190903.a4774bd/src/probes/README.md       
2019-09-03 18:52:20.000000000 +0200
+++ new/telemetrics-client-2.2.3+git20191008.4119bde/src/probes/README.md       
2019-10-08 18:53:02.000000000 +0200
@@ -19,8 +19,6 @@
 
 * pstoreprobe: probe to collect messages left on pstore filesystem.
 
-* pythonprobe: a probe that monitors Python generated traceback files.
-
 * telem-record-gen: this is a "general-purpose probe" for sending custom
   records on-the-fly. This tool can be used stand alone or as a part of a
   script to implement a probe.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/probes/local.mk 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/probes/local.mk
--- old/telemetrics-client-2.2.2+git20190903.a4774bd/src/probes/local.mk        
2019-09-03 18:52:20.000000000 +0200
+++ new/telemetrics-client-2.2.3+git20191008.4119bde/src/probes/local.mk        
2019-10-08 18:53:02.000000000 +0200
@@ -4,24 +4,9 @@
        %D%/telem-record-gen \
        %D%/klogscanner \
        %D%/pstoreprobe \
-       %D%/pythonprobe \
        %D%/pstoreclean \
        %D%/bertprobe
 
-%C%_pythonprobe_SOURCES = %D%/python-probe.c
-%C%_pythonprobe_CFLAGS = $(AM_CFLAGS)
-%C%_pythonprobe_LDADD = $(top_builddir)/src/libtelemetry.la
-%C%_pythonprobe_LDFLAGS = \
-       $(AM_LDFLAGS) \
-       -pie
-
-if LOG_SYSTEMD
-if HAVE_SYSTEMD_JOURNAL
-%C%_pythonprobe_CFLAGS += $(SYSTEMD_JOURNAL_CFLAGS)
-%C%_pythonprobe_LDADD += $(SYSTEMD_JOURNAL_LIBS)
-endif
-endif
-
 %C%_hprobe_SOURCES = %D%/hello.c
 %C%_hprobe_LDADD = $(top_builddir)/src/libtelemetry.la
 %C%_hprobe_CFLAGS = $(AM_CFLAGS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/probes/pstore_probe.c 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/probes/pstore_probe.c
--- old/telemetrics-client-2.2.2+git20190903.a4774bd/src/probes/pstore_probe.c  
2019-09-03 18:52:20.000000000 +0200
+++ new/telemetrics-client-2.2.3+git20191008.4119bde/src/probes/pstore_probe.c  
2019-10-08 18:53:02.000000000 +0200
@@ -15,6 +15,7 @@
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
+#include <getopt.h>
 #include <dirent.h>
 #include <string.h>
 #include <errno.h>
@@ -195,6 +196,13 @@
         struct chunk_list *next;
 };
 
+static void print_usage(char *prog)
+{
+        printf("%s: Usage\n", prog);
+        printf("  -f,  --config_file    This overides the other parameters\n");
+        printf("  -h,  --help           Display this help message\n");
+}
+
 int main(int argc, char **argv)
 {
         DIR *pstore_dir;
@@ -205,6 +213,32 @@
         int max_part;
         size_t totalsize = 0;
         char *crash_dump = NULL;
+        int c;
+        int opt_index = 0;
+
+        struct option opts[] = {
+                { "config_file", 1, NULL, 'f' },
+                { "help", 0, NULL, 'h' },
+                { NULL, 0, NULL, 0 }
+        };
+
+        while ((c = getopt_long(argc, argv, "f:h", opts, &opt_index)) != -1) {
+                switch (c) {
+                        case 'f':
+                                if (tm_set_config_file(optarg) != 0) {
+                                        telem_log(LOG_ERR, "Configuration file"
+                                                  " path not valid\n");
+                                        exit(EXIT_FAILURE);
+                                }
+                                break;
+                        case 'h':
+                                print_usage(argv[0]);
+                                exit(EXIT_SUCCESS);
+                        case '?':
+                                print_usage(argv[0]);
+                                exit(EXIT_FAILURE);
+                }
+        }
 
         /*
          * Hash table used to store chunks belonging to a oops counter
@@ -230,7 +264,13 @@
                 // Look for only dmesg logs. Ignore other types of pstore 
dumps for now.
                 if (sscanf(entry->d_name, "dmesg-efi-%" PRIu64, &id) == 1) {
                         parse_id(id, &count, &part);
-                        telem_debug("DEBUG: Extracted count :%d, part : %d\n", 
count, part);
+                        telem_debug("dmesg-efi Extracted count :%d, part : 
%d\n",
+                                    count, part);
+                } else if (sscanf(entry->d_name, "dmesg-ramoops-%" PRIu64, 
&id) == 1) {
+                        count = (int)(id + 1);
+                        part = 1;
+                        telem_debug("dmesg-ramoops Extracted count :%d, part : 
%d\n",
+                                    count, part);
                 } else {
                         continue;
                 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/probes/python-probe.c 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/probes/python-probe.c
--- old/telemetrics-client-2.2.2+git20190903.a4774bd/src/probes/python-probe.c  
2019-09-03 18:52:20.000000000 +0200
+++ new/telemetrics-client-2.2.3+git20191008.4119bde/src/probes/python-probe.c  
1970-01-01 01:00:00.000000000 +0100
@@ -1,293 +0,0 @@
-/*
- * This program is part of the Clear Linux Project
- *
- * Copyright 2019 Intel Corporation
- *
- *   This program is free software: you can redistribute it and/or modify
- *   it under the terms of the GNU General Public License as published by
- *   the Free Software Foundation, either version 3 of the License, or
- *   (at your option) any later version.
- *
- *   This program is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
- *
- */
-
-#define _GNU_SOURCE
-#include <assert.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdbool.h>
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/inotify.h>
-#include <fcntl.h>
-#include <dirent.h>
-#include <pwd.h>
-#include <grp.h>
-#include <getopt.h>
-
-#include "log.h"
-#include "telemetry.h"
-
-#define PYTHON_TELEMETRY_DIR "/var/lib/telemetry/python"
-
-/* We expect something like: 1.python-exception.3.N2Qy24 */
-static bool validate_file_name(const char *filename, uint32_t *severity,
-                               char** class, uint32_t *version)
-{
-        unsigned int ver, sev;
-        char cls[PATH_MAX] = { 0 };
-        char rnd[PATH_MAX] = { 0 };
-        char *filename_base = basename(filename);
-        char *str_class = NULL;
-
-        if (!filename_base) {
-                telem_perror("basename failed");
-                return false;
-        }
-
-        if (sscanf(filename_base,"%u.%[^]0-9.].%u.%s", &ver, cls, &sev, rnd) 
== 4) {
-                if (asprintf(&str_class, "org.clearlinux/python/%s", cls) < 
29) {
-                        telem_log(LOG_ERR, "%s: invalid telemetry 
classification\n",
-                                  str_class);
-                        return false;
-                }
-                *class = str_class;
-                *version = ver;
-                *severity = sev;
-                return true;
-        }
-
-        return false;
-}
-
-static char *read_file_into_buffer(const char *filename)
-{
-        FILE *fp = NULL;
-        char *contents = NULL;
-        long sz;
-        size_t size, bytes_read;
-
-        fp = fopen(filename, "r");
-        if (fp == NULL) {
-                telem_log(LOG_ERR, "Failed to open Python telemetry file %s: 
%s\n",
-                          filename, strerror(errno));
-                return NULL;
-        }
-
-        if (fseek(fp, 0, SEEK_END) == -1) {
-                telem_log(LOG_ERR, "Failed to seek file %s: %s\n", filename,
-                          strerror(errno));
-                goto error_end;
-        }
-
-        sz = ftell(fp);
-        if (sz == -1L) {
-                telem_perror("ftell failed");
-                goto error_end;
-        }
-
-        if (sz == 0L) {
-                telem_perror("File is empty\n");
-                goto error_end;
-        }
-
-        if (fseek(fp, 0, SEEK_SET) < 0) {
-                telem_log(LOG_ERR, "fseek failed for file %s:%s\n", filename,
-                          strerror(errno));
-                goto error_end;
-        }
-
-        size = (size_t)sz;
-        contents = calloc(sizeof(char), size);
-        if (!contents) {
-                telem_log(LOG_ERR, "Call to calloc failed\n");
-                goto error_end;
-        }
-
-        bytes_read = fread(contents, sizeof(char), size, fp);
-
-        if (bytes_read < size) {
-                telem_log(LOG_ERR, "Error while reading file %s:%s\n", 
filename,
-                          strerror(errno));
-                goto error_end;
-        }
-
-        fclose(fp);
-        return contents;
-
-error_end:
-        fclose(fp);
-        if (contents) {
-                free(contents);
-        }
-        return NULL;
-}
-
-static void send_data(char *contents, uint32_t severity, char *class,
-                      uint32_t version)
-{
-        struct telem_ref *handle = NULL;
-        int ret;
-
-        if ((ret = tm_create_record(&handle, severity, class, version)) < 0) {
-                telem_log(LOG_ERR, "Failed to create record: %s\n",
-                          strerror(-ret));
-                return;
-        }
-
-        if ((ret = tm_set_payload(handle, contents)) < 0) {
-                telem_log(LOG_ERR, "Failed to set payload: %s\n",
-                          strerror(-ret));
-                tm_free_record(handle);
-                return;
-        }
-
-        if ((ret = tm_send_record(handle)) < 0) {
-                telem_log(LOG_ERR, "Failed to send record: %s\n",
-                          strerror(-ret));
-        }
-
-        tm_free_record(handle);
-}
-
-/* Send a valid file to the backend. */
-static void deliver_payload(const char *filename)
-{
-        uint32_t severity;
-        uint32_t version;
-        char *class = NULL;
-        char *contents = NULL;
-
-        if (validate_file_name(filename, &severity, &class, &version)) {
-                if ((contents = read_file_into_buffer(filename)) != NULL) {
-                        send_data(contents, severity, class, version);
-                        free(contents);
-                }
-
-                free(class);
-        }
-
-        /* Keep PYTHON_TELEMETRY_DIR empty. Delete the file. */
-        if (unlink(filename) != 0) {
-                telem_log(LOG_ERR, "Failed to unlink %s: %s\n", filename,
-                          strerror(errno));
-        }
-}
-
-static void drop_privs(void)
-{
-        uid_t euid;
-
-        euid = geteuid();
-        if (euid != 0) {
-                telem_log(LOG_DEBUG, "Not root; skipping privilege drop\n");
-                return;
-        }
-
-        struct passwd *pw;
-
-        pw = getpwnam("telemetry");
-        if (!pw) {
-                telem_log(LOG_ERR, "telemetry user not found\n");
-                exit(EXIT_FAILURE);
-        }
-
-        // The order is important here:
-        // change supplemental groups, our gid, and then our uid
-        if (initgroups(pw->pw_name, pw->pw_gid) != 0) {
-                telem_perror("Failed to set supplemental group list");
-                exit(EXIT_FAILURE);
-        }
-        if (setgid(pw->pw_gid) != 0) {
-                telem_perror("Failed to set GID");
-                exit(EXIT_FAILURE);
-        }
-        if (setuid(pw->pw_uid) != 0) {
-                telem_perror("Failed to set UID");
-                exit(EXIT_FAILURE);
-        }
-
-        assert(getuid() == pw->pw_uid);
-        assert(geteuid() == pw->pw_uid);
-        assert(getgid() == pw->pw_gid);
-        assert(getegid() == pw->pw_gid);
-}
-
-static void print_usage(char *prog)
-{
-        printf("%s: Usage\n", prog);
-        printf("  -f,  --config_file    Specify a configuration file other 
than default\n");
-        printf("  -h,  --help           Display this help message\n");
-        printf("  -V,  --version        Print the program version\n");
-}
-
-int main(int argc, char **argv)
-{
-        DIR *dir;
-        struct dirent *entry;
-        int c;
-        int opt_index = 0;
-
-        struct option opts[] = {
-                { "config_file", 1, NULL, 'f' },
-                { "help", 0, NULL, 'h' },
-                { "version", 0, NULL, 'V' },
-                { NULL, 0, NULL, 0 }
-        };
-
-        drop_privs();
-
-        while ((c = getopt_long(argc, argv, "f:hV", opts, &opt_index)) != -1) {
-                switch (c) {
-                        case 'f':
-                                if (tm_set_config_file(optarg) != 0) {
-                                    telem_log(LOG_ERR, "Configuration file"
-                                                  " path not valid\n");
-                                    exit(EXIT_FAILURE);
-                                }
-                                break;
-                        case 'h':
-                                print_usage(argv[0]);
-                                exit(EXIT_SUCCESS);
-                        case 'V':
-                                printf(PACKAGE_VERSION "\n");
-                                exit(EXIT_SUCCESS);
-                        case '?':
-                                exit(EXIT_FAILURE);
-                }
-        }
-
-        if (chdir(PYTHON_TELEMETRY_DIR)) {
-                perror(PYTHON_TELEMETRY_DIR);
-                exit(EXIT_FAILURE);
-        }
-
-        /* Process all existing files */
-        dir = opendir(PYTHON_TELEMETRY_DIR);
-        if (!dir) {
-                perror(PYTHON_TELEMETRY_DIR);
-                exit(EXIT_FAILURE);
-        }
-
-        while (true) {
-                entry = readdir(dir);
-                if (!entry) {
-                        break;
-                }
-                if (entry->d_name[0] == '.') {
-                        continue;
-                }
-                deliver_payload(entry->d_name);
-        }
-
-        closedir(dir);
-        exit(EXIT_SUCCESS);
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/telemetrics-client-2.2.2+git20190903.a4774bd/src/telemctl.c 
new/telemetrics-client-2.2.3+git20191008.4119bde/src/telemctl.c
--- old/telemetrics-client-2.2.2+git20190903.a4774bd/src/telemctl.c     
2019-09-03 18:52:20.000000000 +0200
+++ new/telemetrics-client-2.2.3+git20191008.4119bde/src/telemctl.c     
2019-10-08 18:53:02.000000000 +0200
@@ -46,7 +46,6 @@
         "telempostd.path",
         "klogscanner.service",
         "journal-probe-tail.service",
-        "python-probe.path",
 };
 
 #define NUM_SPECIAL_UNITS ARRAY_SIZE(SPECIAL_UNITS)
@@ -312,8 +311,6 @@
    d /usr/local/var/log/telemetry/records 0750 telemetry telemetry -
    d /usr/local/var/cache/telemetry 0750 telemetry telemetry -
    d /usr/local/var/cache/telemetry/pstore 0750 telemetry telemetry -
-   d /var/lib/telemetry/python 01777 telemetry telemetry -
-   d /var/tmp/telemetry 01777 telemetry telemetry -
 */
 static int telemctl_remove_work_dirs(void)
 {


Reply via email to