[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    [systemd-devel] [PATCH 1/2] cryptsetup: RequiresMountsFor if source is a file
From:       fcrozat () suse ! com (Frederic Crozat)
Date:       2013-03-29 15:15:56
Message-ID: 1364570156.7747.4.camel () par-r81vxc7 ! par ! novell ! com
[Download RAW message or body]

Le vendredi 29 mars 2013 ? 16:07 +0100, Lennart Poettering a ?crit :
> On Wed, 27.03.13 17:52, Thomas Wei?schuh (thomas at t-8ch.de) wrote:
> 
> > +        if (startswith(u, "/dev/"))
> 
> Looks like we want is_device_path for this?
> 
> > +                fprintf(f,
> > +                        "BindsTo=%s\n"
> > +                        "After=%s\n"
> > +                        "Before=umount.target\n",
> > +                        d, d);
> > +        else
> > +                fprintf(f,
> > +                        "RequiresMountsFor=%s\n",
> > +                        u);
> > +
> >          fprintf(f,
> >                  "\n[Service]\n"
> >                  "Type=oneshot\n"
> 
> Oh, and could you add a full http URL path to the bug in the commit msg?
> otherwise it's not clear if that's fdobz or rhbz or any other.

You can use https://bugzilla.novell.com/show_bug.cgi?id=730496 for
instance (I have similar patch I had on my list to upstream again, since
I sent a early version before RequiresMountsFor was written but forgot).


-- 
Frederic Crozat <fcrozat at suse.com>
SUSE


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic