From: Eugene Prokopiev <enp@itx.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Упаковка python-приложение
Date: Fri, 8 Jul 2016 09:43:21 +0300
Message-ID: <CANM4RuiJTmiUcMvhyYnmomQBnf9fxUDZH-K8=15_HNnOCFS4vg@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.20.1607071431060.1381@imap.altlinux.org>
7 июля 2016 г., 14:35 пользователь Ivan Zakharyaschev
<imz@altlinux.org> написал:
> Будем надеяться на чей-нибудь ещё совет.
Совет нашелся в спеке для RHEL:ямо
%install
%{__python} setup.py install --skip-build
--install-lib=%{python_sitelib}/%{name} --root %{buildroot}
опытки
Однако дальше в спеке предполагается, что приложение будет запускаться
в %python_sitelibdir/%name прямо от рута.
Попытки запускать приложение не от рута упираются сначала в:
IOError: [Errno 13] Permission denied:
'/usr/lib/python2.7/site-packages/webvirtmgr/webvirtmgr/local/.secret_key_store'
а после chmod в:
webvirtmgr.utils.secret_key.FilePermissionError: Insecure key file permissions!
Похоже, что опакечивание django-приложений - еще один случай, когда
овчинка выделки не стоит :(
--
WBR,
Eugene Prokopiev
next prev parent reply other threads:[~2016-07-08 6:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-07 8:41 Eugene Prokopiev
2016-07-07 9:38 ` Ivan Zakharyaschev
2016-07-07 10:34 ` Eugene Prokopiev
2016-07-07 11:35 ` Ivan Zakharyaschev
2016-07-08 6:43 ` Eugene Prokopiev [this message]
2016-07-08 10:20 ` Ivan Zakharyaschev
2016-07-08 10:27 ` Alexey Shabalin
2016-11-29 18:45 ` Alexey Shabalin
2016-11-30 7:59 ` Eugene Prokopiev
2016-12-08 14:45 ` Alexey Shabalin
2016-12-09 6:57 ` Eugene Prokopiev
2016-12-09 13:17 ` Alexey Shabalin
2016-12-09 13:50 ` Eugene Prokopiev
2016-12-09 14:34 ` Alexey Shabalin
2016-12-10 18:12 ` Eugene Prokopiev
2016-07-07 10:30 ` Антон Мидюков
2016-07-07 10:40 ` Eugene Prokopiev
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='CANM4RuiJTmiUcMvhyYnmomQBnf9fxUDZH-K8=15_HNnOCFS4vg@mail.gmail.com' \
--to=enp@itx.ru \
--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