[opensuse-autoinstall] opensuse 11.1 autoyast postinstall script and autofs
Hello, I had a postinstall script that worked under 11.0 but doesn't with 11.1. It doesn't do anything complicated but it uses autofs to copy some files from a server and nfs doesn't seem to be started at the time the script runs even though I try to start it from the script. Does anyone else have this problem? I activated the feedback and I can see this message: not starting NFS client services - no NFS found in /etc/fstab: unused Here's part of the script from the autoyast: <script> <debug config:type="boolean">true</debug> <feedback config:type="boolean">true</feedback> <filename>postinstall1</filename> <interpreter>shell</interpreter> <location></location> <network_needed config:type="boolean">true</network_needed> <source><![CDATA[#!/bin/bash chkconfig xinetd on chkconfig rsh on service xinetd start service portmap start service ypbind start service nfs start service autofs start service cups start DIST=/home/install cp $DIST/xerox/xrx4500dt.ppd /usr/share/cups/model/Xerox cp $DIST/xerox/xrx4500dx.ppd /usr/share/cups/model/Xerox ]]></source> </script> Thanks for your help. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
--- Original-Nachricht --- Absender: Pierre Girard Datum: 01/06/2009 04:42 PM
Hello, I had a postinstall script that worked under 11.0 but doesn't with 11.1. It doesn't do anything complicated but it uses autofs to copy some files from a server and nfs doesn't seem to be started at the time the script runs even though I try to start it from the script.
service portmap start
You have to replace portmap with rpcbind with 11.1. At least it solved my post script problems. portmap is no longer available. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
De : Henrik Schmidt [mailto:hbs@ks.informatik.uni-kiel.de]
You have to replace portmap with rpcbind with 11.1. At least it solved my post script problems. portmap is no longer available.
Thanks that took care of my problem as well. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
'hostname' command with 11.1 seems no longer to provide the host name in my post script and autoyast. It worked up to 10.3 (did not use 11.0). Any idea how I can get the hostname now ? -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Printer configuration is broken with 11.1 autoinstall. My config file settings used with 10.3 no longer work. Ok, so I installed 11.1, added printers manually (yast2 printer configuration module is partially broken for adding lpr printers so I used localhost;631) and hoped to get a reference profile with the yast2 autoinstall tool. Result : No <printer> section is created at all. There is no hardware->printer module in yast2 autoinstallation. What's up ? How can I fix this ? -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Wednesday 07 January 2009 Henrik Schmidt wrote:
Result : No <printer> section is created at all. There is no hardware->printer module in yast2 autoinstallation. What's up ?
How can I fix this ?
thanx. I have created a bugreport: https://bugzilla.novell.com/show_bug.cgi?id=464364 -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team 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
Uwe Gansert schrieb:
on Wednesday 07 January 2009 Henrik Schmidt wrote:
Result : No <printer> section is created at all. There is no hardware->printer module in yast2 autoinstallation. What's up ?
How can I fix this ?
thanx. I have created a bugreport: https://bugzilla.novell.com/show_bug.cgi?id=464364
Hello, as I can see in the bug report this issue has been fixed. Where can I get the new yast2-printer module (V.2.18.2)? Regards, Ivan -- IT-Administration AStA TU Darmstadt Hochschulstr. 1 64289 Darmstadt University of Technology Darmstadt Tel. +49-6151-162117 Fax. +49-6151-166026 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Henrik Schmidt schrieb:
Printer configuration is broken with 11.1 autoinstall. My config file settings used with 10.3 no longer work. Ok, so I installed 11.1, added printers manually (yast2 printer configuration module is partially broken for adding lpr printers so I used localhost;631) and hoped to get a reference profile with the yast2 autoinstall tool.
Result : No <printer> section is created at all. There is no hardware->printer module in yast2 autoinstallation. What's up ?
How can I fix this ?
I have this problem too. Can't use the config file used with 10.3 that was this way: <printer> <cups_installation config:type="symbol">client</cups_installation> <default>Brother5170DN</default> <printcap config:type="list"/> <server_hostname>192.168.0.111</server_hostname> <spooler>cups</spooler> </printer> I wan't opensuse 11.1 clients to be cups-clients sending their jobs to the server. I guess just changing <server_hostname> to <cups_remote_server>192.168.0.111</cups_remote_server> won't help?! Any suggestions? Thanks! Regards, Ivan -- IT-Administration AStA TU Darmstadt Hochschulstr. 1 64289 Darmstadt University of Technology Darmstadt Tel. +49-6151-162117 Fax. +49-6151-166026 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 06 January 2009 Henrik Schmidt wrote:
'hostname' command with 11.1 seems no longer to provide the host name in my post script and autoyast. It worked up to 10.3 (did not use 11.0). Any idea how I can get the hostname now ?
does "dig +short -x $YOUR_IP" work? -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team 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 (4)
-
Henrik Schmidt
-
Ivan De Masi
-
Pierre Girard
-
Uwe Gansert