Comments (4)
after some digging I found out that "list_units" isn't the only one that isn't working correctly, the function responsible to pack everything has a lot of issues, some of the examples i found are :
-
session-2.scope
it fails because of the number in the name and -
systemd-fsck-root.service
this one i don't understand why but I'm going to leave this here
○ systemd-fsck-root.service - File System Check on Root Device
Loaded: loaded (/usr/lib/systemd/system/systemd-fsck-root.service; enabled-runtime; preset: disabled)
Active: inactive (dead)
Condition: start condition failed at Sat 2023-02-25 17:29:32 WET; 57min ago
└─ ConditionPathIsReadWrite=!/ was not met
Docs: man:systemd-fsck-root.service(8) ```
Also i will make a commit trying to fix the initial problem
from systemctl.
inital commit for fix #11
from systemctl.
Part of the problem is solved for example systemd-fsck-root.service
is solved (link to commit) but all units with numbers will result in errors, if someone can find a fix for this problem it would be appreciated
from systemctl.
@hubblexplorer the newest commit on main should fix this. Can you please recheck? Here https://github.com/gwbres/systemctl/actions/runs/5589518960/jobs/10217918506#step:8:1832 at least is a unit with a number.
from systemctl.
Related Issues (9)
- list_units function is private HOT 3
- Package does not work on Ubuntu 18.04 HOT 7
- Does not work on Arch linux HOT 3
- list_disabled_services , list_enabled_services not working HOT 1
- feasibility of not depending on the systemctl HOT 4
- parse failed
- unecessary printing when calling from_systemctl
- Service start and enable function would be good
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from systemctl.