[arch-projects] [RFC] [PATCH] [mkarchroot] Add -d param to optionally support devtmpfs

2012-02-26 Thread Gerardo Exequiel Pozzi
The main intention of this patch is to take advantage of /dev/loop-control and loop devices. Signed-off-by: Gerardo Exequiel Pozzi --- mkarchroot.in | 37 ++--- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/mkarchroot.in b/mkarchroot.in index c

Re: [arch-projects] [PATCH 4/4] fhs: disallow installing in /srv

2012-02-26 Thread Pierre Schmitz
Am 26.02.2012 16:18, schrieb Ionut Biru: > On 02/26/2012 05:11 PM, Alexander Rødseth wrote: >> Where should WordPress put the files if not in /srv/http? In >> /usr/lib/wordpress, with a script that copies the relevant files into >> /srv/http? >> > > /usr/share/webapps > > if i recall, phpmyadmin

Re: [arch-projects] [PATCH 4/4] fhs: disallow installing in /srv

2012-02-26 Thread Tom Gundersen
On Sun, Feb 26, 2012 at 3:46 PM, Seblu wrote: > On Sun, Feb 26, 2012 at 2:56 PM, Tom Gundersen wrote: >> /srv is admin territory, similar to /home. No package should >> put stuff there. > Are you sure of this? > Currently many "http" packages use /srv/http to put static files. e.g > backuppc, fly

Re: [arch-projects] [PATCH 4/4] fhs: disallow installing in /srv

2012-02-26 Thread Ionut Biru
On 02/26/2012 05:11 PM, Alexander Rødseth wrote: > Where should WordPress put the files if not in /srv/http? In > /usr/lib/wordpress, with a script that copies the relevant files into > /srv/http? > /usr/share/webapps if i recall, phpmyadmin is packaged correctly. -- Ionuț signature.asc Des

Re: [arch-projects] [PATCH 4/4] fhs: disallow installing in /srv

2012-02-26 Thread Alexander Rødseth
Where should WordPress put the files if not in /srv/http? In /usr/lib/wordpress, with a script that copies the relevant files into /srv/http? -- Cordially,  Alexander Rødseth  Arch Linux Trusted User  (xyproto on IRC, trontonic on AUR)

Re: [arch-projects] [PATCH 4/4] fhs: disallow installing in /srv

2012-02-26 Thread Seblu
On Sun, Feb 26, 2012 at 2:56 PM, Tom Gundersen wrote: > /srv is admin territory, similar to /home. No package should > put stuff there. Are you sure of this? Currently many "http" packages use /srv/http to put static files. e.g backuppc, flyspray, roundcube... http://www.pathname.com/fhs/pub/fhs-

Re: [arch-projects] [PATCH][namcap] use pure python for exec stack check

2012-02-26 Thread Rémy Oudompheng
Le 4 février 2012 20:57, Dave Reisner a écrit : > Instead of pulling prelink as a dependency, use a pure python library, > pyelftools, for reading the program headers. This could be useful > elsewhere to replace parsing of things such as readelf. > --- > This relies on a pure python ELF parsing li

[arch-projects] [PATCH 4/4] fhs: disallow installing in /srv

2012-02-26 Thread Tom Gundersen
/srv is admin territory, similar to /home. No package should put stuff there. The filesystem package does install /srv/ftp and /srv/http, but that's my problem to worry about (and namcap can't deal with the filesystem package anyway). Signed-off-by: Tom Gundersen --- Namcap/rules/fhs.py |2

[arch-projects] [PATCH 3/4] fhs: prod people into emptying /{s, }bin

2012-02-26 Thread Tom Gundersen
To the extent possible these dirs should be emptied and moved to /usr/bin. In particular we want to avoid new or third-party packages putting stuff here. Some things need to stay in the root (coreutils, util-linux, bash, mount-helpers, ...), but we'll rely on the relevant packagers knowing this an

[arch-projects] [PATCH 2/4] fhs: disallow libraries in /lib

2012-02-26 Thread Tom Gundersen
We want to empty /lib over time. This explicitly allows the subdirs that we don't yet have a plan for emptying, and disallows everything else. This will in particular throw warnings for /lib/*.so* and for /lib/systemd/*. The former is intentional, and the latter can be moved to /usr/lib/systemd (u

[arch-projects] [PATCH 1/4] fhs: remove /var/lock form valid paths

2012-02-26 Thread Tom Gundersen
It is already forbidden, so should not be valid. Signed-off-by: Tom Gundersen --- Namcap/rules/fhs.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Namcap/rules/fhs.py b/Namcap/rules/fhs.py index 2ce34d0..28cb30f 100644 --- a/Namcap/rules/fhs.py +++ b/Namcap/rules/fhs.py

[arch-projects] [PATCH] namcap: Add rubypaths rule warning against usage of usr/lib/ruby/site_ruby.

2012-02-26 Thread Rémy Oudompheng
--- This patch implements FS#28478. Can you take a look? NEWS|6 ++ Namcap/rules/fhs.py |9 + namcap-tags |1 + 3 files changed, 16 insertions(+) diff --git a/NEWS b/NEWS index 3ffe3b6..cbc166d 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +namcap (