* [gentoo-user] Um...Who can fix this?
@ 2005-10-24 21:06 gentuxx
2005-10-24 21:23 ` Christoph Gysin
2005-10-24 21:32 ` Jonathan Wright
0 siblings, 2 replies; 13+ messages in thread
From: gentuxx @ 2005-10-24 21:06 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I was emerging some packages to set up a postfix virtual mailer and
got this:
>>> emerge (8 of 10) mail-client/sylpheed-claws-1.0.5 to /
!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/digest-sylpheed-claws-1.9.1
- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDXUzHLYGSSmmWCZMRAg8rAJ4x4uAeLqb0o+OTR5IpwpkxeLmuLACg6e9B
Um0yt8Haw1RRmWulkRLnufY=
=ySlo
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-24 21:06 [gentoo-user] Um...Who can fix this? gentuxx
@ 2005-10-24 21:23 ` Christoph Gysin
2005-10-24 21:32 ` Jonathan Wright
1 sibling, 0 replies; 13+ messages in thread
From: Christoph Gysin @ 2005-10-24 21:23 UTC (permalink / raw
To: gentoo-user
gentuxx wrote:
> I was emerging some packages to set up a postfix virtual mailer and
> got this:
>
>>>>emerge (8 of 10) mail-client/sylpheed-claws-1.0.5 to /
>
> !!! Security Violation: A file exists that is not in the manifest.
> !!! File: files/digest-sylpheed-claws-1.9.1
# emerge --sync
-- or --
# cd /usr/portage/mail-client/sylpheed-claws
# ebuild sylpheed-claws-1.9.1.ebuild digest
Christoph
--
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-24 21:06 [gentoo-user] Um...Who can fix this? gentuxx
2005-10-24 21:23 ` Christoph Gysin
@ 2005-10-24 21:32 ` Jonathan Wright
2005-10-24 21:56 ` gentuxx
2005-10-24 22:16 ` Nick Rout
1 sibling, 2 replies; 13+ messages in thread
From: Jonathan Wright @ 2005-10-24 21:32 UTC (permalink / raw
To: gentoo-user
gentuxx wrote:
> !!! Security Violation: A file exists that is not in the manifest.
> !!! File: files/digest-sylpheed-claws-1.9.1
There's a file within the portage structure for sylpheed-claws that it
hasn't been told about. Two options:
- First, is it's just a standard package from the normal portage tree
(i.e. it's not in a layout), then run a sync. If there is still an
error, file a bug.
- Second, run the digest command. You'll need to do this if it's not in
the standard portage tree and it's something you have added. Portage
needs to be told all the files within the tree and their md5 values, to
make sure nothing bad gets in :)
To do this, run
# ebuild /path/to/sylpheed-claws-1.9.1.ebuild digest
This will run though all the files and rebuilt the digest file. You can
do this in the main portage tree aswell, but it's not recommended as
something could be there that shouldn't.
--
Jonathan Wright ~ mail at djnauk.co.uk
~ www.djnauk.co.uk
--
2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
up 10:06, 0 users, load average: 3.50, 1.73, 0.83
--
"It always seemed to me a bit pointless to disapprove of
homosexuality. It's like disapproving of rain."
~ Francis Maude
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-24 21:32 ` Jonathan Wright
@ 2005-10-24 21:56 ` gentuxx
2005-10-24 22:16 ` Nick Rout
1 sibling, 0 replies; 13+ messages in thread
From: gentuxx @ 2005-10-24 21:56 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jonathan Wright wrote:
> gentuxx wrote:
>
>> !!! Security Violation: A file exists that is not in the manifest.
>> !!! File: files/digest-sylpheed-claws-1.9.1
>
>
> There's a file within the portage structure for sylpheed-claws that
> it hasn't been told about. Two options:
>
> - First, is it's just a standard package from the normal portage
> tree (i.e. it's not in a layout), then run a sync. If there is still
> an error, file a bug.
>
I've just run a --sync, and am retrying the emerge...
> - Second, run the digest command. You'll need to do this if it's not
> in the standard portage tree and it's something you have added.
> Portage needs to be told all the files within the tree and their md5
> values, to make sure nothing bad gets in :)
>
> To do this, run
>
> # ebuild /path/to/sylpheed-claws-1.9.1.ebuild digest
>
> This will run though all the files and rebuilt the digest file. You
> can do this in the main portage tree aswell, but it's not
> recommended as something could be there that shouldn't.
>
Thanks.
- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDXVioLYGSSmmWCZMRAuB5AKCQ1QHpbRStSnovkKi7dxhoMHp2UwCgzmyw
GQzxlNvFuGBkPefTvBrByww=
=HvrG
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-24 21:32 ` Jonathan Wright
2005-10-24 21:56 ` gentuxx
@ 2005-10-24 22:16 ` Nick Rout
2005-10-24 22:31 ` [gentoo-user] Um...Who can fix this? -- SOLVED gentuxx
2005-10-24 23:33 ` [gentoo-user] Um...Who can fix this? Jonathan Wright
1 sibling, 2 replies; 13+ messages in thread
From: Nick Rout @ 2005-10-24 22:16 UTC (permalink / raw
To: gentoo-user
On Mon, 24 Oct 2005 22:32:46 +0100
Jonathan Wright wrote:
> - Second, run the digest command. You'll need to do this if it's not in
> the standard portage tree and it's something you have added. Portage
> needs to be told all the files within the tree and their md5 values, to
> make sure nothing bad gets in :)
And by running emerge --digest <target> or ebuild <target.ebuild> digest
screws the digest system, because it substitutes the values you got from
the portage mirror with the values from the files on your computer. It
destroys any safety that the digest system offers.
So if someone has broken into your system and screwed around with the
portage tree so that when you install sylpheed-claws it does something
nasty, running the digest command will allow that to happen.
If the digests are wrong find out what the problem is!
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this? -- SOLVED
2005-10-24 22:16 ` Nick Rout
@ 2005-10-24 22:31 ` gentuxx
2005-10-24 22:53 ` Ciaran McCreesh
2005-10-24 23:33 ` [gentoo-user] Um...Who can fix this? Jonathan Wright
1 sibling, 1 reply; 13+ messages in thread
From: gentuxx @ 2005-10-24 22:31 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Nick Rout wrote:
>On Mon, 24 Oct 2005 22:32:46 +0100
>Jonathan Wright wrote:
>
>>- Second, run the digest command. You'll need to do this if it's not in
>>the standard portage tree and it's something you have added. Portage
>>needs to be told all the files within the tree and their md5 values, to
>>make sure nothing bad gets in :)
>
>
>And by running emerge --digest <target> or ebuild <target.ebuild> digest
>screws the digest system, because it substitutes the values you got from
>the portage mirror with the values from the files on your computer. It
>destroys any safety that the digest system offers.
>
>So if someone has broken into your system and screwed around with the
>portage tree so that when you install sylpheed-claws it does something
>nasty, running the digest command will allow that to happen.
>
>If the digests are wrong find out what the problem is!
>
My guess is that it didn't even get to the digest checks when it gave
me the error/warning. emerge --sync seems to have fixed the problem.
I probably should have tried that before posting. ;-)
- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDXWCsLYGSSmmWCZMRAhEwAJ4oplvQ41TfWsYJL9DmY6DGJ6dvHQCgi/Us
wpUly/Hz/3VTvZdFE7k1ILI=
=7dn/
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this? -- SOLVED
2005-10-24 22:31 ` [gentoo-user] Um...Who can fix this? -- SOLVED gentuxx
@ 2005-10-24 22:53 ` Ciaran McCreesh
0 siblings, 0 replies; 13+ messages in thread
From: Ciaran McCreesh @ 2005-10-24 22:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
On Mon, 24 Oct 2005 15:31:08 -0700 gentuxx <gentuxx@gmail.com> wrote:
| My guess is that it didn't even get to the digest checks when it gave
| me the error/warning. emerge --sync seems to have fixed the problem.
| I probably should have tried that before posting. ;-)
What probably happened is that the cvs pull happened mid-commit, after
some files had been committed but before the manifest recommit. It's a
pretty narrow time slot but it can happen occasionally. Usually an
emerge sync will fix it.
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-24 22:16 ` Nick Rout
2005-10-24 22:31 ` [gentoo-user] Um...Who can fix this? -- SOLVED gentuxx
@ 2005-10-24 23:33 ` Jonathan Wright
2005-10-24 23:54 ` Nick Rout
1 sibling, 1 reply; 13+ messages in thread
From: Jonathan Wright @ 2005-10-24 23:33 UTC (permalink / raw
To: gentoo-user
Nick Rout wrote:
> On Mon, 24 Oct 2005 22:32:46 +0100
> Jonathan Wright wrote:
>
>
>>- Second, run the digest command. You'll need to do this if it's not in
>>the standard portage tree and it's something you have added. Portage
>>needs to be told all the files within the tree and their md5 values, to
>>make sure nothing bad gets in :)
>
>
> And by running emerge --digest <target> or ebuild <target.ebuild> digest
> screws the digest system, because it substitutes the values you got from
> the portage mirror with the values from the files on your computer. It
> destroys any safety that the digest system offers.
>
> So if someone has broken into your system and screwed around with the
> portage tree so that when you install sylpheed-claws it does something
> nasty, running the digest command will allow that to happen.
Hence the reason I said it wasn't recommended (paragraph following
this). However, if you have downloaded a few files from bugzilla and
have added them to an extra layout you will have to run a digest command
before running portage - it will not run without. He may not have know
that, hence giving both points and the bad points about running digest
within the main tree.
> If the digests are wrong find out what the problem is!
In this case, it could most likely be the digest itself that was
incorrect, but this is rare, while there was nothing else wrong with the
system.
--
Jonathan Wright ~ mail at djnauk.co.uk
~ www.djnauk.co.uk
--
2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
up 12:11, 0 users, load average: 1.87, 2.44, 2.34
--
"Isn't it a violation of the Georgia sodomy law for the Supreme
Court to have its head up its ass?"
~ Letter to Playboy, Feb 1987
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-24 23:33 ` [gentoo-user] Um...Who can fix this? Jonathan Wright
@ 2005-10-24 23:54 ` Nick Rout
2005-10-25 0:02 ` Ciaran McCreesh
2005-10-25 0:07 ` Holly Bostick
0 siblings, 2 replies; 13+ messages in thread
From: Nick Rout @ 2005-10-24 23:54 UTC (permalink / raw
To: gentoo-user
On Tue, 25 Oct 2005 00:33:11 +0100
Jonathan Wright wrote:
> > So if someone has broken into your system and screwed around with the
> > portage tree so that when you install sylpheed-claws it does something
> > nasty, running the digest command will allow that to happen.
>
> Hence the reason I said it wasn't recommended (paragraph following
> this). However, if you have downloaded a few files from bugzilla and
> have added them to an extra layout you will have to run a digest command
> before running portage - it will not run without. He may not have know
> that, hence giving both points and the bad points about running digest
> within the main tree.
>
> > If the digests are wrong find out what the problem is!
>
> In this case, it could most likely be the digest itself that was
> incorrect, but this is rare, while there was nothing else wrong with the
> system.
I wasn't aiming my comment at your advice in particular. I do get
concerned when I foten see (in other threads) the suggestion to simply
change the digest when there is a digest error. It kinda defeats the
purpose of the digest.
I agree it is necessary when doing something in your overlay. It seems
most people who post to bugs.gentoo.org do not post a digest file.
Perhaps they should.
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-24 23:54 ` Nick Rout
@ 2005-10-25 0:02 ` Ciaran McCreesh
2005-10-25 0:16 ` Nick Rout
2005-10-25 0:07 ` Holly Bostick
1 sibling, 1 reply; 13+ messages in thread
From: Ciaran McCreesh @ 2005-10-25 0:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
On Tue, 25 Oct 2005 12:54:14 +1300 Nick Rout <nick@rout.co.nz> wrote:
| I agree it is necessary when doing something in your overlay. It seems
| most people who post to bugs.gentoo.org do not post a digest file.
| Perhaps they should.
Oh please no.
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-24 23:54 ` Nick Rout
2005-10-25 0:02 ` Ciaran McCreesh
@ 2005-10-25 0:07 ` Holly Bostick
1 sibling, 0 replies; 13+ messages in thread
From: Holly Bostick @ 2005-10-25 0:07 UTC (permalink / raw
To: gentoo-user
Nick Rout schreef:
>
> I agree it is necessary when doing something in your overlay. It
> seems most people who post to bugs.gentoo.org do not post a digest
> file. Perhaps they should.
Sometimes people do, but iirc this is discouraged by the dev team. Don't
know why, but I know if I use an overlay ebuild, the tarball is
downloaded when the digest is made (thus the md5 is taken directly from
the tarball after downloading). I don't really think I'd want to rely on
some unknown person's digest from a download that may not be the same as
mine for whatever reason. At least this way I can confirm the tarball is
from the legitimate source (by watching the wget output), and if
necessary, compare the digest md5 with the md5 on the tarball's homepage
(usually available).
Having a digest from an 'untrusted source' (it's unofficial, after all)
would encourage me to trust sources I shouldn't just trust by default,
and I don't want to get into a bad habit like that.
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-25 0:02 ` Ciaran McCreesh
@ 2005-10-25 0:16 ` Nick Rout
2005-10-25 0:42 ` Ciaran McCreesh
0 siblings, 1 reply; 13+ messages in thread
From: Nick Rout @ 2005-10-25 0:16 UTC (permalink / raw
To: gentoo-user
On Tue, 25 Oct 2005 01:02:14 +0100
Ciaran McCreesh wrote:
> On Tue, 25 Oct 2005 12:54:14 +1300 Nick Rout <nick@rout.co.nz> wrote:
> | I agree it is necessary when doing something in your overlay. It seems
> | most people who post to bugs.gentoo.org do not post a digest file.
> | Perhaps they should.
>
> Oh please no.
Oh please explain?
>
I am ready to accept I made a stupid suggestion, but i'd like to knoe
why it was stooopid :-)
--
Nick Rout <nick@rout.co.nz>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Um...Who can fix this?
2005-10-25 0:16 ` Nick Rout
@ 2005-10-25 0:42 ` Ciaran McCreesh
0 siblings, 0 replies; 13+ messages in thread
From: Ciaran McCreesh @ 2005-10-25 0:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
On Tue, 25 Oct 2005 13:16:50 +1300 Nick Rout <nick@rout.co.nz> wrote:
| On Tue, 25 Oct 2005 01:02:14 +0100
| Ciaran McCreesh wrote:
|
| > On Tue, 25 Oct 2005 12:54:14 +1300 Nick Rout <nick@rout.co.nz>
| > wrote:
| > | I agree it is necessary when doing something in your overlay. It
| > | seems most people who post to bugs.gentoo.org do not post a
| > | digest file. Perhaps they should.
| >
| > Oh please no.
|
| Oh please explain?
It's another two worthless emails per bug change. We can't use
user-submitted digests anyway. emerge --digest is far simpler.
--
Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron)
Mail : ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-10-25 0:48 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-24 21:06 [gentoo-user] Um...Who can fix this? gentuxx
2005-10-24 21:23 ` Christoph Gysin
2005-10-24 21:32 ` Jonathan Wright
2005-10-24 21:56 ` gentuxx
2005-10-24 22:16 ` Nick Rout
2005-10-24 22:31 ` [gentoo-user] Um...Who can fix this? -- SOLVED gentuxx
2005-10-24 22:53 ` Ciaran McCreesh
2005-10-24 23:33 ` [gentoo-user] Um...Who can fix this? Jonathan Wright
2005-10-24 23:54 ` Nick Rout
2005-10-25 0:02 ` Ciaran McCreesh
2005-10-25 0:16 ` Nick Rout
2005-10-25 0:42 ` Ciaran McCreesh
2005-10-25 0:07 ` Holly Bostick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox