Recent content by yarcod

  1. Y

    Terraform user with privileges to enable e.g. `keyctl`?

    Thanks for that! I posted a question there as well :) Even so, do you know -- or know where to look, for that matter -- which privileges are required to affect features of LXC containers? Regardless of if I'm using Terraform or not.
  2. Y

    Terraform user with privileges to enable e.g. `keyctl`?

    Hi! I've tried setting up my Proxmox homelab using Terraform for some time now, and while I have something I am quite happy with (overly complicated, that is), I have never been able to figure out how to set different "features" for newly spawned LXCs. I have created a dedicated Terraform user...
  3. Y

    <vmid>.conf comments?

    In general I would agree. The comments don't do anything really, they're added by Ansible so that it knows which part it should keep up-to-date. So for all updates it will basically do what I do manually now, but whereas I rely on finding my lines with regex, Ansible would instead be able to...
  4. Y

    <vmid>.conf comments?

    All right, I'm a little lost. First, do mp0 support the use of rbind? I thought the only way to use rbind was to use lxc.mount.entry, but I haven't tested the former. Second, the problem I had with Ansible was that only the blockinfile module would allow me to add several mounts in bulk and keep...
  5. Y

    <vmid>.conf comments?

    Thanks, then I know what to expect. I would have no problem using mp0 etc., but as far as I have understood it this notation does not support rbind as of yet? Or is the feature request about something else? I'm trying to attach ZFS datasets to LXC containers, and get permission problems when...
  6. Y

    <vmid>.conf comments?

    Ah, I see. I like that you implemented markdown support in the notes panel -- that makes it more useful! However, I'm not sure that it works for my use case, since I want to control the mounts via a separate tool and not just keep notes about it. You mentioned API -- is there a way to edit the...
  7. Y

    <vmid>.conf comments?

    I've never written Perl -- I have barely read Perl either for that matter -- but I spent just a few minutes giving it a quick try. And again, not saying that I know anything about the rest of the code base, there could be multiple pitfalls here, of course, but would something like this work...
  8. Y

    <vmid>.conf comments?

    Ah, I can't say that I am qualified to determine if there are any security implications, but from the little I can find the basis is the same as regular mount, only that it is performed multiple times to include bindable subdirectories. For future googlers, a description of rbind can be found in...
  9. Y

    <vmid>.conf comments?

    I can understand that you'd rather have me use the CLI interface, but in case of rbind there is currently no support with your own notation. Instead I have to use the config file by itself and add it manually. One idea would be to provide two kinds of notes/comments in the file -- one that...
  10. Y

    <vmid>.conf comments?

    I would like to necro this old thread because it's basically the only relevant question I've found on these forums. Is there really still no way to make inline comments in the .conf files? I'm using Ansible (blockinfile) to add mounts to a LXC configuration, but the wrapping comment section is...
  11. Y

    Permission issues on rbind mounts to LXC

    I did, and it just shows one of the mounts. Attaching just the problematic one does not show up in either command. However, I tried to just attach the root /Tank2 instead of the sub-dataset and that works. When then adding the other mountpoint, /storage/appdata, that one shows up as well. So...
  12. Y

    Permission issues on rbind mounts to LXC

    Oh, sorry, I misinterpreted your comment; I thought you wanted to tell me that it ended up in /. What can I do to troubleshoot this issue though? I can't see anything in /var/log/messages that indicates where the issue is. Something is going wrong in the mounting process, but I can't find...
  13. Y

    Permission issues on rbind mounts to LXC

    Nope, can't find it anywhere. When the mountpoint is removed, however, the files in /storage/media remains. So I guess the mountpoint never was attached correctly in the first place? I've tried both with and without '/'. The only difference I noticed was when I initially attempted to mount it...
  14. Y

    Permission issues on rbind mounts to LXC

    Hi I'm trying to setup my new environment, but have ran into some permission issues. I thought myself quite well-versed in the permissions' department by now, given all the issues I've had to solve before, but this one has left be dumbfounded. On the host side I have several ZFS datasets that...
  15. Y

    Accessing ZFS pool in VM

    I ended up re-trying the pass-through solution from scratch and for some unfathomable reason it worked this time. I don't know what I did wrong before, but everything looks to be working from a Proxmox perspective now. Thank you for your help! :)

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!