[opensuse-autoinstall] yast2 <module> commandline with no tty
Hi All, I'm trying to run yast2 for a specific module in an init-script, but yast2 complains about the lack of tty. Does anyone now how to get around this? One of the commands I'm trying to run is: yast2 ldap-server service verbose enable Any input appreciated. /Lars Stavholm -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Monday 18 October 2010 Lars Stavholm wrote:
I'm trying to run yast2 for a specific module in an init-script, but yast2 complains about the lack of tty.
Does anyone now how to get around this?
One of the commands I'm trying to run is:
yast2 ldap-server service verbose enable
you can try it like this: /usr/lib/YaST2/bin/y2base /usr/share/YaST2/clients/ldap-server.ycp service verbose enable scr the "scr" should disable the need for a terminal -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Mon, Oct 25, 2010 at 09:56:21AM +0200, Uwe Gansert wrote:
on Monday 18 October 2010 Lars Stavholm wrote:
I'm trying to run yast2 for a specific module in an init-script, but yast2 complains about the lack of tty.
Does anyone now how to get around this?
One of the commands I'm trying to run is:
yast2 ldap-server service verbose enable
you can try it like this: /usr/lib/YaST2/bin/y2base /usr/share/YaST2/clients/ldap-server.ycp service verbose enable scr
the "scr" should disable the need for a terminal
It might have done, but all I got now was this: # /usr/lib/YaST2/bin/y2base /usr/share/YaST2/clients/ldap-server.ycp service enable scr No such server module service Run 'yast2 -h' for help on usage # echo $? 5 /L -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Monday 25 October 2010 Lars Stavholm wrote:
# /usr/lib/YaST2/bin/y2base /usr/share/YaST2/clients/ldap-server.ycp service enable scr No such server module service Run 'yast2 -h' for help on usage # echo $? 5
sorry, typo. The scr must be in the front: /usr/lib/YaST2/bin/y2base ldap-server scr .... but it seems to be broken for this module anyway :-/ Hans Joachim posted another solution -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Lars Stavholm
-
Uwe Gansert