xfs
[Top] [All Lists]

Re: umount doesn't seem to really unmount

To: Gabriel VLASIU <gabriel@xxxxxxxxxx>
Subject: Re: umount doesn't seem to really unmount
From: Stefan Ring <stefanrin@xxxxxxxxx>
Date: Mon, 27 Aug 2012 09:13:33 +0200
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oFGW1d0NGNYtOu6BozmjjrsFqPAvfZOZTWq6wwzrXDA=; b=EJw9TGzkatCszI2n7xGYaTE3iJfI6+OD9Xi1/CsbCK8y6CDuOsbxRG6dBvv/BsZVyY 4FL9JrnuzUeiTOeQeK9eyn6N8MYHMw+jNVftYJ4UiHZcrY0MT3TRcKZW2FrV62MyitNu xeRbEk+ROox6IZglLvcGgohKOtHHJtdUUfL1mQr5d60EyNTj+rfnkkbpDkvW7w4WXgcb AUeFGejDyr5zGhjxRqTNi2OPZWwrQ5OGfwBXIyWGgH+DqEqTL5gnCSaZiXBH8qGc/+Gd oF3UGWl5XoDy7nLvS4AGyeaQmNyp37O4HQWBKjRsaDcGVcdMMHKaDXN/f8a/5XHiYmMm 3sgw==
In-reply-to: <alpine.LRH.2.02.1208270952390.8166@xxxxxxxxxxxxxxx>
References: <CAAxjCEwdYbcDoUvcAV1n8281HCCvrCvReaG2oM5+h+WV5yDZvA@xxxxxxxxxxxxxx> <1104CDC2-47D2-40CF-8294-A17E33125D54@xxxxxxxxxxx> <CAAxjCExx8LB3PyMUR8T215hMYps17D+Lvg4C0aOwLwD=d-NOMQ@xxxxxxxxxxxxxx> <alpine.LRH.2.02.1208270952390.8166@xxxxxxxxxxxxxxx>
>> $ sudo service mysqld start
> Does not work for me. It must be something else.

It seems to happen with any service that has PrivateTmp set:

$ grep PrivateTmp /usr/lib/systemd/system/*.service
/usr/lib/systemd/system/colord-sane.service:PrivateTmp=yes
/usr/lib/systemd/system/colord.service:PrivateTmp=yes
/usr/lib/systemd/system/cups.service:PrivateTmp=true
/usr/lib/systemd/system/httpd-event.service:PrivateTmp=true
/usr/lib/systemd/system/httpd.service:PrivateTmp=true
/usr/lib/systemd/system/httpd-worker.service:PrivateTmp=true
/usr/lib/systemd/system/mysqld.service:PrivateTmp=true
/usr/lib/systemd/system/openvpn@.service:PrivateTmp=true

I guess that the XFS filesystem must be mounted at the time the
service gets started for this to happen. In that case, the service
seems to hold a hidden reference to XFS which get released when the
service is stopped.

<Prev in Thread] Current Thread [Next in Thread>