Coder Social home page Coder Social logo

contrib's People

Contributors

antonio-rojas avatar christian-heusel avatar denisse-dev avatar diabonas avatar eli-schwartz avatar felixonmars avatar foxboron avatar grazzolini avatar jelly avatar kgizdov avatar lahwaacz avatar mietinen avatar orhun avatar paulfrische avatar starquake avatar svenstaro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

contrib's Issues

Checkservices. Unable to find/parse PID for systemd-udevd and shadowsocks service

I put a hook to full system upgrade to launch checkservices command from https://archlinux.org/packages/?name=archlinux-contrib.
Here is an output

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do
:: Run pacdiff
:: Reload systemd
:: Services with broken maps files
Error:: Unable to find pid file for shadowsocks-rust@config_rust.service.
Error:: Unable to parse pid file for systemd-udevd.service.
Found: 0
:: Services missing on the system bus
:: List failed units

Actually the question is how to fix that Errors. Either udevd service or shadowsocks service working without errors.

If it matters I'm using linux-hardened kernel.

> sudo systemctl show systemd-udevd.service | grep PID
[sudo] password for lex:
GuessMainPID=yes
MainPID=278
ControlPID=0
ExecMainPID=278

Produced output is unreadable

Running checkservices produces "invisible" output on terminals with light/non-black background. The text is there but it has the same color as terminal background. Here is a screenshot:

image

All terminals I tried (xfce4-terminal, xterm, tilix) result in invisible text.

OS: Arch Linux (up-to-date)
Version: 20221211-2

checkservices: Unable to parse pid file for systemd-udevd.service

Hello. When running checkservices,I'm getting the following error:

$ sudo checkservices
:: Run pacdiff
:: Reload systemd
:: Services with broken maps files
Error:: Unable to parse pid file for systemd-udevd.service.
Found: 0
:: Services missing on the system bus
Found: 0
:: List failed units

I am certain that I did not get that error before, but I'm unaware of any recent changes that might have prompted this.

I poked around a bit:

$ sudo systemctl show systemd-udevd.service | grep PID
GuessMainPID=yes
MainPID=300
ControlPID=0
ExecMainPID=300

That is as far as I got unfortunately. This might very well be my fault - somehow.

Is this something I can fix or a bug?

Thank you for your time!

Parse error in pkgsearch script.

When trying to use the pkgsearch script I keep getting the following error:

parse error: Invalid numeric literal at line 1, column 7
parse error: Invalid numeric literal at line 1, column 7

checkservices: broken parsing of systemctl output

It seems that my fix in #20 was not the best - the systemctl command does not print only leading spaces, but the first character can be an arbitrary "mark":

$ systemctl --no-legend --full --type service --state running
  dbus.service                   loaded    active running D-Bus System Message Bus
  nginx.service                  loaded    active running A high performance web server and a reverse proxy server
● org.cups.cupsd.service         not-found active running org.cups.cupsd.service
  polkit.service                 loaded    active running Authorization Manager
...

So passing it to awk '{print $1}' will give instead of org.cups.cupsd.service which is not a valid unit name.

checkservices: Error:: Unable to read maps file of dropbear.service for pid XXXXXXX.

For dropbear the checkservices script seems unable to pickup the correct pid for the service.

# checkservices
:: Run pacdiff
:: Reload systemd
:: Services with broken maps files
Error:: Unable to read maps file of dropbear.service for pid 1259966.
...
# systemctl status dropbear
* dropbear.service - Dropbear SSH Server
     Loaded: loaded (/usr/lib/systemd/system/dropbear.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2022-02-23 09:39:48 CET; 52min ago
   Main PID: 1259409 (dropbear)
...
# checkservices
:: Run pacdiff
:: Reload systemd
:: Services with broken maps files
Error:: Unable to read maps file of dropbear.service for pid 1260860.
Found: 0
# pacman -Q archlinux-contrib
archlinux-contrib 20210710-1

checkservices: Unable to parse pid file for [email protected]

When running checkservices, I am getting the following error:

$ sudo checkservices
:: Run pacdiff
:: Reload systemd
:: Services with broken maps files
Error:: Unable to parse pid file for [email protected].
Found: 0
:: Services missing on the system bus
Found: 0
:: List failed units

Am I doing something wrong? This seems like a common service to have.

Autoconfirm doesn't work

checkservices -h says:

usage checkservices [options]
description: check for updated files in a service
options:
  -h: this help
  -c: auto confirmation
  -l/-L: call (or not) systemd daemon-(reload|reexec) (default: 1)
  -f/-F: display (or not) failed services before quit (default: 1)
  -p/-P: call (or not) pacdiff before act (default: 1)
  -r/-R: restart (or not) services with updated files (default: 1)
  -s/-S: display (or not) status of restarted service (default: 1)
  -u/-U: act (or not) on services in users slice (default: 0)
  -z/-Z: serialize (or not) action (default: 0)

But when I do:
checkservices -c it says:

/usr/bin/checkservices: illegal option -- c

I see this in the code, but it looks like it disables autoconfirm.

co-maintainers lists duplicates for split packages

The output for me returns f.ex. mediainfo and mediainfo-gui, which belong to the same split package, leading to two mediainfo pkgbases in the output.

Either find_packages should return pkgbases, or a unique filter should be added to the final output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.