[Bug 583542] Re: ssh server doesn't start when irrelevant filesystems are not available
This issue has hit me multiple times now. I'm usually working on Solaris, HP-UX and AIX. All of these simply issue a big loud warning on the console, but try to continue to boot, which I guess is what most administrators (at least I) expect. As the last entry was 3 years ago - has any decision been reached? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/583542 Title: ssh server doesn't start when irrelevant filesystems are not available To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/583542/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1044837] Re: vmbuilder should accept an empty destination directory
Sorry for the unclear description of the bug. The manpage says: -o, --overwrite Force overwrite of destination directory if it already exist. [default: False] But apparently vmbuilder does not overwrite it. It tries to delete it (which fails with mountpoints) and then recreates it, that's a different action. Why go through the hassle of deleting and recreating it if you can just dump in any file by any name, since you got the permission from the admin that everything in there can be overwritten? Another point: If I know what files are going to be created (*.qcow2 by default), then I expect to be able to create some files in there if I know that the names do not conflict. Currently these files will be lost for no reason that I see. I just see no reason for removing the directory beforehand, as this can cause errors like I have gotten. And it counteracts the use of mountpoints whereever you want. The reason that I do not use /srv/kvm/mysql/mysql is that /srv/kvm is a big filesystem already containing severall VM disk images which are following /srv/kvm/*/*.qcow2. Adding a subdirectory here would require me to migrate all other VMs to ensure that the same mask works for all VM disk images. To avoid that I currently install the VMs to a subdirectory and move the files afterwards, which requires me to edit the domain config, of course. I consider that unnecessary, if vmbuilder would accept -o as just dump anything you want into that directory. if something does not work (due to permissions or other issues), blame the admin and let him clean up the mess. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/1044837 Title: vmbuilder should accept an empty destination directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1044837/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1044837] [NEW] vmbuilder should accept an empty destination directory
Public bug reported: vmbuilder should accept an empty destination directory without trying to recreate it. Currently it fails even with overwrite option if the directory is a mountpoint. vm-builder: 0.12.4+bzr477-0ubuntu3 Description:Ubuntu 12.04.1 LTS Release:12.04 root@tina ~ # mount | grep mysql /dev/mapper/vg00-kvm--mysql on /srv/kvm/mysql type ext4 (rw) root@tina ~ # ls -la /srv/kvm/mysql total 8 drwxr-xr-x 2 root root 4096 Sep 1 23:51 . drwxr-xr-x 7 root root 4096 Sep 1 22:45 .. root@tina ~ # vmbuilder kvm ubuntu -d /srv/kvm/mysql -o -v -m 1024 --cpus 1 --part /srv/kvm/mysql/mysql.part --ip 1.2.3.4 --mask 255.255.255.0 --firstboot /srv/kvm/template/firstboot.sh --execscript /srv/kvm/template/execscript.sh Traceback (most recent call last): File /usr/bin/vmbuilder, line 24, in module cli.main() File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 167, in main shutil.rmtree(destdir) File /usr/lib/python2.7/shutil.py, line 254, in rmtree onerror(os.rmdir, path, sys.exc_info()) File /usr/lib/python2.7/shutil.py, line 252, in rmtree os.rmdir(path) OSError: [Errno 16] Device or resource busy: '/srv/kvm/mysql' root@tina ~ # ** Affects: vm-builder (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/1044837 Title: vmbuilder should accept an empty destination directory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1044837/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1008225] Re: vmbuilder fails using tmpfs due to upstart restarting cron in the tmpfs
This is the version I'm using: ii python-vm-builder 0.12.4+bzr477-0ubuntu1 VM builder -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to vm-builder in Ubuntu. https://bugs.launchpad.net/bugs/1008225 Title: vmbuilder fails using tmpfs due to upstart restarting cron in the tmpfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1008225/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1008225] [NEW] vmbuilder fails using tmpfs due to upstart restarting cron in the tmpfs
Public bug reported: root@tina ~ # vmbuilder kvm ubuntu -d /srv/kvm/b --tmpfs - -m 4096 --ip 192.168.0.18 --hostname b --user tokudan --pass abc123 --addpkg openssh-server --addpkg unattended-upgrades --addpkg acpid 2012-06-03 22:37:12,118 INFO: Mounting tmpfs under /tmp/tmptcTxLBtmpfs 2012-06-03 22:37:12,446 INFO: Calling hook: preflight_check 2012-06-03 22:37:12,449 INFO: Calling hook: set_defaults 2012-06-03 22:37:12,449 INFO: Calling hook: bootstrap 2012-06-03 22:38:13,765 INFO: Calling hook: configure_os 2012-06-03 22:38:18,088 INFO: update-alternatives: error: no alternatives for rsh. 2012-06-03 22:38:18,127 INFO: update-alternatives: error: no alternatives for rlogin. 2012-06-03 22:38:18,166 INFO: update-alternatives: error: no alternatives for rcp. 2012-06-03 22:38:18,420 INFO: Creating SSH2 RSA key; this may take some time ... 2012-06-03 22:38:18,474 INFO: Creating SSH2 DSA key; this may take some time ... 2012-06-03 22:38:18,517 INFO: 2012-06-03 22:38:18,517 INFO: Warning: Fake initctl called, doing nothing 2012-06-03 22:38:18,517 INFO: 2012-06-03 22:38:18,517 INFO: Warning: Fake initctl called, doing nothing 2012-06-03 22:38:18,624 INFO: update-rc.d: warning: unattended-upgrades start runlevel arguments (none) do not match LSB Default-Start values (0 6) 2012-06-03 22:38:18,624 INFO: update-rc.d: warning: unattended-upgrades stop runlevel arguments (0 6) do not match LSB Default-Stop values (none) 2012-06-03 22:38:19,287 INFO: 2012-06-03 22:38:19,287 INFO: Current default time zone: 'Etc/UTC' 2012-06-03 22:38:19,290 INFO: Local time is now: Sun Jun 3 20:38:19 UTC 2012. 2012-06-03 22:38:19,290 INFO: Universal Time is now: Sun Jun 3 20:38:19 UTC 2012. 2012-06-03 22:38:19,290 INFO: Extracting templates from packages: 100% 2012-06-03 22:38:24,563 INFO: 2012-06-03 22:38:24,563 INFO: Current default time zone: 'Etc/UTC' 2012-06-03 22:38:24,565 INFO: Local time is now: Sun Jun 3 20:38:24 UTC 2012. 2012-06-03 22:38:24,565 INFO: Universal Time is now: Sun Jun 3 20:38:24 UTC 2012. 2012-06-03 22:38:24,565 INFO: Run 'dpkg-reconfigure tzdata' if you wish to change it. 2012-06-03 22:38:24,565 INFO: 2012-06-03 22:38:26,026 INFO: stop: Unknown instance: 2012-06-03 22:38:27,353 INFO: Updating certificates in /etc/ssl/certs... WARNING: Skipping duplicate certificate brasil.gov.br.pem 2012-06-03 22:38:27,353 INFO: 0 added, 1 removed; done. 2012-06-03 22:38:27,354 INFO: Running hooks in /etc/ca-certificates/update.ddone. 2012-06-03 22:38:27,768 INFO: restart: Unknown instance: 2012-06-03 22:38:27,861 INFO: start: Unknown parameter: JOB 2012-06-03 22:38:28,082 INFO: umount: /tmp/tmptcTxLBtmpfs/dev: device is busy. 2012-06-03 22:38:28,082 INFO: (In some cases useful info about processes that use 2012-06-03 22:38:28,083 INFO: the device is found by lsof(8) or fuser(1)) 2012-06-03 22:38:28,083 INFO: Cleaning up 2012-06-03 22:38:28,083 ERROR : Process (['umount', '/tmp/tmptcTxLBtmpfs/dev']) returned 1. stdout: , stderr: umount: /tmp/tmptcTxLBtmpfs/dev: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) 2012-06-03 22:38:28,083 INFO: Unmounting tmpfs from /tmp/tmptcTxLBtmpfs 2012-06-03 22:38:28,086 INFO: umount: /tmp/tmptcTxLBtmpfs: device is busy. 2012-06-03 22:38:28,087 INFO: (In some cases useful info about processes that use 2012-06-03 22:38:28,087 INFO: the device is found by lsof(8) or fuser(1)) Traceback (most recent call last): File /usr/bin/vmbuilder, line 24, in module cli.main() File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 239, in main util.clean_up_tmpfs(tmpfs_mount_point) File /usr/lib/python2.7/dist-packages/VMBuilder/util.py, line 199, in clean_up_tmpfs run_cmd(*umount_cmd) File /usr/lib/python2.7/dist-packages/VMBuilder/util.py, line 120, in run_cmd raise VMBuilderException, Process (%s) returned %d. stdout: %s, stderr: %s % (args.__repr__(), status, mystdout.buf, mystderr.buf) VMBuilder.exception.VMBuilderException: Process (['umount', '-t', 'tmpfs', '/tmp/tmptcTxLBtmpfs']) returned 1. stdout: , stderr: umount: /tmp/tmptcTxLBtmpfs: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) root@tina ~ # lsof | grep /tmp/tmptcTxLBtmpfs | awk '{print $1, $2}' | sort -u cron 32720 root@tina ~ # ls -l /proc/32720/exe lrwxrwxrwx 1 root root 0 Jun 3 22:40 /proc/32720/exe - /tmp/tmptcTxLBtmpfs/usr/sbin/cron root@tina ~ # kill -9 32720 root@tina ~ # tail /var/log/syslog Jun 3 22:23:44 tina cron[12186]: (CRON) INFO (Skipping @reboot jobs -- not system startup) Jun 3 22:23:44 tina kernel: [19691.313399] init: cron main process ended, respawning Jun 3 22:38:27 tina