Bug#852696: gvfs-fuse: automatically starts gvfsd and gvfsd-fuse in root user slice

Michael Biebl biebl at debian.org
Thu Jan 26 14:48:45 UTC 2017


Am 26.01.2017 um 14:54 schrieb Laurent Bonnaud:
> Package: gvfs-fuse
> Version: 1.30.3-1
> Severity: normal
> 
> 
> Dear Maintainer,
> 
> I usually remotely log in (via ssh) as root on a system where gvfs packages are installed and I noticed that a gvfsd process and a gvfsd-fuse process are created for the root user:
> 
> # systemd-cgls
> Control group /:
> -.slice
> ├─user.slice
> │ └─user-0.slice
> │   ├─user at 0.service
> │   │ ├─dbus.service
> │   │ │ └─16957 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslo
> │   │ ├─gpg-agent.service
> │   │ │ └─15353 /usr/bin/gpg-agent --supervised
> │   │ ├─init.scope
> │   │ │ ├─31495 /lib/systemd/systemd --user
> │   │ │ └─31497 (sd-pam)
> │   │ └─gvfs-daemon.service
> │   │   ├─17040 /usr/lib/gvfs/gvfsd
> │   │   └─17045 /usr/lib/gvfs/gvfsd-fuse /run/user/0/gvfs -f -o big_writes
> 
> Those processes are of no use to the root user and therefore the system would be better without them.  Would it be possible to prevent the creation of those processes?

Those are so-called user service which are started by your systemd
--user instance (pid 31495)

You can mask the service just like regular services:
systemctl --user mask gvfs-daemon.service

This will create
/root/.config/systemd/user/gvfs-daemon.service → /dev/null.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170126/06605c32/attachment.sig>


More information about the pkg-gnome-maintainers mailing list