archlinux / contrib Goto Github PK
View Code? Open in Web Editor NEWArch contrib scripts
License: GNU General Public License v2.0
Arch contrib scripts
License: GNU General Public License v2.0
Here´s the link for shellcheck´s output
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
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:
All terminals I tried (xfce4-terminal, xterm, tilix) result in invisible text.
OS: Arch Linux (up-to-date)
Version: 20221211-2
When done, show the exact list of rebuild packages again for clarity.
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!
[core] packages must go through [testing], hence the default target should be [testing] without a possibility to commit straight to [core]
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
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 currently checks /sys/fs/cgroup/systemd
as the cgroup base path:
Line 31 in 48e9539
However, if the cgroup v2 hierarchy is used, /sys/fs/cgroup/systemd
does not exist and systemd uses /sys/fs/cgroup
directly.
@eli-schwartz can we get offload-build{-new} to copy files to PKGDEST on the initiating machine?
I just left the tool with "Confirm..." maybe it should just show "Press enter to confirm"
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
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.
Submodules of submodules are not parsed and added to the sources array and are currently initialized by git -c protocol.file.allow=always submodule update --init --recursive
Related todo lock git submodules.
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.
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.
Nice to have.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.