Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 17:47:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 253724] FreeBSD 13.0-BETA3: jail: cpuset: setaffinity: Resource deadlock avoided
Message-ID:  <bug-253724-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253724

            Bug ID: 253724
           Summary: FreeBSD 13.0-BETA3: jail: cpuset: setaffinity:
                    Resource deadlock avoided
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rashey@superbox.pl

Hi,
I have upgraded FreeBSD from 12.1-RELEASE to 13.0-BETA3 (fresh install) and=
 I
can't assign different CPU cores to host userland and jail at the same time
anymore.

# cat /boot/loader.conf
init_script=3D"/etc/init.sh"

# cat /etc/init.sh
#!/bin/sh
cpuset -C -c -l 0 -p 1

# cat /etc/jail.conf
path =3D "/usr/jail/${name}";
exec.clean;
exec.start      =3D "sh /etc/rc";
exec.poststart  =3D "cpuset -l 1 -j ${name}";
exec.stop       =3D "sh /etc/rc.shutdown jail";
host.hostname   =3D "${name}";
mount.devfs;
test {
}

# cat /usr/jail/test/etc/rc.conf
dumpdev=3D"NO"
cron_flags=3D"-J 30"
sendmail_enable=3D"NONE"
syslogd_flags=3D"-ss"

# service jail onestart
Starting jails:test: created
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
32-bit compatibility ldconfig path: /usr/lib32
Updating motd:.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating /var/run/os-release done.
Starting syslogd.
/etc/rc: WARNING: failed to start syslogd
Starting cron.

Sat Feb 20 18:40:41 CET 2021
cpuset: setaffinity: Resource deadlock avoided
jail: test: cpuset -l 1 -j test: failed
test: removed
.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253724-227>