Comments (7)
Hmm, this sounds suspiciously like the regression I though I'd found and fixed before the 4.4 release. I'll see what I can do to reproduce in myLinux and get back to you, this is important!
from finit.
Very odd, I cannot reproduce it here. Enabling and disabling works as it should :-( only thing I can reproduce is:
root@anarchy:~# initctl enable /etc/finit.d/available/lldpd.conf
initctl: cannot find /etc/finit.d/available//etc/finit.d/available/lldpd.conf
How did you do the upgrade? Are you building from the tarballs or building from GIT? If it's the latter you have to call ./autogen.sh
again and do a proper make distclean
before calling ./configure [your-options-here] && make && sudo make install
.
from finit.
I'm using the tarball. I'll try rebuild it using git 4.4 or HEAD. Please wait.
from finit.
Interesting. If anything, the tarball should work better ... looking forward to figuring this one out!
from finit.
After some trying and error I think I resolved this. My installation did not have /etc/finit.d/enabled because in the old version (4.3) initctl created symlink for the /etc/finit.d/available/conf file into /etc/finit.d. After creating /etc/finit.d/enabled and moving all the conf to that dir, I can disable and enable conf again. I believe I did not find this new behavior in the 4.4 ChangeLog.
edit (addition): The finit.conf man page also did not mention this new behavior (or should I say mandatory)
from finit.
Sorry, did not even know 4.3 behaved like that! OK, great to hear you found the root cause at least. Documentation could always be improved, I guess. I'll see what I can do about making it clearer in at least finit.conf(5)
.
Thank you for taking the time to report this. To conclude, I'll have a look at the following two issues that came out of this:
- Error calling
initctl enable
with an absolute path - Clarify/Update
finit.conf(5)
man page wrt. used directories and behavior
from finit.
Thanks for the response and I'm closing this issue.
from finit.
Related Issues (20)
- Update and clarify documentation on /etc/finit.d/{available,enabled}
- Don't use relative paths in serv_enable() HOT 1
- Finit ignores deleted/moved .conf files in /etc/finit.d HOT 1
- finit: ignore initctl reload in runlevel S
- <service/ready> condition not reasserted after crash. HOT 20
- Check for logger (sysklogd) to get PID in captured log messages
- pidfile plugin debug spam HOT 2
- Reload service on touched .conf file not working in symlinked /available HOT 9
- A crashing run statement in runlevel S restarts indefinitely HOT 2
- task [06] incorrectly runs on startup HOT 8
- trouble using redirects, pipes and parameter expansions in 'run' and 'task' HOT 2
- trouble changing default shell in finit.conf HOT 2
- Regression stopping a process and its group
- Run rc.local and runparts in separate thread HOT 2
- Alternative rescue login
- Updating /etc/finit.conf cause error in syslog
- Bash completion
- cgroup move pid failed in 4.4 HOT 2
- Limitation: `run` commands block Finit execution, e.g. `initctl` stops responding
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 finit.