Search results

  1. wbumiller

    lxc-container fährt nicht mehr hoch

    Hier ist die Fehlermeldung `No such file or directory - Failed to exec "/sbin/init".` interessant. Mounte mal den container und schau ob da was fehlt bzw falsche symlinks oder so sind. Bei einem Debian container sollte das ein symlink auf /lib/systemd/systemd sein. Das sollte in etwa so...
  2. wbumiller

    Unprivileged containers

    Unprivileged containers are not allowed to create device nodes. The postfix setup in your container uses a chrooted environment with some device nodes created in /var/spool/postfix/dev. In order to use it in an unprivileged container you first have to get rid of those files in the container you...
  3. wbumiller

    Permission issues when administering unpriviliged containers

    Mh, you might be able to get around this with an smb/cifs mount setting dir_mode and file_mode to allow reading of all files to all users and use that for templates if that's less of a hassle for you than trying pve-container>=2.0-21 from pvetest. For smb/cifs you'd have to mount it manually and...
  4. wbumiller

    Permission issues when administering unpriviliged containers

    There's a fix for opening template archives as root when creating unprivileged containers on the way currently. Should hit the test repositories soon.
  5. wbumiller

    What do I need to do to disable IPv6?

    Ah yes, we currently don't support a failing ip6tables-restore. That would need to be added to the firewall code. In the mean time you could possibly replace the file with dummy I guess...
  6. wbumiller

    What do I need to do to disable IPv6?

    For completeness' sake: You can add `net.ipv6.conf.all.disable_ipv6=1` and `net.ipv6.conf.default.disable_ipv6=1` to /etc/sysctl.conf. (You can apply that to a running system via the `sysctl` command as well, but for the sake of not confusing running services I'd recommend restarting them...
  7. wbumiller

    Why is /dev full on my LXC container?

    The output in the OP shows a mounted /run/shm but no mounted /dev/shm. Usually one of them symlinks to the other (/run/shm to /dev/shm on all my systems actually), so you should check that. If - in your case - /dev/shm doesn't symlink to /run/shm then that would explain the issue as...
  8. wbumiller

    Ping with unprivileged user in LXC container / Linux capabilities

    Seems to be missing indeed after installing from the ISO. We'll need to fix this.
  9. wbumiller

    Ping with unprivileged user in LXC container / Linux capabilities

    This does not really depend on whether the container is privileged or not (or at least it shouldn't, otherwise there's some other issue involved). What distribution are you running in the container and which template? Most distros actually simply make `ping` setuid-root, which should work in...
  10. wbumiller

    Permission issues when administering unpriviliged containers

    The output you posted initially says it's using a temp-dir on an NFS storage. If your local disk space allows it, can you please try setting a `tmpdir` in /etc/vzdump.conf` to a directory on local storage? (Putting the temporary data on NFS has some drawbacks in addition to the extra bandwidth...
  11. wbumiller

    [SOLVED] cannot dd within lxc container

    The system's cache in RAM (what you (are supposed to) see as buffer/cache in the output of `free`).
  12. wbumiller

    [SOLVED] cannot dd within lxc container

    `bs` is the block size, in order to read and write blocks of 1G at a time, dd needs to prepare 1G of data in ram, otherwise there's no way to pass that much to a single write() call (okay, for writing zeroes in particular there would be, but dd doesn't care what the input file is). Apart from...
  13. wbumiller

    Permission issues when administering unpriviliged containers

    With unprivileged containers, the `tar` command runs as the unprivileged root user, these error suggest that those files are not accessible for that user. Can you please provide the output of the following executed from within the running container? # ls -l /var/spool/postfix Also, did you ever...
  14. wbumiller

    Backing up to USB HDD

    The error message in the screenshot leads me to believe that the 2nd command (the 'echo' command) was not issued separately but appended to the apt-key command...
  15. wbumiller

    [SOLVED] LXC ID Mapping issue

    lxc renamed `id_map` to `idmap`, the former is supported by lxc for backward compatibility. PVE should translate id_map to idmap but it may get confused in some situations apparently
  16. wbumiller

    [SOLVED] LXC ID Mapping issue

    PVE assumes that /var/lib/lxc/$vmid is left untouched. Starting/restarting via the API/CLI/GUI will rewrite the config. You can, however, write (most) lxc config keys into /etc/pve/lxc/*.conf, including `lxc.idmap` lines.
  17. wbumiller

    Unable to upgrade node in cluster

    Maybe there's auto-configuration features enabled. If you do not use IPv6 I recommend setting `sysctl net.ipv6.conf.default.disable_ipv6=1`. Check the output of: `sysctl -a |& egrep 'autoconf|accept_ra ='`
  18. wbumiller

    Unable to upgrade node in cluster

    Do you have an ipv6 gateway without having a working ipv6 network? (post the output of `ip -6 route`)