FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 03-03-2010, 01:02 AM
Kevin Kofler
 
Default tor dependency insanity.

Eric Sandeen wrote:
> Should be easy to fix (but too bad doing it that way results in such
> punishment!)

As far as I can tell, the package is not compliant with our packaging
guidelines (see the guidelines for initscripts) and as such can be fixed by
any provenpackager.

Kevin Kofler

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 01:08 AM
Kevin Kofler
 
Default tor dependency insanity.

Paul Wouters wrote:
> As noted before, the issue here is the Enrico is packging "his tor
> package", going against the desires of both Fedora guidelines and Tor
> upstream.

It's really that Enrico is inventing his own baroque packaging system for
initscripts, with a bizarre mess of subpackages, when he should just follow
our packaging guidelines for initscripts. His clamav packages are also weird
like that. I don't see why his packages need to be different from all the
others.

Kevin Kofler

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 01:10 AM
Kevin Kofler
 
Default tor dependency insanity.

Enrico Scholz wrote:
> Upstart does not have a good way yet to disable/enable service so you
> have to edit /etc/init/tor.conf resp. /etc/event.d/tor manually.

Which is one of the reasons why you aren't supposed to use native Upstarts
scripts yet!

We have packaging guidelines to follow for initscripts, please follow them.
Requiring lsb-core, redhat-lsb or anything like that is NOT part of those
guidelines!

Kevin Kofler

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 01:13 AM
"Chen Lei"
 
Default tor dependency insanity.

I think redhat-lsb should be┬* forbideen strictly┬*to be used in official fedora and rpmfusion package, it's can only be used by third-part sofiware develpers┬*and packagers who do not familiar┬*with fedora and want their packagers to support multiple linux platform.
redhat-lsb is an encumbrance for normal rpm packages.
BTW, /var/lib/tor-data seems not used at all, maybe this directory should not be included in tor-core?

Regards,
Chen

ňťĘ2010-03-03┬*03:35:46´╝î"Dave┬*Jones"┬*<davej@redhat.com>┬* ňćÖÚüô´╝Ü
>On┬*Tue,┬*Mar┬*02,┬*2010┬*at┬*08:23:22PM┬*+0100,┬ *Enrico┬*Scholz┬*wrote:
>┬*>┬*Enrico┬*Scholz┬*<enrico.scholz@informatik. tu-chemnitz.de>┬*writes:
>┬*>┬*
>┬*>┬*>┬*|┬*yum┬*install┬*tor┬*tor-upstart
>┬*>┬*
>┬*>┬*should┬*be
>┬*>┬*
>┬*>┬*|┬*yum┬*install┬*tor-core┬*tor-upstart
>
>still┬*no┬*good,┬*because┬*tor-upstart┬*requires┬*tor┬*which┬*requires┬*tor-lsb┬*which...
>
> Dave
>
>--┬*
>devel┬*mailing┬*list
>devel@lists.fedoraproject.org
>https://admin.fedoraproject.org/mailman/listinfo/devel


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 01:51 AM
"Chen Lei"
 
Default tor dependency insanity.

I think redhat-lsb should be┬* forbideen strictly┬*to be used in official fedora and rpmfusion package, it's can only be used by third-part sofiware develpers┬*and packagers who do not familiar┬*with fedora and want their packagers to support multiple linux platform.
redhat-lsb is an encumbrance for normal rpm packages.
BTW, /var/lib/tor-data seems not used at all, maybe this directory should not be included in tor-core?

Regards,
Chen

ňťĘ2010-03-03┬*03:35:46´╝î"Dave┬*Jones"┬*<davej@redhat.com>┬* ňćÖÚüô´╝Ü
>On┬*Tue,┬*Mar┬*02,┬*2010┬*at┬*08:23:22PM┬*+0100,┬ *Enrico┬*Scholz┬*wrote:
>┬*>┬*Enrico┬*Scholz┬*<enrico.scholz@informatik. tu-chemnitz.de>┬*writes:
>┬*>┬*
>┬*>┬*>┬*|┬*yum┬*install┬*tor┬*tor-upstart
>┬*>┬*
>┬*>┬*should┬*be
>┬*>┬*
>┬*>┬*|┬*yum┬*install┬*tor-core┬*tor-upstart
>
>still┬*no┬*good,┬*because┬*tor-upstart┬*requires┬*tor┬*which┬*requires┬*tor-lsb┬*which...
>
> Dave
>
>--┬*
>devel┬*mailing┬*list
>devel@lists.fedoraproject.org
>https://admin.fedoraproject.org/mailman/listinfo/devel


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 04:05 AM
James Antill
 
