Thilo, You are right, if all the packages are not installed, it cannot work. And clearly if those packages are not installed, an error should raise and clearly do not appear.
Can you send me a log of an image creation with the --debug option? That should allow me to track the package installation issue. Regards, ----- "Thilo Bangert" <thilo.bang...@gmx.net> a écrit : > Thilo Bangert <thilo.bang...@gmx.net> said: > > Hi, > > > > i tried to build an image on a clean oscar install. > > the image build failed, claiming that it was aborted by the user > (it > > was not). > > > > the following was printed to the console (running oscar_wizard with > -- > > verbose): > > --> The home directory for user root is /root > > chmod: cannot access `/root/.ssh/authorized_keys*': No such file or > > directory > > ERROR: Impossible to execute chmod 600 /root/.ssh/authorized_keys* > at > > /usr/bin/ssh_install line 227. > > ERROR: Couldn't generate ssh keys (/usr/bin/ssh_install > > /var/lib/systemimager/images/oscarimage) at > /usr/bin/post_rpm_install > > line 94. > > ERROR: Impossible to execute /usr/bin/post_rpm_install oscarimage > eth0 > > -- verbose at /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm > line > > 791 ERROR: Impossible to do post binary package install at > > /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791 > > ERROR: Impossible to run postimagebuild at > > /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791 > > ERROR: Impossible to create the image at > > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk.pm line > 247 > > > > > > this could be prevented by opening a new console, which then would > have > > the /etc/profile.d/ssh-oscar.sh script generate the > > /root/.ssh/authorized_keys* files. > > > i believe this is missing because not all the opium packages have been > > installed. (as said earlier, i think this problem is related to the > problem where not all packages are installed into the image) > > here is a log output followed by some yum queries: > > ============================================================================= > == Running step 3 of the OSCAR wizard: Install OSCAR server packages > > ============================================================================= > > --> Step 3: Running: /usr/bin/install_server eth0 > --> INFO: no //etc/lsb-release file > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/default > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/rhel > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/rhel5 > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/linux- > i386-centos-5-3 > Called getitem with nfs_package and returning nfs > > $VAR1 = { > > 'ssh_daemon' => '/etc/init.d/sshd', > > 'ssh_package' => 'sshd', > > 'dhcp_configfile' => '/etc/dhcpd.conf', > > 'init' => '/etc/init.d ', > > 'portmap_package' => 'portmap', > > 'monitord_daemon' => > '/etc/init.d/systemimager-server-monitord', > 'exports_file' => '/etc/exports', > > 'dhcp_daemon' => '/etc/init.d/dhcpd', > > 'nfs_package' => 'nfs', > > 'mysql_daemon' => '/etc/init.d/mysqld' > > }; > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/default > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/rhel > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/rhel5 > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/linux- > i386-centos-5-3 > Called getitem with ssh_daemon and returning /etc/init.d/sshd > > $VAR1 = { > > 'ssh_daemon' => '/etc/init.d/sshd', > > 'ssh_package' => 'sshd', > > 'dhcp_configfile' => '/etc/dhcpd.conf', > > 'init' => '/etc/init.d ', > > 'portmap_package' => 'portmap', > > 'monitord_daemon' => > '/etc/init.d/systemimager-server-monitord', > 'exports_file' => '/etc/exports', > > 'dhcp_daemon' => '/etc/init.d/dhcpd', > > 'nfs_package' => 'nfs', > > 'mysql_daemon' => '/etc/init.d/mysqld' > > }; > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/default > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/rhel > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/rhel5 > > Opening file > /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/OCA/OS_Settings/linux- > i386-centos-5-3 > Called getitem with portmap_package and returning portmap > > $VAR1 = { > > 'ssh_daemon' => '/etc/init.d/sshd', > > 'ssh_package' => 'sshd', > > 'dhcp_configfile' => '/etc/dhcpd.conf', > > 'init' => '/etc/init.d ', > > 'portmap_package' => 'portmap', > > 'monitord_daemon' => > '/etc/init.d/systemimager-server-monitord', > 'exports_file' => '/etc/exports', > > 'dhcp_daemon' => '/etc/init.d/dhcpd', > > 'nfs_package' => 'nfs', > > 'mysql_daemon' => '/etc/init.d/mysqld' > > }; > > --> Getting internal IP address > > --> Got: [Interface: eth0] > > --> Got: [IP: 192.168.100.100] > > --> Got: [Broadcast: 192.168.100.255] > > --> Got: [Netmask: 255.255.255.0] > > --> Adding hosts to /etc/hosts > > --> Backing up /etc/hosts > > --> Adding required entries to /etc/hosts > > Available core packages: [ yume sync-files switcher sis sc3 rapt oda > c3 > base apitest ] > Array: 10 element(s) > > --> Identified non-core packages: maui netbootmgr opium torque > > --> Installing server non-core packages (core packages already > installed) > Adding the repositories: [ file:/tftpboot/distro/centos-5-i386 ] > > Array: 1 element(s) > > --> [WARN] /tftpboot/distro/centos-5-i386 does not exist > > --> Skipping empty local repo (file:/tftpboot/distro/centos-5-i386) > > --> [INFO] No repository to be added > > --> Select online repo > http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ > Adding the repositories: [ file:/tftpboot/oscar/rhel-5-i386 > file:/tftpboot/oscar/common-rpms ] > Array: 2 element(s) > > --> Skipping empty local repo (file:/tftpboot/oscar/rhel-5-i386) > > --> Skipping empty local repo (file:/tftpboot/oscar/common-rpms) > > --> [INFO] No repository to be added > > --> Select online repo > http://bison.csm.ornl.gov/repos/unstable/rhel-5- > i386 > [INFO] Cache existing > > [INFO] http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ is not in > > cache > --> Analysing http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ > > [yum] > > Detected format for pool > http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/: rpm > --> Adding http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ rpm > > to /var/lib/oscar/cache/repoCache.txt > > [INFO] Cache existing > > [INFO] http://bison.csm.ornl.gov/repos/unstable/rhel-5-i386 is in > cache > Adding the repositories: [ file:/tftpboot/distro/centos-5-i386 ] > > Array: 1 element(s) > > --> [WARN] /tftpboot/distro/centos-5-i386 does not exist > > --> Skipping empty local repo (file:/tftpboot/distro/centos-5-i386) > > --> [INFO] No repository to be added > > --> Select online repo > http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ > > Adding the repositories: [ file:/tftpboot/oscar/rhel-5-i386 > file:/tftpboot/oscar/common-rpms ] > Array: 2 element(s) > > --> Skipping empty local repo (file:/tftpboot/oscar/rhel-5-i386) > > --> Skipping empty local repo (file:/tftpboot/oscar/common-rpms) > > --> [INFO] No repository to be added > > --> Select online repo > http://bison.csm.ornl.gov/repos/unstable/rhel-5- > i386 > Need to install the following packages: opkg-maui-server, > opkg-netbootmgr- > server, opkg-opium-server, opkg-torque-server > Installing packages in /: > > [ opkg-maui-server opkg-netbootmgr-server opkg-opium-server > opkg-torque- > server ] > Array: 4 element(s) > > Repository Manager Status: > > Repos: > http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/,http://bison.csm.ornl.gov/repos/unstable/rhel-5- > i386 > Distro: centos-5-i386 > > Format: rpm > > Packman status: > > Format: RPM > > Associated distro: centos-5-i386 > > ChRoot: / > > Number of repos: 2 > > List of repos: > http://bison.csm.ornl.gov/repos/unstable/rhel-5- > i386, http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ > Error: No matching Packages to list > > Error: No matching Packages to list > > Error: No matching Packages to list > > Error: No matching Packages to list > > Error: Missing Dependency: torque-modulefile is needed by package > opkg- > torque-server-2.1.11-1.noarch (unstable_rhel-5-i386) > Adding the repositories: [ file:/tftpboot/distro/centos-5-i386 ] > > Array: 1 element(s) > > --> [WARN] /tftpboot/distro/centos-5-i386 does not exist > > --> Skipping empty local repo (file:/tftpboot/distro/centos-5-i386) > > --> [INFO] No repository to be added > > --> Select online repo > http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ > > Adding the repositories: [ file:/tftpboot/oscar/rhel-5-i386 > file:/tftpboot/oscar/common-rpms ] > Array: 2 element(s) > > --> Skipping empty local repo (file:/tftpboot/oscar/rhel-5-i386) > > --> Skipping empty local repo (file:/tftpboot/oscar/common-rpms) > > --> [INFO] No repository to be added > > --> Select online repo > http://bison.csm.ornl.gov/repos/unstable/rhel-5- > i386 > [INFO] Cache existing > > [INFO] http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ is in > cache > [INFO] Cache existing > > [INFO] http://bison.csm.ornl.gov/repos/unstable/rhel-5-i386 is in > cache > Adding the repositories: [ file:/tftpboot/distro/centos-5-i386 ] > > Array: 1 element(s) > > --> [WARN] /tftpboot/distro/centos-5-i386 does not exist > > --> Skipping empty local repo (file:/tftpboot/distro/centos-5-i386) > > --> [INFO] No repository to be added > > --> Select online repo > http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ > > Adding the repositories: [ file:/tftpboot/oscar/rhel-5-i386 > file:/tftpboot/oscar/common-rpms ] > Array: 2 element(s) > > --> Skipping empty local repo (file:/tftpboot/oscar/rhel-5-i386) > > --> Skipping empty local repo (file:/tftpboot/oscar/common-rpms) > > --> [INFO] No repository to be added > > --> Select online repo > http://bison.csm.ornl.gov/repos/unstable/rhel-5- > i386 > Need to install the following packages: opkg-maui, opkg-netbootmgr, > opkg- > opium, opkg-torque > Installing packages in /: > > [ opkg-maui opkg-netbootmgr opkg-opium opkg-torque ] > > Array: 4 element(s) > > Repository Manager Status: > > Repos: > http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/,http://bison.csm.ornl.gov/repos/unstable/rhel-5- > i386 > Distro: centos-5-i386 > > Format: rpm > > Packman status: > > Format: RPM > > Associated distro: centos-5-i386 > > ChRoot: / > > Number of repos: 2 > > List of repos: > http://bison.csm.ornl.gov/repos/unstable/rhel-5- > i386, http://mirror.fysik.dtu.dk/linux/centos/5.3/os/i386/ > Error: No matching Packages to list > > Error: No matching Packages to list > > Error: No matching Packages to list > > Error: No matching Packages to list > > --> Successfully installed server non-core binary packages > > --> Marking installed bit in ODA for server non-core packages > > --> Done marking installed bits in ODA > > --> Running post_server_install scripts for server non-core packages > > Looking for /var/lib/oscar/packages/maui/server-post-install... > > Looking for /var/lib/oscar/packages/maui/server-post_install... > > Looking for /var/lib/oscar/packages/maui/post_server_install... > > Looking for /var/lib/oscar/packages/maui/post_server_rpm_install... > > Looking for /var/lib/oscar/packages/netbootmgr/server-post-install... > > Looking for /var/lib/oscar/packages/netbootmgr/server-post_install... > > Looking for /var/lib/oscar/packages/netbootmgr/post_server_install... > > Looking for > /var/lib/oscar/packages/netbootmgr/post_server_rpm_install... > > Looking for /var/lib/oscar/packages/opium/server-post-install... > > Looking for /var/lib/oscar/packages/opium/server-post_install... > > Looking for /var/lib/oscar/packages/opium/post_server_install... > > Looking for /var/lib/oscar/packages/opium/post_server_rpm_install... > > Looking for /var/lib/oscar/packages/torque/server-post-install... > > Looking for /var/lib/oscar/packages/torque/server-post_install... > > Looking for /var/lib/oscar/packages/torque/post_server_install... > > Looking for /var/lib/oscar/packages/torque/post_server_rpm_install... > > --> Successfully ran server non-core package post_server_install > scripts > --> Updating /etc/exports > > Backing up /etc/exports > > Checking for /home export > > Found /home entry > > Existing /home entry ok, preserved > > --> Updating rsyncd.conf > > Backing up rsyncd header stub > > Found hosts allow stanza > > Found hosts allow stanza > > Found hosts allow stanza > > Found hosts allow stanza > > Looks like we already have it! > > Updated rsyncd.conf file > > --> Refreshing services > > Shutting down NFS mountd: [ OK ] > > Shutting down NFS daemon: [ OK ] > > Shutting down NFS quotas: [ OK ] > > Shutting down NFS services: [ OK ] > > Starting NFS services: [ OK ] > > Starting NFS quotas: [ OK ] > > Starting NFS daemon: [ OK ] > > Starting NFS mountd: [ OK ] > > Stopping sshd: [ OK ] > > Starting sshd: [ OK ] > > Enabling service sshd... [INFO] The service is already enabled > > done > > Enabling service dhcpd... [INFO] The service is already enabled > > done > > Enabling service portmap... [INFO] The service is already enabled > > done > > Enabling service nfs... [INFO] The service is already enabled > > done > > --> Fixing root "dot" files > > Making any necessary PATH fixes to (/root/.bashrc) > > Making any necessary PATH fixes to (/root/.tcshrc) > > Making any necessary PATH fixes to (/root/.cshrc) > > --> Finished server_prep script > > --> Step 3: Successfully installed OSCAR server > > --> Update Wizard Env (as needed) > > [r...@buster distro]# > > ============================================================================= > > == oscar_wizard: Exit > > ============================================================================= > > > > [r...@buster distro]# yum search opium > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * base: ftp.crc.dk > * updates: ftp.plusline.de > * addons: ftp.crc.dk > * extras: ftp.plusline.de > ================================ Matched: opium > ================================ > opkg-opium.noarch : OSCARified User File Synchronization System > opkg-opium-client.noarch : OSCARified User File Synchronization > System, > client > : part > opkg-opium-server.noarch : OSCARified User File Synchronization > System, > server > : part > [r...@buster distro]# yum list installed | grep opium > opkg-opium.noarch 1.6-2 > > installed > [r...@buster distro]# yum search maui > Loaded plugins: fastestmirror > Loading mirror speeds from cached hostfile > * base: ftp.crc.dk > * updates: ftp.plusline.de > * addons: ftp.crc.dk > * extras: ftp.plusline.de > ================================ Matched: maui > ================================= > maui-oscar.i686 : OSCARified Maui Scheduler > opkg-maui.noarch : Maui Scheduler > opkg-maui-client.noarch : Maui Scheduler, client part > opkg-maui-server.noarch : Maui Scheduler, server part > [r...@buster distro]# yum list installed | grep maui > opkg-maui.noarch 3.2.6p19-8 > > installed > [r...@buster distro]# > > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited > time, > vendors submitting new applications to BlackBerry App World(TM) will > have > the opportunity to enter the BlackBerry Developer Challenge. See full > prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Oscar-users mailing list > Oscar-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oscar-users ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Oscar-users mailing list Oscar-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-users