On Wed, 01.04.15 12:40, Jóhann B. Guðmundsson ([email protected]) wrote:

> >diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
> >index 494fd1a..9280fd7 100644
> >--- a/src/tmpfiles/tmpfiles.c
> >+++ b/src/tmpfiles/tmpfiles.c
> >@@ -1099,9 +1099,15 @@ static int create_item(Item *i) {
> >                  break;
> >+        case CREATE_SUBVOLUME:
> >+
> >+                /* Don't create subvolumes in chrooted environments. */
> >+                if (running_in_chroot())
> >+                        break;
> >+                /* FALLTHROUGH */
> >+
> >          case CREATE_DIRECTORY:
> >          case TRUNCATE_DIRECTORY:
> >-        case CREATE_SUBVOLUME:
> >                  RUN_WITH_UMASK(0000)
> >                          mkdir_parents_label(i->path, 0755);
> 
> 
> This breakage is not limited to chroot, subvolumes should not be created et
> all.

Why not?

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to