1587271296 M * Bertl_oO off to bed now ... have a good one everyone! 1587271299 N * Bertl_oO Bertl_zZ 1587277076 J * Ghislain ~ghislain@adsl2.aqueos.com 1587282579 Q * transacid Ping timeout: 480 seconds 1587282718 J * transacid ~transacid@transacid.de 1587283163 J * fstd ~fstd@xdsl-87-78-137-200.nc.de 1587283632 Q * fstd_ Ping timeout: 480 seconds 1587293172 M * Guy- so I'd like to create a vserver guest where /dev is on a tmpfs; this creates a problem because the /dev/pts mountpoint doesn't exist yet when it's referenced in fstab (I have a pre-start script that populates the tmpfs /dev) 1587293308 M * gnarface how is tmpfs different than what it uses already? devtmpfs? 1587293376 M * Guy- my guests don't use devtmpfs 1587293385 M * Guy- the host does 1587293404 M * Guy- the guests normally all have a minimal static /dev directory with entries for zero, null etc. 1587293425 M * gnarface oh hmmm, and that /dev isn't a different filesystem at all, it's just in the rootfs? 1587293430 M * Guy- yes 1587293436 M * gnarface i see, interesting 1587293440 M * gnarface so you want to make a fake one 1587293452 M * Guy- the entire story is that I have a dozen identical vservers that share the same read-only root directory 1587293465 M * Guy- but I need each instance to have its own /dev/log 1587293485 M * gnarface ah 1587293491 M * gnarface makes sense 1587293522 M * Guy- lxc has the mount option create=dir, which causes the mountpoint to be created before mounting 1587293642 M * Guy- I suppose I could workaround this another way -- have /dev/log be a symlink to /writable/dev/log (/writable is already a small tmpfs) 1587293659 M * Guy- and have socklog (my syslog daemon) listen on /writable/dev/log instead of /dev/log 1587294000 M * Guy- yes, that works 1587294112 M * Guy- oh, I'm such a genius... I just realized that I already did this exact same thing once in 2011, and arrived at the same solution then :) 1587297584 Q * Ghislain Quit: Leaving. 1587299115 N * Bertl_zZ Bertl 1587299118 M * Bertl morning folks! 1587299619 M * Bertl Guy-: you could also use a bind mount to mount the /dev/log into the guest 1587299724 M * Guy- Bertl: I don't think so -- it's a socket, and the process that wants to listen to it expects to create it first 1587299734 M * Guy- *listen on 1587299770 M * Bertl so the socket is created inside the guest? 1587299784 M * Guy- that's how unix domain sockets work, isn't it? 1587299805 M * Bertl well, they work regardless where they are created, no? 1587299806 M * Guy- it's always been my impression that in order to listen() on a unix domain socket you have to be the one creating it 1587299868 M * Bertl what I didn't realize is that you are logging into the guest 1587299883 M * Bertl sounded more like you wanted to collect logs from outside the guest 1587299914 M * Guy- "Binding to a socket with a filename creates a socket in the filesystem" -- from unix(7) 1587299927 M * Guy- yes, I want the guest to run its own syslogd(-like thing) 1587300070 M * Guy- from outside, I could just have a single big syslogd (e.g. syslog-ng) that listens on individual sockets that I bind mount into the guests as /dev/log (although that would create issues when restarting syslog-ng) 1587300108 M * Bertl this was what I thought you were trying to do 1587305274 J * Ghislain ~ghislain@adsl2.aqueos.com 1587312920 M * Bertl Ghislain: please check http://vserver.13thfloor.at/Experimental/delta-uptime-fix03.diff 1587313096 M * Bertl off for now ... bbl 1587313097 N * Bertl Bertl_oO 1587333057 Q * Ghislain Quit: Leaving. 1587333405 Q * transacid Ping timeout: 480 seconds 1587333905 J * transacid ~transacid@transacid.de