Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146564 - quickpkg does not include directories
Summary: quickpkg does not include directories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 136244
  Show dependency tree
 
Reported: 2006-09-06 08:06 UTC by Doug Goldstein (RETIRED)
Modified: 2006-09-07 11:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
make quickpkg include directories (quickpkg_directories.patch,440 bytes, patch)
2006-09-06 22:04 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2006-09-06 08:06:41 UTC
quickpkg mysql on one box
emerge -k mysql on the other box
emerge --config mysql will fail.

Reason is /var/run/mysqld isn't owned by mysql:mysql. It's owned by root:root. It never chowns it. changing the permissions makes it start.

However it will still give a bunch of warning about not being started with --bin-log=${HOSTNAME}-log
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-06 08:38:30 UTC
Portage won't change permissions on directories that already exist. Delete it and try again.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2006-09-06 15:12:05 UTC
Jakub... Don't be a tard. You know I was doing a fresh install on this box. 

The box NEVER had mysql on it until I did emerge -k mysql and emerge --config mysql.

It was a fresh from install box.
Comment 3 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-09-06 15:21:07 UTC
PFT, attach the tarball or give me the perms of /var/run/mysqld in the tarball

Maybe quickpkg is tarballing before it's getting chowned, or untarring with wrong perms?  Who knows.  In either case attach plz.
Comment 4 Zac Medico gentoo-dev 2006-09-06 16:08:45 UTC
I've just tried to quickpkg mysql-5.0.24-r1 locally, and for some reason /var/run/mysqld wasn't included in the tbz2 even though it's listed in CONTENTS. So, something's wrong with quickpkg...
Comment 5 Zac Medico gentoo-dev 2006-09-06 22:04:25 UTC
Created attachment 96243 [details, diff]
make quickpkg include directories 

This patch makes quickpkg include directories.  Note that tar's --no-recursion option causes the directories to be selectively included without nessarily including their contents.
Comment 6 Zac Medico gentoo-dev 2006-09-07 11:02:09 UTC
This has been released in 2.1.1_rc1-r7.