| Summary: | drakwizard - Proftpd wizard fails because of --no-block option in systemctl | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Derek Jennings <derekjenn> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | bozonius, sysadmin-bugs, thierry.vignaud, wilcal.int |
| Version: | 3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | PATCH | ||
| Source RPM: | drakwizard-3.9-1.mga3 drakxtools-15.54.1-2.mga3 | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 10830 | ||
| Attachments: |
New subroutine for 'systemctl reload-or-restart'
Call reload_or_restart |
||
|
Description
Derek Jennings
2013-08-06 18:47:35 CEST
Created attachment 4242 [details]
New subroutine for 'systemctl reload-or-restart'
This works for me when called from Proftpd.pm when proftpd is either already running, or is stopped.
Created attachment 4243 [details]
Call reload_or_restart
Patch for Proftpd.pm. Similar patches would be required for the other wizards too.
Adding tv to cc for comments. Thierry. This is Bug 6009 come back again since Proftp became native systemctl. Is the approach in my patch OK or can you think of a better way? Whiteboard:
(none) =>
PATCH (In reply to Derek Jennings from comment #3) > Thierry. This is Bug 6009 come back again since Proftp became native > systemctl. > > Is the approach in my patch OK or can you think of a better way? I seem to remember someone mentioning that this feature/function of drakwizard for FTP ( proftpd ) and Apache are no longer being supported. Apache was no longer prefork and became much more difficult to config in drakwizard. CC:
(none) =>
wilcal.int
Derek Jennings
2013-08-23 22:08:56 CEST
Blocks:
(none) =>
10830 In the end I decided to put the fix in Wizcommon.pm to avoid complicating dependencies. The FTP wizard now works OK. It already worked apart from the bogus failure message. The Apache wizard also works fine, but the Squid wizard had issues. It built a configuration for an obsolete version of squid. I have updated the squid wizards default config file, and fixed the syntax errors in the config it generates, and now it also appears to work OK. An updated drakwizard-3.10 will be available shortly. >Validating now on 32 bit.
Not ready for validating yet
Could a sysadmin please remove drakwizard-3.9-1.mga2.src.rpm and drakwizard-3.10-1.mga3.src.rpm from mga2 and 3 core/updates_testing please?
I am putting the fix in the 3.7 and 3.9 branches for mga 2/3 and cannot push them with those there.
ThanksCC:
(none) =>
sysadmin-bugs fixed in drakwizard-3.9.2-1.mga3 drakwizard-3.7.7-1.mga2 drakwizard-3.11-1.mga4 Status:
NEW =>
RESOLVED |