https://bugzilla.novell.com/show_bug.cgi?id=804454 https://bugzilla.novell.com/show_bug.cgi?id=804454#c19 --- Comment #19 from Thomas Fehr <fehr@suse.com> 2013-04-18 16:01:31 UTC --- Tried on the command line (/bin/systemctl try-restart nscd.service) and it works as expected. y2log also clearly shows that it is called: 2013-04-18 11:19:53 <1> linux-72uc(3465) [YCP] Service.ycp:355 Running service initscript nscd try-restart So if it does not work it should be either a problem with Service.ycp: But the code there is trivial enough: global define integer RunInitScript (string name, string param) { y2milestone("Running service initscript %1 %2", name, param); string command = sformat ("%1 %2 %3.service", invoker, param, name); map<string, any> output=(map<string, any>)SCR::Execute (.target.bash_output, command, $[ "TERM" : "raw"]); if (output["exit"]:-1!=0) y2error("Error while running initscript %1 :\n%2", command, output); return output["exit"]:-1; } The y2log does not show an entry for y2error, so the return code of "/bin/systemctl try-restart nscd.service" was zero. Calling this on the command line after modifying /etc/nscd.conf work as expected: f134:~ # nscd --statistics | grep enab | head -2 ; grep enab /etc/nscd.conf | head -2 no paranoia mode enabled yes cache is enabled # enable-cache <service> <yes|no> enable-cache passwd yes f134:~ # vi /etc/nscd.conf f134:~ # nscd --statistics | grep enab | head -2 ; grep enab /etc/nscd.conf | head -2 no paranoia mode enabled yes cache is enabled # enable-cache <service> <yes|no> enable-cache passwd no f134:~ # /bin/systemctl try-restart nscd.service f134:~ # nscd --statistics | grep enab | head -2 ; grep enab /etc/nscd.conf | head -2 no paranoia mode enabled no cache is enabled # enable-cache <service> <yes|no> enable-cache passwd no f134:~ # So are you really sure that this does indeed not work? I have no server setup ready to try this from yast2 module itself. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.