Bug 228088
| Summary: | chkconfig support | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Curtis Doty <curtis> |
| Component: | fuse | Assignee: | Peter Lemenkov <lemenkov> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | CC: | esandeen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://fedoraproject.org/wiki/FCNewInit | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-07-06 06:12:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Curtis Doty
2007-02-09 21:59:51 UTC
How? I personally don't use chkconfig at all so I can't fix it. Possibly someone can? If you provide a patch I'll apply it ASAP. It's just a comment line or two at the top of your script. I'm amazed this isn't mandatory for Fedora. Take a look at /usr/share/doc/initscripts-*/sysvinitfiles and/or peek at just about any other script in /etc/init.d/ for examples. Since the fuse initscript really only loads a module and tickles sysfs, it could be done early at same time as netfs. Maybe something like this is enough for starters? # chkconfig: 345 25 75 here's a patch. I think starting in all runlevels (12345) is ok, and the start/stop levels (25, 75) are probably ok at least for starters, though testing might be good. --- /etc/init.d/fuse.orig 2007-11-04 20:40:18.000000000 -0600 +++ /etc/init.d/fuse 2007-11-04 20:55:04.000000000 -0600 @@ -11,6 +11,9 @@ # filesystem. ### END INIT INFO +# chkconfig: 12345 25 75 +# Description: Load the fuse module and mount the fuse control filesystem. + set -e PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin Ok, thanks. I'll apply this patch asap. Please don't run fuse in single mode. Also, it looks like Fedora is moving forward with LSB support. And since this bug languished for so long now, it really should use that format. The URL to the Fedora New Init System wiki page is added to this bug, FYI. Curtis, skipping fuse in single user is fine with me, I didn't have any idea if it should be run there or not. It's not doing much, but I don't really care either way. :) Peter, you can just change it to: +# chkconfig: 345 25 75 as Curtis originally suggested, if you agree with this. Even if Fedora is moving forward w/ LSB initscript support, wouldn't it still be nice to have old chkconfig working properly in, say, F8 via a fuse pkg update? Yep, it should have both chkconfig and LSB...for now. fuse-2.7.3-1.fc8 has been submitted as an update for Fedora 8 fuse-2.7.3-1.fc7 has been submitted as an update for Fedora 7 fuse-2.7.3-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update fuse'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-1949 Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |