Mageia Bugzilla – Attachment 3386 Details for
Bug 8714
After defining NFS share with draknfs, share is not available until manual restart
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch to allow draknfs to export shares
draknfs.patch (text/plain), 579 bytes, created by
Derek Jennings
on 2013-01-16 23:18:59 CET
(
hide
)
Description:
patch to allow draknfs to export shares
Filename:
MIME Type:
Creator:
Derek Jennings
Created:
2013-01-16 23:18:59 CET
Size:
579 bytes
patch
obsolete
>--- /usr/sbin/draknfs 2013-01-16 20:54:31.000000000 +0000 >+++ draknfs 2013-01-16 23:23:50.000000000 +0000 >@@ -84,7 +84,7 @@ > } > > sub reload_dialog() { >- wait_action("service nfs-server reload"); >+ wait_action("exportfs -ra"); > } > > sub wait_action { >@@ -577,7 +577,7 @@ > my $okcancel = create_okcancel({ > cancel_clicked => sub { ugtk2->exit }, > ok_clicked => sub { &write_conf; >- run_program::raw({ detach => 1 }, "service nfs-server reload"); >+ run_program::raw({ detach => 1 }, "exportfs -ra"); > ugtk2->exit }, > }, > );
--- /usr/sbin/draknfs 2013-01-16 20:54:31.000000000 +0000 +++ draknfs 2013-01-16 23:23:50.000000000 +0000 @@ -84,7 +84,7 @@ } sub reload_dialog() { - wait_action("service nfs-server reload"); + wait_action("exportfs -ra"); } sub wait_action { @@ -577,7 +577,7 @@ my $okcancel = create_okcancel({ cancel_clicked => sub { ugtk2->exit }, ok_clicked => sub { &write_conf; - run_program::raw({ detach => 1 }, "service nfs-server reload"); + run_program::raw({ detach => 1 }, "exportfs -ra"); ugtk2->exit }, }, );
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8714
: 3386