New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/proc/bus/usb is disabled on newer kernel #69
Comments
Hi @abucodonosor, yeah that patch looks just about right. Thank you for pointing it out! I'll import it tonight, or later this week if I run out of time. Nope, people usually either email me or file GitHub issues, I prefer GitHub although I've considered creating a common mailing list for all my projects. |
Just take your time.. Ok then I'll open issues or feature request on GitHub.. Off Topic The reason I'm asking about a support channel was bc we want to test finit for our Distro The only issue I have so far is the way finit enables services from /etc/finit.d/something.conf Would be posible to add something like this ? Also I think a lot of your run(/some_path/some_app) could be detected from configure.ac also some switches could be added like --with-mount-bin=/foo/mount etc since there are lot differences between Distros and the way / PATHs they Best Regards |
Most newer kernels have usbfs disabled by default. See issue #69 for details. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
What you can do is to add your # /etc/finit.d/sshd.conf
#service :2 [345] /sbin/dropbear -R -F -p 222 -- SSH daemon I've been thinking about adding somthing similar myself to
Which would simply remove the |
Any patches, preferably as pull requests, to support Currently I have no need for this myself, embedded BusyBox-based targets are my primary target, |
Sure I can work on that .. but I will take some time since I'm moving location right now. The idea with initctl enable sounds fine.. but you have to mess with manipulating the files etc. How about a simple /etc/finit.d/disabled-dir/files initctl add foo initctl del foo |
Hmm, dunno ... feels a bit too SysV init and I guess we're bordering on distribution specifics. In my mind I was more thinking about
Have to think about that a bit. Anyway, this should be a separate issue. |
Right should I open an new issue for it ? Also I don't mind the way you want to implement this .. |
Yes, please do.
And if you could summarize what we've talked about there, so one doesn't
have to look around for the background, that would be great.
Thanks! As you can imagine it's a lot of work trying to keep things simple,
doesn't come by itself 😉
Cheers
/J
…On Mon, Mar 20, 2017, 23:49 abucodonosor, ***@***.***> wrote:
Right should I open an new issue for it ?
Also I don't mind the way you want to implement this ..
I really like your config syntax and the way things are working . : )
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#69 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AALM3Upg-g8uBvzhf0uCf1M8XINjIs47ks5rnwKFgaJpZM4Mih0J>
.
|
See issue #69 for a background. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Since at least a44daf2 both run() and run_interactive() can access all system tools in _PATH_STDPATH. A system that uses non-standard paths, e.g. /system/bin and /apps/bin, should update _PATH_STDPATH. For reference, see issue #69 and PRs #70 and #72. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Closing this issue now since last remaining issue has been fixed on master:
Thank you @abucodonosor for the great input and sorry for taking so long to fix the issues you pointed out! |
hello,
I think you should check /proc/bus/usb exists before you try to mount it..
https://github.com/troglobit/finit/blob/master/src/finit.c#L260
since that feature is disabled in most newer kernels.
something like this maybe:
http://sigsegv.spdns.eu/~crazy/check_proc_bus_usb.patch
PS: do you have any support channel for finit ?
Best Regards
The text was updated successfully, but these errors were encountered: