sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] recon stops: "2015-02-11 07:09:48 Raising Sys.Break -- P


From: Kristian Fiskerstrand
Subject: Re: [Sks-devel] recon stops: "2015-02-11 07:09:48 Raising Sys.Break -- PTree may be corrupted: Failure("remove_from_node: attempt to delete non-existant element from prefix tree")"
Date: Fri, 13 Feb 2015 18:28:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 02/13/2015 05:42 PM, Daniel Kahn Gillmor wrote:
> On Fri 2015-02-13 06:14:44 -0500, Kristian Fiskerstrand wrote:
>> On 02/12/2015 04:41 AM, David Benfell wrote:
>> 
>>> This would have been good. How do I just rebuild the PTree?
>> 
>> Just delete the PTree dir and run sks pbuild
> 
> Again, do "sks pbuild" as the user who runs the service :)
> 
> sorry for harping on this point, but i've helped too many people
> who ended up with root-owned files because they weren't thinking
> about the ownership issues during some phase of the process, so i
> want to make sure we keep that recommendation explicit.
> 

The startup-scripts provided by whichever sane distribution should fix
this anyways to be a non-issue. From the Gentoo /etc/init.d/sks-db:

start_pre()
{
    checkpath --owner sks:sks --directory \
        ${SKS_DIR} ${SKS_DIR}/KDB ${SKS_DIR}/PTree
    checkpath --owner sks:sks --file \
        ${SKS_DIR}/*.log ${SKS_DIR}/KDB/* ${SKS_DIR}/PTree/*
}


- -- 
- ----------------------------
Kristian Fiskerstrand
Blog: http://blog.sumptuouscapital.com
Twitter: @krifisk
- ----------------------------
Public OpenPGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
- ----------------------------
"There is no urge so great as for one man to edit another man's work."
(Mark Twain)
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJU3jQ1AAoJEP7VAChXwav6t/YIAK7wuJRUDL7G9jH3lCABUxxV
/Z9Ix8vM+oZY6SI/gUSvuOfSrP6bjCha8DPFikVHlGbvzZTY8VpF+ImRG9csRMjq
8DuKuBLB08NZvm58559c0ZM6CoNI4l3cu0bM7l9gWr0kx5ADCsgHDvC5hNUylH4z
OiCwOd9A0js+TmboUNiARfyT0nEk+F8Ibd+5GP6ZOkfIToxstTDG5poCm59xljcY
7CdVibbjTjfmG1o2eFdSECJyHYYPRMn+AeYIEcCTIWqt3DT1Hu1Pa5ULPadnrj6N
6Lrj0vUnC/xIgGgH12LBf03t+WwkpqgrYAJVbQBb3Z+Ue2mqQoyf7Vf8t+3l5NM=
=fjfl
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]