Package Details: shiftfs-dkms 20220704-1

Git Clone URL: https://aur.archlinux.org/shiftfs-dkms.git (read-only, click to copy)
Package Base: shiftfs-dkms
Description: Linux kernel module that provides a kernel filesystem for uid/gid shifting; dkms version for 5.18.x and 5.19.x kernels
Upstream URL: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/kinetic/log/fs/shiftfs.c?h=lowlatency-next
Keywords: lxd
Licenses: GPL2
Conflicts: shiftfs-dkms
Provides: shiftfs-dkms
Submitter: G3ro
Maintainer: None
Last Packager: G3ro
Votes: 1
Popularity: 0.000000
First Submitted: 2020-09-29 19:53 (UTC)
Last Updated: 2022-07-18 21:04 (UTC)

Dependencies (1)

Required by (0)

Sources (3)

Pinned Comments

G3ro commented on 2021-07-25 19:23 (UTC) (edited on 2022-07-18 21:10 (UTC) by G3ro)

Notes:

  • This version is for kernel versions 5.18.x and 5.19.x .

5.19.x is untested for now though.

  • shiftfs shouldn’t be mounted on top of idmapped mounts and vice versa (see: comment by developer)

For kernel version 5.15.x, see shiftfs-lts-dkms instead.

G3ro commented on 2020-09-29 20:07 (UTC) (edited on 2022-07-18 21:10 (UTC) by G3ro)

Details: shiftfs is a kernel filesystem for uid/gid-shifting.
It is used by LXD for example.

Note: The successor for shiftfs is available, see https://github.com/toby63/shiftfs-dkms#about for more information.

You find more details (including limitations etc.) in the official LXD forum:
https://discuss.linuxcontainers.org/t/trying-out-shiftfs/5155
https://discuss.linuxcontainers.org/t/lxd-usecases-of-shiftfs-volume-disk-share/7735
and in my Github repo: https://github.com/toby63/shiftfs-dkms

Report on the initial implementation in the Ubuntu Kernel repo:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1823186


Usage in LXD:

If you use the LXD package from the Arch Repos, shiftfs will be enabled by default.
You can check whether it is enabled with "lxc info" (look for: shiftfs: "true").

Latest Comments

1 2 Next › Last »

G3ro commented on 2022-01-25 21:34 (UTC)

@dreieck:

  1. I don't see an alternative, if you have one, I will consider any suggestion.
  2. No problem, actually some time ago the situation was different, but another user pointed me towards using specific commits. This allows for me to test things a bit, before releasing a new version (in comparison to a -git version).

dreieck commented on 2022-01-24 21:52 (UTC) (edited on 2022-01-24 21:52 (UTC) by dreieck)

@G3ro:

  1. Thanks, however, now you just have put SKIP for the checksum which skips the check, which is not what is really intented with the checksum.
  2. You are right, I was looking too quickly. My fault and sorry for bothering!

regards!

G3ro commented on 2022-01-24 14:46 (UTC)

@dreieck:

  1. I fixed the checksum failure with the new release, thx for pointing this out, I was somehow thinking it would work, but it doesn't.

  2. No, it is using a specific commit, so it is something like a fixed version.

dreieck commented on 2022-01-24 10:29 (UTC)

Your package seems to use the latest version from git and not a fixed version.

So it should be renamed to shiftfs-dkms-git (i.e. with the git suffix).

Please rename (i.e.upload new and submit merge request to the old one).

Thanks for maintaining!

dreieck commented on 2022-01-24 10:27 (UTC)

Source file checksum verification fails:

==> Validating source files with sha512sums...
    shiftfs.c ... FAILED

Thanks for maintaining!

G3ro commented on 2021-07-25 19:23 (UTC) (edited on 2022-07-18 21:10 (UTC) by G3ro)

Notes:

  • This version is for kernel versions 5.18.x and 5.19.x .

5.19.x is untested for now though.

  • shiftfs shouldn’t be mounted on top of idmapped mounts and vice versa (see: comment by developer)

For kernel version 5.15.x, see shiftfs-lts-dkms instead.

dreieck commented on 2021-05-18 21:22 (UTC)

@G3ro: The build error you mentioned on 2021-05-02 also appeared for nullfs in 5.12-kernel. For nullfs, it has been fixed. So we need (to wait for) a similar fix here, too.

G3ro commented on 2021-04-17 19:35 (UTC)

@gamezelda: Thx for the info. I didn't know that. I might include it in some time or rename the package with -git.

gamezelda commented on 2021-04-17 17:30 (UTC) (edited on 2021-04-17 18:22 (UTC) by gamezelda)

Apologies, I see now that it's mentioned very early in the link, I certainly should have RTFM better.

Regarding pinning to a specific commit, it can be done without any major changes, you can get a link to get the file at a specific commit from the cgit interface by going to the log tab -> specific commit -> tree tab -> "plain" link.

For example here's a link to shiftfs.c that is not to the latest commit: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/hirsute/plain/fs/shiftfs.c?h=master-next&id=eb00293db1e71f56d6cfa9bf2783ef7197765de6

(However I'm not 100% if that would actually keep working if they rebase the branch)