linux-router icon indicating copy to clipboard operation
linux-router copied to clipboard

dnsmasq: unknown user or group nobody

Open acmkonings opened this issue 5 years ago • 7 comments

I am experiencing above error when using lnxrouter -i eth0

on my Raspberry Pi 2B with raspbx 14 (stretch). The lnxrouter script cancels itself by consequence. Any help would be appreciated. Thanks!

acmkonings avatar May 14 '19 09:05 acmkonings

Maybe your system doesn't have nobody user.

Try deleting this https://github.com/garywill/linux-router/blob/5452234c081835715f035ca981225e7b3d5ae4f8/lnxrouter#L1427-L1428

garywill avatar May 14 '19 10:05 garywill

No No NO. Do not delete it, instead MAKE THE GROUP AND USER. nobody nobody should have been added, but it appears that raspbx likes to do things the retarded way.

diveyez avatar Jun 18 '19 22:06 diveyez

Same on Ubuntu 18.04. The workaround by @garywill

Maybe your system doesn't have nobody user.

Try deleting this

https://github.com/garywill/linux-router/blob/5452234c081835715f035ca981225e7b3d5ae4f8/lnxrouter#L1427-L1428

works.

jcarius avatar Jul 24 '19 19:07 jcarius

Same on Ubuntu 18.04

That's strange. Ubuntu doesn't have nobody? Or is it other reason?

@jcarius Please check if your ubuntu have nobody user and group. It's needed for a completed Linux system.

As @diveyez said, nobody nobody should have been added. Workaround is just workaround.

garywill avatar Jul 25 '19 03:07 garywill

A quick google search turned out that for Debian flavors one needs to use nobody:nogroup, see this answer

jcarius avatar Jul 25 '19 06:07 jcarius

Just added a group judge. You can try if it works.

garywill avatar Jul 25 '19 10:07 garywill

Works! I guess the issue can be closed.

jcarius avatar Jul 25 '19 19:07 jcarius