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@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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to