Package: util-vserver Version: 0.30.210-10 Severity: normal Hi there. I want to push main host's mysqld socket inside vserver. So I think that the simplest way is to mount /var/run/mysqld from host to /var/run/mysqld on vserver. But that forces /var/run/mysqld cleaning on vserver's start.
Then I made mount --bind -o ro (I also tried to specify that in vserver's fstab with the same behaviour), but in such situations vserver start fails with: ======= #vserver bigfoot start chroot-shunlink("var/run/mysqld/mysqld.pid"): Read-only file system chroot-shunlink("var/run/mysqld/mysqld.sock"): Read-only file system Failed to start vserver 'bigfoot' ====== So I see here two questions: 1st May be read-only subdir in /var/run shouldn't be fatal? 2nd Am I wrong? May be there are better way to do the same thing (I'm speaking not about mysql, I know that it's possible to use network socket, but I want to use the same scheme for some other services, so I'm interested in mounting something inside vserver with bind option.). Best regards, and thanks for you work, Alexander. -- System Information: Debian Release: 3.1 APT prefers proposed-updates APT policy: (670, 'proposed-updates'), (670, 'stable'), (620, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.17-1-vserver-k7 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages util-vserver depends on: ii debconf 1.4.30.13 Debian configuration management sy ii iproute 20041019-3 Professional tools to control the ii libbeecrypt6 4.1.2-4 open source C library of cryptogra ii libc6 2.3.6-15 GNU C Library: Shared libraries ii make 3.80-9 The GNU version of the "make" util ii net-tools 1.60-10 The NET-3 networking toolkit Versions of packages util-vserver recommends: ii binutils 2.17-1 The GNU assembler, linker and bina ii debootstrap 0.3.3 Bootstrap a basic Debian system -- debconf information: * util-vserver/start_on_boot: true util-vserver/prerm_stop_running_vservers: true util-vserver/postrm_remove_vserver_configs: false -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]