Default tor dependency insanity.

On Tue, 2010-03-02 at 20:31 +0100, Enrico Scholz wrote:
> Adam Williamson <awilliam@redhat.com> writes:
>
> > I'm not quite sure why it needs separate lsb/upstart init scripts
> > anyway.
>
> All the initscripts have huge and broken dependency chains.
> E.g. assuming I would use the vanilla fedora 'initscripts' package, then
> tor would still require[1] syslog, cpio, e2fsprogs, ethtool, mount, ...

You are joking, right? I mean apart from the fact that there is a
_huge_ difference between requiring "mount" and "libX*" ... the _kernel_
requires the package initscripts is installed.

--
James Antill - james@fedoraproject.org
http://yum.baseurl.org/wiki/releases
http://yum.baseurl.org/wiki/whatsnew/3.2.27
http://yum.baseurl.org/wiki/YumMultipleMachineCaching
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 09:01 AM
Enrico Scholz
 
Default tor dependency insanity.

Paul Wouters <paul@xelerance.com> writes:

>>> The tor upstream has filed that as bug report as well.
>>
>> ... and understand my reasons not to activate logging
>
> That is not true. It just decided not to pick a fight over that while
> more pressing bugs required you to fix them.

ok; sorry that I thought that you were/spoke for upstream.


> upstream still has this as an open bug:
>
> http://bugs.noreply.org/flyspray/index.php?do=details&id=1133

This does not seem to mean very much... The other bugs mentioned in
https://bugzilla.redhat.com/show_bug.cgi?id=532373 are still open
although some (all?) of them are objectively solved.



Enrico
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 09:11 AM
Enrico Scholz
 
Default tor dependency insanity.

James Antill <james@fedoraproject.org> writes:

> You are joking, right? I mean apart from the fact that there is a
> _huge_ difference between requiring "mount" and "libX*" ...

please do not blame me for redhat-lsb packaging...


> the _kernel_ requires the package initscripts is installed.

initscripts are not required for kernel at runtime:

| $ rpm -e --test initscripts 2>&1 | grep kernel
| $

Netherless, this seems to be a packaging bug; initscripts are a
Requires(pre/post) for kernel but none of these scriptlets use them.
Perhaps grubby/mkinitrd/dracut needs them, but not the kernel.



Enrico
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 09:25 AM
Enrico Scholz
 
Default tor dependency insanity.

Kevin Kofler <kevin.kofler@chello.at> writes:

>> Upstart does not have a good way yet to disable/enable service so you
>> have to edit /etc/init/tor.conf resp. /etc/event.d/tor manually.
>
> Which is one of the reasons why you aren't supposed to use native
> Upstarts scripts yet!

it's a somehow strange situation... there were mass bug reports requiring
LSB headers in initscripts, Fedora uses its proprietary, non LSB compliant
initsystem for most of its services and provides upstart.

I do not see any reason not to provide -upstart initscripts alternatively;
beside their simplicity, the parallel startup and the removal of the racy
pidfile mechanism, they allow to respawn services.

What's wrong with giving users the choice to do a simple 'yum install
tor' + all the graphical management stuff, or 'yum install tor-core
tor-upstart'[1] + other configuration management methods (e.g. cfengine)?



Enrico

Footnotes:
[1] requires -upstart packages without the bad 'Requires: tor' (e.g.
https://admin.fedoraproject.org/updates/tor-0.2.1.24-1100.fc12
https://admin.fedoraproject.org/updates/tor-0.2.1.24-1200.fc12)

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-03-2010, 09:27 AM
Enrico Scholz
 
Default tor dependency insanity.

"Chen Lei" <supercyper@163.com> writes:

> BTW, /var/lib/tor-data seems not used at all, maybe this directory
> should not be included in tor-core?

thx; was a leftover from GeoIP stuff which was removed due to anonymity
reasons. It will be fixed in the next packages.


Enrico
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 05:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ę2007 - 2008, www.linux-archive.org