Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] mosquitto v1.4 docker container complaingin about user "mosquitto

Hi Avinash,

If you run the broker as root it tries to drop privileges to the
mosquitto user by default. You can change that in the config file if
you want. Or just run as an unprivileged user in the first place.

Cheers,

Roger



On Thu, Feb 19, 2015 at 8:08 PM, Avinash Sridharan
<avinash.sridharan@xxxxxxxxx> wrote:
> After getting mosquitto to work on gentoo, I want to run mosquitto in a
> docker container. Was able to create a docker container with gentoo as the
> base. Got mosquitto-v1.4 compiled in the docker container. However when I
> try launching mosquitto get the following error:
> e37aa0da011b src # ./mosquitto
>
> 1424375578: mosquitto version 1.4 (build date 2015-02-19 19:52:48+0000)
> starting
>
> 1424375578: Using default config.
>
> 1424375578: Opening ipv4 listen socket on port 1883.
>
> 1424375578: Opening ipv6 listen socket on port 1883.
>
> 1424375578: Error: Invalid user 'mosquitto'.
>
>
> Do I need to create a user called mosquitto ? Didn't need to do this on my
> Gentoo build.
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top