On 2015-08-04 at 19:27 +0200, Ralph Böhme wrote:> Hi Peter, > > On Tue, Aug 04, 2015 at 10:11:56AM -0700, Peter Steele wrote: > > We're transitioning from a VM based environment to one that uses LXC based > > containers running under CentOS 7. CTDB runs fine under our CentOS 7 VMs. > > The same packages running under LXC however seem to have issues: > > > > # systemctl start ctdb.service > > Job for ctdb.service failed. See 'systemctl status ctdb.service' and > > 'journalctl -xn' for details. > > > > # systemctl status ctdb.service > > ctdb.service - CTDB > > Loaded: loaded (/usr/lib/systemd/system/ctdb.service; disabled) > > Active: failed (Result: exit-code) since Tue 2015-08-04 10:09:06 PDT; 5s > > ago > > Process: 9023 ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid start > > (code=exited, status=1/FAILURE) > > > > Aug 04 10:09:04 pws-01 ctdbd[9031]: CTDB starting on node > > Aug 04 10:09:04 pws-01 ctdbd[9032]: Starting CTDBD (Version 2.5.4) as PID: > > 9032 > > Aug 04 10:09:04 pws-01 ctdbd[9032]: Created PID file /run/ctdb/ctdbd.pid > > Aug 04 10:09:04 pws-01 ctdbd[9032]: Unable to set scheduler to SCHED_FIFO > > (Operation not permitted) > > your container is dopping sys_nice cap, fix the container config.Indeed, to make it more concrete, uncomment "lxc.cap.drop = sys_nice" (or so) in /var/lib/lxc/<container>/config. And more caps may occur.> On my Fedora LXC hostFedora host? -- interesting. :-) Cheers - Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba/attachments/20150804/97710475/attachment.sig>
Am 04.08.2015 um 20:05 schrieb Michael Adam:>> On my Fedora LXC host > > Fedora host? -- interesting. :-)why? all our servers are running Fedora for 7 years now from the in 2008 installed virtual machines (VMware vSphere) and survived all dist-upgrades from F9 to F21 wihtout any issue (online updates via yum) one just needs to know what he is doing..... web, mail, vpn, fileserver, dhcp, dns, epp, voip, fax.... -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20150804/45c2f417/signature.sig>
On Tue, Aug 04, 2015 at 08:05:12PM +0200, Michael Adam wrote:> On 2015-08-04 at 19:27 +0200, Ralph Böhme wrote: > > Hi Peter, > > > > On Tue, Aug 04, 2015 at 10:11:56AM -0700, Peter Steele wrote: > > > We're transitioning from a VM based environment to one that uses LXC based > > > containers running under CentOS 7. CTDB runs fine under our CentOS 7 VMs. > > > The same packages running under LXC however seem to have issues: > > > > > > # systemctl start ctdb.service > > > Job for ctdb.service failed. See 'systemctl status ctdb.service' and > > > 'journalctl -xn' for details. > > > > > > # systemctl status ctdb.service > > > ctdb.service - CTDB > > > Loaded: loaded (/usr/lib/systemd/system/ctdb.service; disabled) > > > Active: failed (Result: exit-code) since Tue 2015-08-04 10:09:06 PDT; 5s > > > ago > > > Process: 9023 ExecStart=/usr/sbin/ctdbd_wrapper /run/ctdb/ctdbd.pid start > > > (code=exited, status=1/FAILURE) > > > > > > Aug 04 10:09:04 pws-01 ctdbd[9031]: CTDB starting on node > > > Aug 04 10:09:04 pws-01 ctdbd[9032]: Starting CTDBD (Version 2.5.4) as PID: > > > 9032 > > > Aug 04 10:09:04 pws-01 ctdbd[9032]: Created PID file /run/ctdb/ctdbd.pid > > > Aug 04 10:09:04 pws-01 ctdbd[9032]: Unable to set scheduler to SCHED_FIFO > > > (Operation not permitted) > > > > your container is dopping sys_nice cap, fix the container config. > > Indeed, to make it more concrete, uncomment "lxc.cap.drop = sys_nice" > (or so) in /var/lib/lxc/<container>/config. > > And more caps may occur. > > > On my Fedora LXC host > > Fedora host? -- interesting. :-)actually a Fedora vbox on my Macbook. :))) Cheerio! -Ralph -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de,mailto:kontakt at sernet.de
On 2015-08-04 at 20:16 +0200, Reindl Harald wrote:> > Am 04.08.2015 um 20:05 schrieb Michael Adam: > >>On my Fedora LXC host > > > >Fedora host? -- interesting. :-) > > why?Because I know Ralph and what his work env looked some time ago, and I was just surprised _he_ was using fedora. :-) Michael (writing this mail from mutt running on Fedora... ;-) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.samba.org/pipermail/samba/attachments/20150805/396f2687/attachment.sig>