[systemd-devel] [PATCH] util: always consider glusterfs as a network filesystem

Lukáš Nykrýn lnykryn at redhat.com
Mon Mar 24 09:38:10 PDT 2014


Po 24. březen 2014, 17:12:30 CET, Lennart Poettering napsal:
> On Mon, 24.03.14 15:55, Lukas Nykryn (lnykryn at redhat.com) wrote:
>
> Are you sure this does what you think it does? I mean, AFAIR glusterfs
> is a fuse FS, and hence will nevershow up like this in fstab nor
> /proc/self/mountinfo... Or am I missing something?
>
Reason for this was https://bugzilla.redhat.com/show_bug.cgi?id=974626 
, it is probably not accessible so in shortcut: In rhel 6 someone is 
using glusterfs,_netdev in fstab and they want me to patch rc.sysinit 
to recognize glusterfs as a network fs by default (so no need for 
_netdev). I don't want to introduce such change in rhel6 and that have 
a regression in rhel7 with systemd.

Lukas

>> ---
>>   src/shared/util.c | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/shared/util.c b/src/shared/util.c
>> index dd67c22..6f73387 100644
>> --- a/src/shared/util.c
>> +++ b/src/shared/util.c
>> @@ -1500,7 +1500,8 @@ bool fstype_is_network(const char *fstype) {
>>                   "nfs\0"
>>                   "nfs4\0"
>>                   "gfs\0"
>> -                "gfs2\0";
>> +                "gfs2\0"
>> +                "glusterfs\0";
>>
>>           return nulstr_contains(table, fstype);
>>   }
>
>
> Lennart
>


More information about the systemd-devel mailing list