On 30/12/10 17:02, Olaf van der Spek wrote:
Got a project page already?
Watch this space. Actual code coming soon(tm).
https://github.com/Shachar/safewrite
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
--
To UNSUBSCRIBE, email to debian-devel-requ.
Package: wnpp
Severity: wishlist
Owner: "Fernando Mercês"
* Package name: pev
Version : 0.22
Upstream Author : Fernando Mercês
* URL : http://coding40.mentebinaria.com.br
* License : GPL
Programming Lang: C
Description : Utility to get Product Version
On Thu, 30 Dec 2010, Henrique de Moraes Holschuh wrote:
> BTW: safely removing a file is also tricky. AFAIK, one must open it RW,
> in exclusive mode. stat it by fd and check whether it is what one
> expects (regular file, ownership). unlink it by fd. close the fd.
Eh, as it was pointed to me b
* Philipp Kern [2010-12-29 05:38 +]:
> On 2010-12-28, Carsten Hey wrote:
> > ... One reason for this is that dpkg's perl scripts were rewritten
> > in C.
>
> I know you phrased it differently but wasn't the motivation for this
> rewrite to be more robust in the base system on upgrades? I.e.
* Russ Allbery schrieb:
> pkg-config is much superior to libtool, since libtool includes all the
> libraries on dynamic links as well, which creates unwanted shared library
> dependencies and causes other problems. Because of that, the trend in
> Debian is to empty that information from libtool
On Thu, Dec 30, 2010 at 11:58 PM, Christian Kastner wrote:
> to package-build-audit *only* is a pain. For example, it is easy to
> monitor *all* access to /etc/shadow or changes to /bin/login, it is
> quite hard to limit the monitoring to a *process tree* (our building
> process).
Does the build
On 12/22/2010 05:10 PM, Yaroslav Halchenko wrote:
> May be there is a lightweight utility which could be used for
> monitoring, e.g. it would report suspicious actions being taken from
> within a monitored environment? e.g., it would
>
> * sanitize environment variables
> * monitor open/socket/..
[Cyclonite]
> Dear friends,
>
> I have been looking in your site for any reference to Bitcoin for
> making a small donation.
As far as I know, none of the organisations accepting donations on
behalf of the Debian project accept bitcoin.
We are considering it for the SLX Debian Labs foundation wh
On Thu, Dec 30, 2010 at 07:48:16PM +0100, Tollef Fog Heen wrote:
> This is fairly pointless as 3.0 supports user-specifiable formats and
> filtering and will be out in 2011Q1 so varnishncsa-vhost won't ever be
> in a stable release where it makes sense to have it.
I figured it out.
I had packaged
On Thu, Dec 30, 2010 at 11:33:10AM +, Dominic Hargreaves wrote:
> NB: the current CPAN release is marked as experimental and is missing
> a licence. I will clarify these points with the author before uploading.
This was a mistake; this module does in fact come with a Free licence
but I failed
Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard
* Package name: backbone
Version : 0.3.3
Upstream Author : Jeremy Ashkenas
* URL : http://documentcloud.github.com/backbone/
* License : Expat
Programming Lang: JavaScript
Description : some Back
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear friends,
I have been looking in your site for any reference to Bitcoin for making a
small donation.
As you probably know, Bitcoin (bitcoin.org) is a new kind of a P2P
crypto-currency in which the general public can make donations, macro or
mi
On Thu, Dec 30, 2010 at 7:46 PM, Ben Hutchings wrote:
>> You're kidding me. Got any source to back this up?
>
> http://support.microsoft.com/?kbid=172190
Interesting. Although no longer available on Vista / 7.
Olaf
--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subje
On Thu, 2010-12-30 at 19:29 +0100, Olaf van der Spek wrote:
> On Thu, Dec 30, 2010 at 7:15 PM, Shachar Shemesh wrote:
> > If my (extremely leaky) memory serves me right, Windows has it. It's called
> > "delete and then rename". It is not atomic (since when do Windows care about
> > not breaking st
On Thu, Dec 30, 2010 at 7:20 PM, Shachar Shemesh wrote:
>> Depending on /proc is probably not reasonable.
>> Are you sure it will be atomic? ;)
>>
>>
>
> open old file, get fd (we'll assume it's 5). Do readlink on /proc/self/fd/5,
> and get file's real path. Do everything in said path. It's atomic
On Thu, Dec 30, 2010 at 7:15 PM, Shachar Shemesh wrote:
> If my (extremely leaky) memory serves me right, Windows has it. It's called
> "delete and then rename". It is not atomic (since when do Windows care about
> not breaking stuff), but it does exactly that.
>
> If you delete a file and quickly
On 30/12/10 17:17, Olaf van der Spek wrote:
On Thu, Dec 30, 2010 at 4:12 PM, Shachar Shemesh wrote:
No. I was doing it as code to accompany an article on my company's site
about how it should be done. I was originally out to write the article, and
then decided to add code. A good thing, too
On 30/12/10 19:48, Henrique de Moraes Holschuh wrote:
It doesn't. You need a "copy inode without the file data" filesystem
interface to be able to do that in the first place. It might exist, but I
never heard of it.
If my (extremely leaky) memory serves me right, Windows has it. It's
c
On Thu, Dec 30, 2010 at 6:48 PM, Henrique de Moraes Holschuh
wrote:
>> Why not?
>
> You touched it, it is not the same file/inode anymore.
That's again a regression from the non-atomic case.
>> How does it handle meta-data you don't know about yet?
>
> It doesn't. You need a "copy inode without
On Thu, 30 Dec 2010, Olaf van der Spek wrote:
> On Thu, Dec 30, 2010 at 4:24 PM, Henrique de Moraes Holschuh
> wrote:
> > On Thu, 30 Dec 2010, Olaf van der Spek wrote:
> >> The reason I asked for a kernelland solution is because it's hard if
> >> not impossible to do properly in userland. But some
Package: wnpp
Severity: wishlist
Owner: Alessandro Ghedini
* Package name: libmodule-starter-smart-perl
Version : 0.0.2
Upstream Author : Ruey-Cheng Chen
* URL : http://search.cpan.org/dist/Module-Starter-Smart/
* License : Artistic or GPL-1+ (same as Perl)
Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard
* Package name: diaspora-x2
Version : 0~git20101222
Upstream Author : Ben Nolan
* URL : https://github.com/bnolan/diaspora-x2
* License : Expat (maybe - still working on resolving that)
Programming Lan
On 30/12/10 13:46, Henrique de Moraes Holschuh wrote:
Is there a code snippet or lib function that handles this properly?
I don't know. I'd be interested in the answer, though :-)
I'm working on one under the MIT license. Will probably release it by
the end of this week. Will a
On Thu, Dec 30, 2010 at 4:24 PM, Henrique de Moraes Holschuh
wrote:
> On Thu, 30 Dec 2010, Olaf van der Spek wrote:
>> The reason I asked for a kernelland solution is because it's hard if
>> not impossible to do properly in userland. But some kernel devs (Ted
>> and others) don't agree. They reaso
On Thu, Dec 30, 2010 at 4:20 PM, Henrique de Moraes Holschuh
wrote:
>> What if the target name is actually a symlink? To a different volume?
>
> Indeed. You have to check that first, of course :-( This is about safe
> handling of such functions, symlinks always have to be derreferenced and
> thei
On Thu, 30 Dec 2010, Olaf van der Spek wrote:
> The reason I asked for a kernelland solution is because it's hard if
> not impossible to do properly in userland. But some kernel devs (Ted
> and others) don't agree. They reason that the desire to preserve all
> meta-data isn't reasonable by itself.
On Thu, 30 Dec 2010, Olaf van der Spek wrote:
> On Thu, Dec 30, 2010 at 12:46 PM, Henrique de Moraes Holschuh
> wrote:
> > write temp file (in same directory as file to be replaced), fsync temp
>
> What if the target name is actually a symlink? To a different volume?
Indeed. You have to check t
On Thu, Dec 30, 2010 at 4:12 PM, Shachar Shemesh wrote:
> No. I was doing it as code to accompany an article on my company's site
> about how it should be done. I was originally out to write the article, and
> then decided to add code. A good thing, too, as recursively resolving
> symbolic links i
On 30/12/10 17:02, Olaf van der Spek wrote:
On Thu, Dec 30, 2010 at 3:51 PM, Shachar Shemesh wrote:
I'm working on one under the MIT license. Will probably release it by the
end of this week. Will also handle copying the permissions over and
following symlinks.
Sounds great!
Got a pr
On Thu, Dec 30, 2010 at 03:30:29PM +0100, Olaf van der Spek wrote:
> > name the temp file properly, and teach your program to clean old ones up
> > *safely* (see vim swap file handling for an example) when it starts.
>
> What about restoring meta-data? File-owner?
owner, permissions, acl, xattrs,
On Thu, Dec 30, 2010 at 3:51 PM, Shachar Shemesh wrote:
> I'm working on one under the MIT license. Will probably release it by the
> end of this week. Will also handle copying the permissions over and
> following symlinks.
Sounds great!
Got a project page already?
What aboue file owner? Meta-dat
Package: wnpp
Severity: wishlist
Owner: Joenio Costa
* Package name: varnisnncsa-vhost
Version : 0.1
Upstream Author : Joenio Costa
* URL : http://gitorious.org/varnisnncsa-vhost
* License : GPL2
Programming Lang: Perl
Description : Wrapper around 'va
On 30/12/10 13:46, Henrique de Moraes Holschuh wrote:
Is there a code snippet or lib function that handles this properly?
I don't know. I'd be interested in the answer, though :-)
I'm working on one under the MIT license. Will probably release it by
the end of this week. Will also hand
Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard
* Package name: underscore
Version : 1.1.3
Upstream Author : Jeremy Ashkenas
* URL : http://documentcloud.github.com/underscore/
* License : Expat
Programming Lang: JavaScript
Description : funct
On Thu, Dec 30, 2010 at 12:46 PM, Henrique de Moraes Holschuh
wrote:
> write temp file (in same directory as file to be replaced), fsync temp
What if the target name is actually a symlink? To a different volume?
What if you're not allowed to create a file in that dir.
> If we could use some sys
Package: wnpp
Severity: wishlist
Owner: Dominic Hargreaves
* Package name: libregexp-common-net-cidr-perl
Version : 0.02
Upstream Author : Ruslan U. Zakirov
* URL : http://search.cpan.org/dist/Regexp-Common-net-CIDR/
* License : not yet determined
Programmin
Package: wnpp
Severity: wishlist
Owner: Dominic Hargreaves
* Package name: libhtml-quoted-perl
Version : 0.02
Upstream Author : Ruslan Zakirov
* URL : http://search.cpan.org/dist/HTML-Quoted/
* License : not yet determined
Programming Lang: Perl
Descriptio
On Wed, 29 Dec 2010, Olaf van der Spek wrote:
> Writing a temp file, fsync, rename is often proposed. However, the
It is:
write temp file (in same directory as file to be replaced), fsync temp
file[1], rename (atomic), fsync directory[2].
[1] Makes sure file data has been commited to backend
Package: wnpp
Severity: wishlist
Owner: Dominic Hargreaves
* Package name: libserver-starter-perl
Version : 0.09
Upstream Author : Kazuho Oku
* URL : http://search.cpan.org/dist/Server-Starter/
* License : Perl
Programming Lang: Perl
Description : a su
Package: wnpp
Severity: wishlist
Owner: Dominic Hargreaves
* Package name: libparallel-prefork-perl
Version : 0.11
Upstream Author : Kazuho Oku
* URL : http://search.cpan.org/dist/Parallel-Prefork/
* License : Perl
Programming Lang: Perl
Description :
Package: wnpp
Severity: wishlist
Owner: Bilal Akhtar
* Package name: dmedia
Version : 0.2-1
Upstream Author : Jason Gerard DeRose
* URL : http://launchpad.net/dmedia
* License : AGPL
Programming Lang: Python
Description : A simple distributed media li
- Forwarded message from Vincent Untz -
Date: Wed, 29 Dec 2010 18:49:48 +0100
From: Vincent Untz
To: distributi...@lists.freedesktop.org
Subject: Cross-distro meeting about application installer
Hi all,
We're organizing a cross-distro meeting in January to discuss the
"application inst
On 2010-12-30, Peter Samuelson wrote:
>> On 2010-12-28, Carsten Hey wrote:
>> > system. The remaining perl library packages could be removed after
>> > installing debconf-english.
> [Philipp Kern]
>> "You don't care about non-native speakers?" SCNR.
> That's not how I read it at all. I think h
43 matches
Mail list logo