From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] ftp://repocop.altlinux.org
Date: Tue, 15 Sep 2015 23:42:15 +0300
Message-ID: <20150915204215.GA7610@altlinux.org> (raw)
In-Reply-To: <20150915201753.GA8955@dad.imath.kiev.ua>
[-- Attachment #1: Type: text/plain, Size: 2461 bytes --]
On Tue, Sep 15, 2015 at 11:17:53PM +0300, Igor Vlasenko wrote:
> On Tue, Sep 15, 2015 at 11:05:43PM +0300, Dmitry V. Levin wrote:
> > On Tue, Sep 15, 2015 at 11:00:26PM +0300, Igor Vlasenko wrote:
> > > On Tue, Sep 15, 2015 at 07:39:11PM +0700, Евгений Терешков wrote:
> > > > Привет.
> > > >
> > > > Хотел посмотреть отчёты репокопа, но по ошибке попал не на http, а на ftp,
> > > > а он там только притворяется работающим:
> > > > =8<======================================================================
> > > > evg@thinkpad ~ $lftp -d -e ls ftp://repocop.altlinux.org
> > > > ---- Соединение с repocop.altlinux.org (194.107.17.26), порт 21
> > > > <--- 500 OOPS: prctl PR_SET_SECCOMP failed
> > > > ---> FEAT
> > > > <--- 500 OOPS: priv_sock_get_cmd
> > > > ---> QUIT
> > > > ---- Закрытие управляющего соединения
> > > > ---- Соединение с repocop.altlinux.org (194.107.17.26), порт 21
> > > > <--- 500 OOPS: prctl PR_SET_SECCOMP failed
> > > > <--- 500 OOPS: priv_sock_get_cmd
> > > > **** непредвиденный ответ сервера
> > > > ---> FEAT
> > > > ---- Закрытие управляющего соединения
> > > > ---- Соединение с repocop.altlinux.org (194.107.17.26), порт 21
> > > > <--- 500 OOPS: prctl PR_SET_SECCOMP failed
> > > > ---> FEAT
> > > > <--- 500 OOPS: priv_sock_get_cmd
> > > > ---> QUIT
> > > > ---- Закрытие управляющего соединения
> > > > Прерывание
> > > > [1] 1741 exit 1 evg@thinkpad ~ $lftp -d -e ls ftp://repocop.altlinux.org
> > > > =8<======================================================================
> > > >
> > > > Кто будет охранять охраняющих? :-)
> > >
> > > Прошу помошь клуба - как надо настроить ftp в песочнице?
> >
> > Если PR_SET_SECCOMP не работает, то можно добавить в /etc/vsftpd/conf
> > seccomp_sandbox=NO
>
> Помогло, спасибо!
> Это, наверное, в rpm пакете тоже надо добавить,
> раз vsftpd из коробки не хочет работать?
vsftpd хочет работать, просто PR_SET_SECCOMP поддерживается еще не всеми
сизифными ядрами.
На самом деле в vsftpd есть проверка, поддерживает ли ядро PR_SET_SECCOMP,
но эта проверка рассчитывает на то, что PR_SET_NO_NEW_PRIVS и
PR_SET_SECCOMP либо поддерживаются одновременно, либо не поддерживаются
одновременно. А тут объявилось ядро, в котором PR_SET_NO_NEW_PRIVS уже
поддерживается, а PR_SET_SECCOMP -- еще нет.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 181 bytes --]
prev parent reply other threads:[~2015-09-15 20:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-15 12:39 Евгений Терешков
2015-09-15 20:00 ` Igor Vlasenko
2015-09-15 20:05 ` Dmitry V. Levin
2015-09-15 20:17 ` Igor Vlasenko
2015-09-15 20:42 ` Dmitry V. Levin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150915204215.GA7610@altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git