[systemd-bugs] [Bug 63560] New: [systemd-nspawn] Problem when changing user inside container.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 15 08:09:25 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=63560

          Priority: medium
            Bug ID: 63560
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: [systemd-nspawn] Problem when changing user inside
                    container.
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: registosites at hotmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

I'm using Arch Linux as a host with systemd 201 and I'm trying to use a
directory with a CentOS 5 install with 'systemd-nspawn -D <centos_dir>'.

Initially I get a root shell and everything works as expected, however when I
try to change user with 'su - <username>' I get a warning that there is no job
control for the current shell.

If <username> uses bash then the warning is:
"-bash: no job control in this shell"

If <username> uses tcsh (which I intend to use) the warning is:
"Warning: no access to tty (Inappropriate ioctl for device).
Thus no job control in this shell."

When using tcsh this also breaks shell completion.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130415/905334d9/attachment.html>


More information about the systemd-bugs mailing list