Εμφάνιση 1-15 από 15

Θέμα: systemd-notify.py

  1. #1
    Εγγραφή
    01-02-2008
    Ηλικία
    43
    Μηνύματα
    587
    Downloads
    1
    Uploads
    0
    Ταχύτητα
    6000/600
    ISP
    Wind
    DSLAM
    Wind - ΡΟΣΤΑΝ
    Router
    linux
    SNR / Attn
    11(dB) / 34(dB)
    Είναι μια εφαρμογή που έκανα για να με ειδοποιεί για failed services αλλά και ποιος κάνει login. Ελπίζω να σας φανεί χρήσιμη όπως κ σε μένα.
    Έχει κάποιες εξαρτήσεις που πρέπει να μπουν χειροκίνητα απο εσας αλλά κ ο χρήστης που κάνει login στο desktop πρέπει να είναι στο systemd-journal group.
    Eννοείται πως είναι systemd specific.
    https://github.com/gkarakou/systemd-notify.py

  2. #2
    Εγγραφή
    01-02-2008
    Ηλικία
    43
    Μηνύματα
    587
    Downloads
    1
    Uploads
    0
    Ταχύτητα
    6000/600
    ISP
    Wind
    DSLAM
    Wind - ΡΟΣΤΑΝ
    Router
    linux
    SNR / Attn
    11(dB) / 34(dB)
    Το development ουσιαστικά κ τυπικά τελείωσε. Υπάρχουν δυο εκδόσεις της εφαρμογής μια experimental που ειδοποιεί το χρήστη και ηχητικά - για να την εγκαταστήσετε κάνετε checkout το experimental branch ενω υπαρχουν οδηγίες στο README αρχείο και η standard που κάνετε checkout το master branch.

  3. #3
    Εγγραφή
    01-02-2008
    Ηλικία
    43
    Μηνύματα
    587
    Downloads
    1
    Uploads
    0
    Ταχύτητα
    6000/600
    ISP
    Wind
    DSLAM
    Wind - ΡΟΣΤΑΝ
    Router
    linux
    SNR / Attn
    11(dB) / 34(dB)
    Έγινε ένα code refactoring και cleanup μαζί με κάποια bug fixes στην εφαρμογή.
    Αν ενδιαφέρει κανέναν μπορεί να την εγκαταστήσει σε linux απο
    https://github.com/gkarakou/systemd-denotify

    Δεκτά οποιαδήποτε bug reports ή feature requests.

  4. #4
    Εγγραφή
    30-01-2005
    Περιοχή
    City of light with thy violet crown
    Ηλικία
    44
    Μηνύματα
    6.989
    Downloads
    23
    Uploads
    0
    Ταχύτητα
    150/30Mbps
    ISP
    BT FTTP
    Router
    pfSense/Openreach ONT
    Ωραίος!

    Προσπαθώ να «χτίσω» το rpm σε RHEL 6.9, αλλά έχω τα παρακάτω προβλήματα:

    Spoiler:
    Κώδικας:
    $ sudo python setup.py bdist_rpm --requires "python2, systemd-python, notify-python, pygobject2, python-slip-dbus, python-inotify, systemd, systemd-libs, libnotify, dbus, dbus-python" --build-requires="python-setuptools" --vendor="gkarakou@gmail.com" --post-install=postinstall.sh --no-autoreg
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help
    
    error: option --no-autoreg not recognized
    
    $ sudo python setup.py bdist_rpm --requires "python2, systemd-python, notify-python, pygobject2, python-slip-dbus, python-inotify, systemd, systemd-libs, libnotify, dbus, dbus-python" --build-requires="python-setuptools" --vendor="gkarakou@gmail.com" --post-install=postinstall.sh
    running bdist_rpm
    running egg_info
    writing requirements to systemd_denotify.egg-info/requires.txt
    writing systemd_denotify.egg-info/PKG-INFO
    writing top-level names to systemd_denotify.egg-info/top_level.txt
    writing dependency_links to systemd_denotify.egg-info/dependency_links.txt
    reading manifest file 'systemd_denotify.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching 'install_script.py'
    warning: manifest_maker: MANIFEST.in, line 3: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
    warning: manifest_maker: MANIFEST.in, line 4: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
    writing manifest file 'systemd_denotify.egg-info/SOURCES.txt'
    writing 'build/bdist.linux-x86_64/rpm/SPECS/systemd-denotify.spec'
    running sdist
    creating systemd-denotify-1.3
    creating systemd-denotify-1.3/denotify
    creating systemd-denotify-1.3/scripts
    creating systemd-denotify-1.3/systemd_denotify.egg-info
    making hard links in systemd-denotify-1.3...
    hard linking MANIFEST.in -> systemd-denotify-1.3
    hard linking README.txt -> systemd-denotify-1.3
    hard linking setup.py -> systemd-denotify-1.3
    hard linking denotify/__init__.py -> systemd-denotify-1.3/denotify
    hard linking denotify/configreader.py -> systemd-denotify-1.3/denotify
    hard linking denotify/eventhandler.py -> systemd-denotify-1.3/denotify
    hard linking denotify/filenotifier.py -> systemd-denotify-1.3/denotify
    hard linking denotify/journalparser.py -> systemd-denotify-1.3/denotify
    hard linking denotify/logindmonitor.py -> systemd-denotify-1.3/denotify
    hard linking denotify/mailer.py -> systemd-denotify-1.3/denotify
    hard linking denotify/servicestatuschecker.py -> systemd-denotify-1.3/denotify
    hard linking scripts/systemd-denotify.py -> systemd-denotify-1.3/scripts
    hard linking systemd_denotify.egg-info/PKG-INFO -> systemd-denotify-1.3/systemd_denotify.egg-info
    hard linking systemd_denotify.egg-info/SOURCES.txt -> systemd-denotify-1.3/systemd_denotify.egg-info
    hard linking systemd_denotify.egg-info/dependency_links.txt -> systemd-denotify-1.3/systemd_denotify.egg-info
    hard linking systemd_denotify.egg-info/requires.txt -> systemd-denotify-1.3/systemd_denotify.egg-info
    hard linking systemd_denotify.egg-info/top_level.txt -> systemd-denotify-1.3/systemd_denotify.egg-info
    Writing systemd-denotify-1.3/setup.cfg
    tar -cf dist/systemd-denotify-1.3.tar systemd-denotify-1.3
    gzip -f9 dist/systemd-denotify-1.3.tar
    tar -cf dist/systemd-denotify-1.3.tar systemd-denotify-1.3
    gzip -f9 dist/systemd-denotify-1.3.tar
    removing 'systemd-denotify-1.3' (and everything under it)
    copying dist/systemd-denotify-1.3.tar.gz -> build/bdist.linux-x86_64/rpm/SOURCES
    building RPMs
    rpmbuild -ba --define _topdir /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm --clean build/bdist.linux-x86_64/rpm/SPECS/systemd-denotify.spec
    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YvPeXE
    + umask 022
    + cd /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + cd /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILD
    + rm -rf systemd-denotify-1.3
    + /usr/bin/gzip -dc /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/SOURCES/systemd-denotify-1.3.tar.gz
    + /bin/tar -xvvf -
    drwxr-xr-x grinder/grinder    0 2018-01-15 12:58 systemd-denotify-1.3/
    drwxr-xr-x grinder/grinder    0 2018-01-15 12:58 systemd-denotify-1.3/denotify/
    -rwxr-xr-x grinder/grinder    0 2018-01-15 12:53 systemd-denotify-1.3/denotify/__init__.py
    -rw-r--r-- grinder/grinder 5345 2018-01-15 12:53 systemd-denotify-1.3/denotify/configreader.py
    -rw-r--r-- grinder/grinder 4006 2018-01-15 12:53 systemd-denotify-1.3/denotify/eventhandler.py
    -rw-r--r-- grinder/grinder  836 2018-01-15 12:53 systemd-denotify-1.3/denotify/filenotifier.py
    -rw-r--r-- grinder/grinder 3587 2018-01-15 12:53 systemd-denotify-1.3/denotify/journalparser.py
    -rw-r--r-- grinder/grinder 2532 2018-01-15 12:53 systemd-denotify-1.3/denotify/logindmonitor.py
    -rw-r--r-- grinder/grinder 8509 2018-01-15 12:53 systemd-denotify-1.3/denotify/mailer.py
    -rw-r--r-- grinder/grinder 4594 2018-01-15 12:53 systemd-denotify-1.3/denotify/servicestatuschecker.py
    drwxr-xr-x grinder/grinder    0 2018-01-15 12:58 systemd-denotify-1.3/scripts/
    -rw-r--r-- grinder/grinder 1357 2018-01-15 12:53 systemd-denotify-1.3/scripts/systemd-denotify.py
    drwxr-xr-x grinder/grinder    0 2018-01-15 12:58 systemd-denotify-1.3/systemd_denotify.egg-info/
    -rw-r--r-- grinder/grinder  795 2018-01-15 12:58 systemd-denotify-1.3/systemd_denotify.egg-info/PKG-INFO
    -rw-r--r-- grinder/grinder  458 2018-01-15 12:58 systemd-denotify-1.3/systemd_denotify.egg-info/SOURCES.txt
    -rw-r--r-- grinder/grinder    1 2018-01-15 12:58 systemd-denotify-1.3/systemd_denotify.egg-info/dependency_links.txt
    -rw-r--r-- grinder/grinder   46 2018-01-15 12:58 systemd-denotify-1.3/systemd_denotify.egg-info/requires.txt
    -rw-r--r-- grinder/grinder    9 2018-01-15 12:58 systemd-denotify-1.3/systemd_denotify.egg-info/top_level.txt
    -rw-r--r-- grinder/grinder  131 2018-01-15 12:53 systemd-denotify-1.3/MANIFEST.in
    -rw-r--r-- grinder/grinder  185 2018-01-15 12:53 systemd-denotify-1.3/README.txt
    -rwxr-xr-x grinder/grinder 2602 2018-01-15 12:53 systemd-denotify-1.3/setup.py
    -rw-r--r-- grinder/grinder  795 2018-01-15 12:58 systemd-denotify-1.3/PKG-INFO
    -rw-r--r-- grinder/grinder   59 2018-01-15 12:58 systemd-denotify-1.3/setup.cfg
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd systemd-denotify-1.3
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + exit 0
    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.L2KfTi
    + umask 022
    + cd /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILD
    + cd systemd-denotify-1.3
    + LANG=C
    + export LANG
    + unset DISPLAY
    + python setup.py build
    running build
    running build_py
    creating build
    creating build/lib
    creating build/lib/denotify
    copying denotify/__init__.py -> build/lib/denotify
    copying denotify/configreader.py -> build/lib/denotify
    copying denotify/eventhandler.py -> build/lib/denotify
    copying denotify/filenotifier.py -> build/lib/denotify
    copying denotify/journalparser.py -> build/lib/denotify
    copying denotify/logindmonitor.py -> build/lib/denotify
    copying denotify/mailer.py -> build/lib/denotify
    copying denotify/servicestatuschecker.py -> build/lib/denotify
    running build_scripts
    creating build/scripts-2.6
    copying and adjusting scripts/systemd-denotify.py -> build/scripts-2.6
    changing mode of build/scripts-2.6/systemd-denotify.py from 644 to 755
    + exit 0
    Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.y5qd8W
    + umask 022
    + cd /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILD
    + '[' /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64 '!=' / ']'
    + rm -rf /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64
    ++ dirname /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64
    + mkdir -p /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT
    + mkdir /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64
    + cd systemd-denotify-1.3
    + LANG=C
    + export LANG
    + unset DISPLAY
    + python setup.py install --single-version-externally-managed -O1 --root=/home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64 --record=INSTALLED_FILES
    running install
    running build
    running build_py
    running build_scripts
    running install_lib
    creating /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr
    creating /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib
    creating /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6
    creating /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages
    creating /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    copying build/lib/denotify/__init__.py -> /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    copying build/lib/denotify/configreader.py -> /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    copying build/lib/denotify/eventhandler.py -> /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    copying build/lib/denotify/filenotifier.py -> /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    copying build/lib/denotify/journalparser.py -> /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    copying build/lib/denotify/logindmonitor.py -> /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    copying build/lib/denotify/mailer.py -> /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    copying build/lib/denotify/servicestatuschecker.py -> /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify
    byte-compiling /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify/__init__.py to __init__.pyc
    byte-compiling /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify/configreader.py to configreader.pyc
    byte-compiling /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify/eventhandler.py to eventhandler.pyc
    byte-compiling /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify/filenotifier.py to filenotifier.pyc
    byte-compiling /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify/journalparser.py to journalparser.pyc
    byte-compiling /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify/logindmonitor.py to logindmonitor.pyc
    byte-compiling /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify/mailer.py to mailer.pyc
    byte-compiling /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/usr/lib/python2.6/site-packages/denotify/servicestatuschecker.py to servicestatuschecker.pyc
    writing byte-compilation script '/tmp/tmpIm3dbR.py'
    /usr/bin/python -O /tmp/tmpIm3dbR.py
    removing /tmp/tmpIm3dbR.py
    running install_data
    creating /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm/BUILDROOT/systemd-denotify-1.3-1.x86_64/etc
    error: can't copy 'denotify/conf/systemd-denotify.conf': doesn't exist or not a regular file
    error: Bad exit status from /var/tmp/rpm-tmp.y5qd8W (%install)
    
    
    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.y5qd8W (%install)
    error: command 'rpmbuild' failed with exit status 1


    Καμιά ιδέα;;
    Όταν ενώνουμε τις δυνάμεις μας, μπορούμε να πετύχουμε το ακατόρθωτο - Παναγιώτης Γιαννάκης

    Never say never, because limits, like fears, are often just an illusion -
    Michael Jordan


  5. #5
    Εγγραφή
    20-12-2005
    Μηνύματα
    3.224
    Downloads
    4
    Uploads
    0
    Τύπος
    VDSL2
    Ταχύτητα
    49997/4997
    ISP
    ΟΤΕ Conn-x
    DSLAM
    ΟΤΕ - ΞΑΝΘΗ
    Router
    Speedport W 724V
    SNR / Attn
    24,4(dB) / (dB)
    Για κάποιο λόγο δεν αντιγράφει τον κατάλογο conf. Σε εμένα με python2.7 + 3.5 και rpm 4.11.0.1 παίρνω τις εξής διαφορές:

    Spoiler:

    Κώδικας:
    --- /tmp/z1	2018-01-15 18:32:05.844418360 +0200
    +++ /tmp/z2	2018-01-15 18:36:14.679537466 +0200
    @@ -6,14 +6,13 @@
     writing dependency_links to systemd_denotify.egg-info/dependency_links.txt
     reading manifest file 'systemd_denotify.egg-info/SOURCES.txt'
     reading manifest template 'MANIFEST.in'
    -warning: no files found matching 'install_script.py'
    -warning: manifest_maker: MANIFEST.in, line 3: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
    -warning: manifest_maker: MANIFEST.in, line 4: 'recursive-include' expects <dir> <pattern1> <pattern2> ...
     writing manifest file 'systemd_denotify.egg-info/SOURCES.txt'
     writing 'build/bdist.linux-x86_64/rpm/SPECS/systemd-denotify.spec'
     running sdist
    +running check
     creating systemd-denotify-1.3
     creating systemd-denotify-1.3/denotify
    +creating systemd-denotify-1.3/denotify/conf
     creating systemd-denotify-1.3/scripts
     creating systemd-denotify-1.3/systemd_denotify.egg-info
     making hard links in systemd-denotify-1.3...
    @@ -28,6 +27,8 @@
     hard linking denotify/logindmonitor.py -> systemd-denotify-1.3/denotify
     hard linking denotify/mailer.py -> systemd-denotify-1.3/denotify
     hard linking denotify/servicestatuschecker.py -> systemd-denotify-1.3/denotify
    +hard linking denotify/conf/systemd-denotify.conf -> systemd-denotify-1.3/denotify/conf
    +hard linking denotify/conf/systemd-denotify.desktop -> systemd-denotify-1.3/denotify/conf
     hard linking scripts/systemd-denotify.py -> systemd-denotify-1.3/scripts
     hard linking systemd_denotify.egg-info/PKG-INFO -> systemd-denotify-1.3/systemd_denotify.egg-info
     hard linking systemd_denotify.egg-info/SOURCES.txt -> systemd-denotify-1.3/systemd_denotify.egg-info
    @@ -35,24 +36,12 @@
     hard linking systemd_denotify.egg-info/requires.txt -> systemd-denotify-1.3/systemd_denotify.egg-info
     hard linking systemd_denotify.egg-info/top_level.txt -> systemd-denotify-1.3/systemd_denotify.egg-info
     Writing systemd-denotify-1.3/setup.cfg
    -tar -cf dist/systemd-denotify-1.3.tar systemd-denotify-1.3
    -gzip -f9 dist/systemd-denotify-1.3.tar
    -tar -cf dist/systemd-denotify-1.3.tar systemd-denotify-1.3
    -gzip -f9 dist/systemd-denotify-1.3.tar
    +Creating tar archive
     removing 'systemd-denotify-1.3' (and everything under it)
     copying dist/systemd-denotify-1.3.tar.gz -> build/bdist.linux-x86_64/rpm/SOURCES
     building RPMs
     rpmbuild -ba --define _topdir /home/grinder/systemd-denotify/build/bdist.linux-x86_64/rpm --clean build/bdist.linux-x86_64/rpm/SPECS/systemd-denotify.spec
     Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YvPeXE
    @@ -65,6 +54,9 @@
     -rw-r--r-- grinder/grinder 4594 2018-01-15 systemd-denotify-1.3/denotify/servicestatuschecker.py
     drwxr-xr-x grinder/grinder    0 2018-01-15 systemd-denotify-1.3/scripts/
     -rw-r--r-- grinder/grinder 1357 2018-01-15 systemd-denotify-1.3/scripts/systemd-denotify.py
    +drwxr-xr-x grinder/grinder    0 2018-01-15 systemd-denotify-1.3/denotify/conf/
    +-rw-r--r-- grinder/grinder  118 2018-01-15 systemd-denotify-1.3/denotify/conf/systemd-denotify.desktop
    +-rw-r--r-- grinder/grinder 6274 2018-01-15 systemd-denotify-1.3/denotify/conf/systemd-denotify.conf
     drwxr-xr-x grinder/grinder    0 2018-01-15 systemd-denotify-1.3/systemd_denotify.egg-info/
     -rw-r--r-- grinder/grinder  795 2018-01-15 systemd-denotify-1.3/systemd_denotify.egg-info/PKG-INFO
     -rw-r--r-- grinder/grinder  458 2018-01-15 systemd-denotify-1.3/systemd_denotify.egg-info/SOURCES.txt
    @@ -102,59 +82,78 @@
     copying denotify/logindmonitor.py -> build/lib/denotify
     copying denotify/mailer.py -> build/lib/denotify
     copying denotify/servicestatuschecker.py -> build/lib/denotify
    +creating build/lib/denotify/conf
    +copying denotify/conf/systemd-denotify.conf -> build/lib/denotify/conf
    +copying denotify/conf/systemd-denotify.desktop -> build/lib/denotify/conf
     running build_scripts
    -creating build/scripts-2.6
    -copying and adjusting scripts/systemd-denotify.py -> build/scripts-2.6
    -changing mode of build/scripts-2.6/systemd-denotify.py from 644 to 755
    -+ exit 0
    +creating build/scripts-3.5
    +copying and adjusting scripts/systemd-denotify.py -> build/scripts-3.5
    +changing mode of build/scripts-3.5/systemd-denotify.py from 644 to 755
     Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.y5qd8W
     running install
     running build
     running build_py
     running build_scripts
     running install_lib


    Αν εξαιρέσουμε κάποιες ανούσιες διαφορές όπως ότι σε εμένα λέει "copying" αντί για "hard linking", ότι δεν είναι τόσο verbose όσο σε εσένα και για κάποιο λόγο αντιγράφει αρχεία της python3 ενώ το τρέχω με python2, η διαφορά είναι ότι μου αντιγράφει κανονικά και τον κατάλογο conf όπως βλέπεις οπότε δεν κολλάει στο τέλος.

    Μήπως το RHEL έχει παλιές εκδόσεις και φταίει αυτό ? Μάλλον δεν σε βοήθησα και πολύ
    "I like offending people, because I think people who get offended should be offended" - Linus Torvalds

    "Παλιά είχαμε φτωχούς οι οποίοι ζούσανε σε φτωχογειτονιές. Τώρα, η οικονομικά δυσπραγούσα τάξη
    κατέχει στέγες υποδεέστερης ποιότητας σε υποβαθμισμένα αστικά κέντρα" - George Carlin
    Γα.... την πολιτική ορθότητα.

  6. #6
    Εγγραφή
    30-01-2005
    Περιοχή
    City of light with thy violet crown
    Ηλικία
    44
    Μηνύματα
    6.989
    Downloads
    23
    Uploads
    0
    Ταχύτητα
    150/30Mbps
    ISP
    BT FTTP
    Router
    pfSense/Openreach ONT
    Αυτό σκέφτηκα κι εγώ. Να δούμε τι θα πει κι ο δημιουργός
    Όταν ενώνουμε τις δυνάμεις μας, μπορούμε να πετύχουμε το ακατόρθωτο - Παναγιώτης Γιαννάκης

    Never say never, because limits, like fears, are often just an illusion -
    Michael Jordan


  7. #7
    Εγγραφή
    11-12-2003
    Περιοχή
    Θεσσαλονίκη
    Ηλικία
    46
    Μηνύματα
    6.615
    Downloads
    6
    Uploads
    0
    Τύπος
    VDSL2
    Ταχύτητα
    102400/10240
    ISP
    Vodafone
    DSLAM
    ΟΤΕ - ΤΟΥΜΠΑ
    Router
    Fritz!box 7530
    Μπράβο στο δημιουργό, ό,τι και να είναι (δεν το έχω δει δηλαδή), αξίζει μπράβο που ασχολείται και το δίνει ως ανοικτό λογισμικό. Ό,τι θέματα έχετε όμως, μην τα λέτε εδώ, γι' αυτό υπάρχει το repository στο github, ανοίξτε ένα issue για να είναι πιο οργανωμένα.
    ... Morpheus: What is "real"? How do you define "real"? If you 're talking about what you can feel, what you can smell, what you can taste and see, then "real" is simply electrical signals interpreted by your brain...
    __________
    Η σελίδα μου - e-tameio

  8. #8
    Εγγραφή
    01-02-2008
    Ηλικία
    43
    Μηνύματα
    587
    Downloads
    1
    Uploads
    0
    Ταχύτητα
    6000/600
    ISP
    Wind
    DSLAM
    Wind - ΡΟΣΤΑΝ
    Router
    linux
    SNR / Attn
    11(dB) / 34(dB)
    Βεβαιώσου ότι έχεις όλα τα πακέτα σχετικα με rpm/python building εγκατεστημένα:
    Κώδικας:
    rpm-build-libs, auto-buildrequires, python2-devel
    επίσης βάλε την selinux σε permissive mode και βεβαιώσου οταν κάνεις login ότι η umask σου είναι 022 (αν και βλέπω στο build script οτι έτσι την έχει).

    Στο τέλος σου λεει
    Κώδικας:
    error: can't copy 'denotify/conf/systemd-denotify.conf': doesn't exist or not a regular file
    error: Bad exit status from /var/tmp/rpm-tmp.y5qd8W (%install)
    οπότε κάνε ένα git clone καθαρό και βεβαιώσου οτι υπάρχει αρχείο μέσα στο conf καταλογο.
    Τελευταία επεξεργασία από το μέλος karakou : 16-01-18 στις 16:10.

  9. #9
    Εγγραφή
    30-01-2005
    Περιοχή
    City of light with thy violet crown
    Ηλικία
    44
    Μηνύματα
    6.989
    Downloads
    23
    Uploads
    0
    Ταχύτητα
    150/30Mbps
    ISP
    BT FTTP
    Router
    pfSense/Openreach ONT
    Παράθεση Αρχικό μήνυμα από GoofyX Εμφάνιση μηνυμάτων
    Μπράβο στο δημιουργό, ό,τι και να είναι (δεν το έχω δει δηλαδή), αξίζει μπράβο που ασχολείται και το δίνει ως ανοικτό λογισμικό. Ό,τι θέματα έχετε όμως, μην τα λέτε εδώ, γι' αυτό υπάρχει το repository στο github, ανοίξτε ένα issue για να είναι πιο οργανωμένα.
    Σωστός δεν το σκέφτηκα

    Παράθεση Αρχικό μήνυμα από karakou Εμφάνιση μηνυμάτων
    Βεβαιώσου ότι έχεις όλα τα πακέτα σχετικα με rpm/python building εγκατεστημένα:
    Κώδικας:
    rpm-build-libs, auto-buildrequires, python2-devel
    επίσης βάλε την selinux σε permissive mode και βεβαιώσου οταν κάνεις login ότι η umask σου είναι 022 (αν και βλέπω στο build script οτι έτσι την έχει).

    Στο τέλος σου λεει
    Κώδικας:
    error: can't copy 'denotify/conf/systemd-denotify.conf': doesn't exist or not a regular file
    error: Bad exit status from /var/tmp/rpm-tmp.y5qd8W (%install)
    οπότε κάνε ένα git clone καθαρό και βεβαιώσου οτι υπάρχει αρχείο μέσα στο conf καταλογο.
    Ευχαριστώ. Θα το ξανακοιτάξω όταν βρω λίγο χρόνο.
    Όταν ενώνουμε τις δυνάμεις μας, μπορούμε να πετύχουμε το ακατόρθωτο - Παναγιώτης Γιαννάκης

    Never say never, because limits, like fears, are often just an illusion -
    Michael Jordan


  10. #10
    Εγγραφή
    28-02-2007
    Μηνύματα
    751
    Downloads
    0
    Uploads
    0
    Παράθεση Αρχικό μήνυμα από megahead13 Εμφάνιση μηνυμάτων
    Ωραίος!

    Προσπαθώ να «χτίσω» το rpm σε RHEL 6.9, αλλά έχω τα παρακάτω προβλήματα:
    Έχεις βάλει systemd σε RHEL 6.x; Αν δεν κάνω λάθος χρησιμοποιεί upstart με τα παλιά initscripts της RH...
    It is wrong to put temptation in the path of any nation,/For fear they should succumb and go astray;
    So when you are requested to pay up or be molested,/You will find it better policy to say: --
    "We never pay any-one Dane-geld,/No matter how trifling the cost;
    For the end of that game is oppression and shame,/And the nation that plays it is lost!"
    Rudyard Kipling

  11. #11
    Εγγραφή
    11-03-2005
    Μηνύματα
    7.448
    Downloads
    24
    Uploads
    0
    Τύπος
    ADSL OTE
    Ταχύτητα
    24576/1024
    ISP
    OTEnet
    DSLAM
    ΟΤΕ - ΚΕΡΑΜΕΙΚΟΣ
    Router
    CISCO Systems K9 SMB
    Τι ακριβώς κάνει αυτό το Script ..?

  12. #12
    Εγγραφή
    30-01-2005
    Περιοχή
    City of light with thy violet crown
    Ηλικία
    44
    Μηνύματα
    6.989
    Downloads
    23
    Uploads
    0
    Ταχύτητα
    150/30Mbps
    ISP
    BT FTTP
    Router
    pfSense/Openreach ONT
    Παράθεση Αρχικό μήνυμα από mobinmob Εμφάνιση μηνυμάτων
    Έχεις βάλει systemd σε RHEL 6.x; Αν δεν κάνω λάθος χρησιμοποιεί upstart με τα παλιά initscripts της RH...


    Το μυαλό μου και μια λίρα και του μπογιατζή ο κόπανος.



    Ναι, πρέπει να το ξαναδώ σε RHEL7. Ευχαριστώ.
    Όταν ενώνουμε τις δυνάμεις μας, μπορούμε να πετύχουμε το ακατόρθωτο - Παναγιώτης Γιαννάκης

    Never say never, because limits, like fears, are often just an illusion -
    Michael Jordan


  13. #13
    Εγγραφή
    20-12-2005
    Μηνύματα
    3.224
    Downloads
    4
    Uploads
    0
    Τύπος
    VDSL2
    Ταχύτητα
    49997/4997
    ISP
    ΟΤΕ Conn-x
    DSLAM
    ΟΤΕ - ΞΑΝΘΗ
    Router
    Speedport W 724V
    SNR / Attn
    24,4(dB) / (dB)
    Παράθεση Αρχικό μήνυμα από mobinmob Εμφάνιση μηνυμάτων
    Έχεις βάλει systemd σε RHEL 6.x; Αν δεν κάνω λάθος χρησιμοποιεί upstart με τα παλιά initscripts της RH...
    Τους έχει κάνει πλύση εγκεφάλου όλους ο Lennart και νομίζουν ότι παντού υπάρχει systemd
    "I like offending people, because I think people who get offended should be offended" - Linus Torvalds

    "Παλιά είχαμε φτωχούς οι οποίοι ζούσανε σε φτωχογειτονιές. Τώρα, η οικονομικά δυσπραγούσα τάξη
    κατέχει στέγες υποδεέστερης ποιότητας σε υποβαθμισμένα αστικά κέντρα" - George Carlin
    Γα.... την πολιτική ορθότητα.

  14. #14
    Εγγραφή
    30-01-2005
    Περιοχή
    City of light with thy violet crown
    Ηλικία
    44
    Μηνύματα
    6.989
    Downloads
    23
    Uploads
    0
    Ταχύτητα
    150/30Mbps
    ISP
    BT FTTP
    Router
    pfSense/Openreach ONT
    Παράθεση Αρχικό μήνυμα από imitheos Εμφάνιση μηνυμάτων
    Τους έχει κάνει πλύση εγκεφάλου όλους ο Lennart και νομίζουν ότι παντού υπάρχει systemd
    Άστα να πάν'. Αυτό συν ότι το μυαλό μου έχει γίνει κιμάς το τελευταίο διάστημα
    Όταν ενώνουμε τις δυνάμεις μας, μπορούμε να πετύχουμε το ακατόρθωτο - Παναγιώτης Γιαννάκης

    Never say never, because limits, like fears, are often just an illusion -
    Michael Jordan


  15. #15
    Εγγραφή
    01-02-2008
    Ηλικία
    43
    Μηνύματα
    587
    Downloads
    1
    Uploads
    0
    Ταχύτητα
    6000/600
    ISP
    Wind
    DSLAM
    Wind - ΡΟΣΤΑΝ
    Router
    linux
    SNR / Attn
    11(dB) / 34(dB)
    Παράθεση Αρχικό μήνυμα από DVader Εμφάνιση μηνυμάτων
    Τι ακριβώς κάνει αυτό το Script ..?
    Έχει ξεφύγει απο τα πλαίσια "σκριπτ". Τότε που είχα ανοίξει το thread σκόπευα να είναι ένα απλό script που θα ελέγχει για το status κάποιων services, αλλά μετα απο κάποιες δικές μου ανάγκες έγινε ολόκληρη εφαρμογή. Μπορείς να διαβάσεις λεπτομέρειες στο github(README).

    - - - Updated - - -

    Παράθεση Αρχικό μήνυμα από megahead13 Εμφάνιση μηνυμάτων
    Άστα να πάν'. Αυτό συν ότι το μυαλό μου έχει γίνει κιμάς το τελευταίο διάστημα
    Έδωσα αυτο το όνομα για να θυμίζει ότι χρειάζεται systemd κιόλας και είναι άμμεσα συνδεδεμένο με αυτό. Θα το ονόμαζα denotify σκετο

Bookmarks

Bookmarks

Δικαιώματα - Επιλογές

  • Δεν μπορείτε να δημοσιεύσετε νέα θέματα
  • Δεν μπορείτε να δημοσιεύσετε νέα μηνύματα
  • Δεν μπορείτε να αναρτήσετε συνημμένα
  • Δεν μπορείτε να επεξεργαστείτε τα μηνύματα σας
  •  
  • Τα BB code είναι σε λειτουργία
  • Τα Smilies είναι σε λειτουργία
  • Το [IMG] είναι σε λειτουργία
  • Το [VIDEO] είναι σε λειτουργία
  • Το HTML είναι εκτός λειτουργίας