Re: [ovs-dev] [PATCH 2/8] lib/daemon: support --user option for all OVS daemon

2015-10-01 Thread Russell Bryant
On 09/22/2015 08:51 PM, Andy Zhou wrote: > OVS daemons can now support --user option to run as a non-root > user with less privileges. > > See the manpage patch for more descriptions. > > Signed-off-by: Andy Zhou FYI, this patch series seems to break the build for me. With clang: > lib/daemon

Re: [ovs-dev] [PATCH 2/8] lib/daemon: support --user option for all OVS daemon

2015-09-30 Thread Andy Zhou
On Tue, Sep 29, 2015 at 5:19 PM, Ben Pfaff wrote: > On Tue, Sep 22, 2015 at 05:51:11PM -0700, Andy Zhou wrote: >> OVS daemons can now support --user option to run as a non-root >> user with less privileges. >> >> See the manpage patch for more descriptions. >> >> Signed-off-by: Andy Zhou > > ...

Re: [ovs-dev] [PATCH 2/8] lib/daemon: support --user option for all OVS daemon

2015-09-29 Thread Ben Pfaff
On Tue, Sep 22, 2015 at 05:51:11PM -0700, Andy Zhou wrote: > OVS daemons can now support --user option to run as a non-root > user with less privileges. > > See the manpage patch for more descriptions. > > Signed-off-by: Andy Zhou ... > +void > +dameon_become_new_user(bool access_datapath OVS_

[ovs-dev] [PATCH 2/8] lib/daemon: support --user option for all OVS daemon

2015-09-22 Thread Andy Zhou
OVS daemons can now support --user option to run as a non-root user with less privileges. See the manpage patch for more descriptions. Signed-off-by: Andy Zhou v3->v4: calling daemon_become_new_user() from daemonize_start(), so the API works will for most daemons. In case a daemo