You are not logged in.

#1 2015-04-30 07:34:05

opotonil
Member
Registered: 2009-09-12
Posts: 34

systemd lxcfs and cgmanager errors

I am trying cgmanager and lxcfs using this systemd units:

/usr/lib/systemd/system/cgmanager.service

[Unit]
Description=Cgroup management daemon
ConditionVirtualization=!container
Before=cgproxy.service
After=local-fs.target

[Service]
Type=simple
ExecStart=/usr/bin/cgmanager -m name=systemd
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

/usr/lib/systemd/system/lxcfs.service

[Unit]
Description=FUSE filesystem for LXC
ConditionVirtualization=!container
Before=lxc.service
After=cgmanager.service
Requires=cgmanager.service

[Service]
ExecStart=/usr/bin/lxcfs -f -s -o allow_other /var/lib/lxcfs
KillMode=process
Restart=on-failure
ExecStopPost=-/bin/fusermount -u /var/lib/lxcfs

[Install]
WantedBy=multi-user.target

But when I start lxcfs.service, cgmaner report next error:

Could not get password database information for UID of current process: User “???” unknown or no memory to allocate password entry

What am doing I bad? some suggestion?

Offline

Board footer

Powered by FluxBB