public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
@ 2014-12-20 11:35 Сергей
  2014-12-20 16:38 ` [gentoo-dev] " Canek Peláez Valdés
  0 siblings, 1 reply; 12+ messages in thread
From: Сергей @ 2014-12-20 11:35 UTC (permalink / raw
  To: gentoo-dev

There is a bug (https://bugs.gentoo.org/show_bug.cgi?id=504116).
Though it had been reported long time ago, many bugs, which this bug
depends on, are not even confirmed (see my comment:
https://bugs.gentoo.org/show_bug.cgi?id=504116#c3). There is also no
response to my comment, seems like all the activity about this bug has
stopped. Is it so?


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-20 11:35 [gentoo-dev] Bug №504116, /etc/init.d/functions.sh Сергей
@ 2014-12-20 16:38 ` Canek Peláez Valdés
  2014-12-20 17:52   ` [gentoo-dev] " Сергей
  0 siblings, 1 reply; 12+ messages in thread
From: Canek Peláez Valdés @ 2014-12-20 16:38 UTC (permalink / raw
  To: gentoo-dev

On Sat, Dec 20, 2014 at 5:35 AM, Сергей <protserovsd@gmail.com> wrote:
> There is a bug (https://bugs.gentoo.org/show_bug.cgi?id=504116).
> Though it had been reported long time ago, many bugs, which this bug
> depends on, are not even confirmed (see my comment:
> https://bugs.gentoo.org/show_bug.cgi?id=504116#c3). There is also no
> response to my comment, seems like all the activity about this bug has
> stopped. Is it so?

It hasn't stopped, is just that the devs don't exactly know how to
continue. In particular, with glibc and all of the toolchain packages,
there is a lot of historical cruft in the ebuilds and associated
eclasses. The devs are discussing how to move on forward with this;
the issue of /etc/init.d/functions.sh is secondary or even tertiary to
this. Check [1] for an example thread of the kind of discussion
happening.

I've been using my own functions.sh file for years. At its core, is
basically a cosmetic issue; functions.sh never provided nothing more
than a few shell functions to print pretty messages on the console.

Regards.

[1] http://thread.gmane.org/gmane.linux.gentoo.devel/93994/
-- 
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-20 16:38 ` [gentoo-dev] " Canek Peláez Valdés
@ 2014-12-20 17:52   ` Сергей
  2014-12-20 19:41     ` [gentoo-dev] " Mike Gilbert
  0 siblings, 1 reply; 12+ messages in thread
From: Сергей @ 2014-12-20 17:52 UTC (permalink / raw
  To: gentoo-dev

Thank you for your answer.
Actually, I do not understand the problems they are trying to solve
there (I am not a developer, just a user), but I believe they are more
important than "functions.sh" problem.
But I think it is possible to make "gentoo-functions" ebuild also copy
"functions.sh" to "/etc/init.d/" as a temporary workaround. I use
systemd (OpenRC and sysvinit removed, "gentoo-functions" installed
instead to provide "functions.sh") and I see no problem in creating
symlink from "/lib/gentoo/functions.sh" to "/etc/init.d/functions.sh".
But as it is an important action if you switch from OpenRC to Systemd,
I think it would be better to make it done by default, for example,
make "gentoo-functions" provide "/etc/init.d/functions.sh" as a
symlink from "/lib/gentoo/functions.sh", remove "functions.sh" from
OpenRC and make OpenRC depend on "gentoo-functions".
P.S. It would be also great if OpenRC was removed from "system" set,
instead "virtual/service-manager" should be placed there, as
"service-manager" depends on either OpenRC or Systemd.
Best regards.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-20 17:52   ` [gentoo-dev] " Сергей
@ 2014-12-20 19:41     ` Mike Gilbert
  2014-12-20 19:44       ` [gentoo-dev] " Сергей
  0 siblings, 1 reply; 12+ messages in thread
From: Mike Gilbert @ 2014-12-20 19:41 UTC (permalink / raw
  To: Gentoo Dev

On Sat, Dec 20, 2014 at 12:52 PM, Сергей <protserovsd@gmail.com> wrote:
> But I think it is possible to make "gentoo-functions" ebuild also copy
> "functions.sh" to "/etc/init.d/" as a temporary workaround.

This has been discussed with the maintainer of gentoo-functions; he
prefers to take the long (and possibly safer) way and make everybody
update their code with the new path.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-20 19:41     ` [gentoo-dev] " Mike Gilbert
@ 2014-12-20 19:44       ` Сергей
  2014-12-20 20:40         ` [gentoo-dev] " Rich Freeman
  0 siblings, 1 reply; 12+ messages in thread
From: Сергей @ 2014-12-20 19:44 UTC (permalink / raw
  To: gentoo-dev

I see. https://github.com/gentoo/gentoo-functions/pull/2 It is my pull request.
Seems like these packages' maintainers are busy solving other problems now.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-20 19:44       ` [gentoo-dev] " Сергей
@ 2014-12-20 20:40         ` Rich Freeman
  2014-12-21  7:15           ` [gentoo-dev] " Сергей
  0 siblings, 1 reply; 12+ messages in thread
From: Rich Freeman @ 2014-12-20 20:40 UTC (permalink / raw
  To: gentoo-dev

On Sat, Dec 20, 2014 at 2:44 PM, Сергей <protserovsd@gmail.com> wrote:
> I see. https://github.com/gentoo/gentoo-functions/pull/2 It is my pull request.
> Seems like these packages' maintainers are busy solving other problems now.
>

If this really gets in somebody's way they will just post a notice in
the affected packages that on a given date they'll just patch
everything to use the new path.  That is how half the changes around
here get made.  If there is controversy somebody can always escalate
it.

Is this really the rate-limiting step to being able to run without
openrc installed?

--
Rich


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-20 20:40         ` [gentoo-dev] " Rich Freeman
@ 2014-12-21  7:15           ` Сергей
  2014-12-21 12:15             ` Сергей
  0 siblings, 1 reply; 12+ messages in thread
From: Сергей @ 2014-12-21  7:15 UTC (permalink / raw
  To: gentoo-dev

If a user doesn't have OpenRC installed, then /etc/init.d/functions.sh
is not provided, so some programs from bug 504116 do not work: for
example, locale-gen, gcc-config. This problem can be fixed in a solved
easily: user just needs to install gentoo-functions (if not installed
yet) and ln -s /lib/gentoo/functions.sh /etc/init.d/functions.sh. As I
think, until all the programs are changed to use
/lib/gentoo/functions.sh, /etc/init.d/functions.sh should also exist
in any system, because now it is not a matter of user's preference,
but a guarantee of working system.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-21  7:15           ` [gentoo-dev] " Сергей
@ 2014-12-21 12:15             ` Сергей
  2014-12-21 15:40               ` William Hubbs
  0 siblings, 1 reply; 12+ messages in thread
From: Сергей @ 2014-12-21 12:15 UTC (permalink / raw
  To: gentoo-dev

Today two bugs from 504116's dependencies were resolved and two other
bugs were removed from 504116's dependencies list. Thanks to
maintainers who decided to solve the problem!


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-21 12:15             ` Сергей
@ 2014-12-21 15:40               ` William Hubbs
  2014-12-21 16:30                 ` [gentoo-dev] " Сергей
  2014-12-21 16:39                 ` Rich Freeman
  0 siblings, 2 replies; 12+ messages in thread
From: William Hubbs @ 2014-12-21 15:40 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

On Sun, Dec 21, 2014 at 03:15:48PM +0300, Сергей wrote:
> Today two bugs from 504116's dependencies were resolved and two other
> bugs were removed from 504116's dependencies list. Thanks to
> maintainers who decided to solve the problem!

The bugs being resolved is good, but I'm concerned about the bugs that
were *removed* from the dependencies list.

Why were they removed rather than being resolved?

Thanks,

William

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-21 15:40               ` William Hubbs
@ 2014-12-21 16:30                 ` Сергей
  2014-12-21 16:39                 ` Rich Freeman
  1 sibling, 0 replies; 12+ messages in thread
From: Сергей @ 2014-12-21 16:30 UTC (permalink / raw
  To: gentoo-dev

They were removed with the following comment:
"Removing bugs for maintainer-use scripts. We need not to care about those."


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-21 15:40               ` William Hubbs
  2014-12-21 16:30                 ` [gentoo-dev] " Сергей
@ 2014-12-21 16:39                 ` Rich Freeman
  2014-12-21 18:42                   ` William Hubbs
  1 sibling, 1 reply; 12+ messages in thread
From: Rich Freeman @ 2014-12-21 16:39 UTC (permalink / raw
  To: gentoo-dev

On Sun, Dec 21, 2014 at 10:40 AM, William Hubbs <williamh@gentoo.org> wrote:
> On Sun, Dec 21, 2014 at 03:15:48PM +0300, Сергей wrote:
>> Today two bugs from 504116's dependencies were resolved and two other
>> bugs were removed from 504116's dependencies list. Thanks to
>> maintainers who decided to solve the problem!
>
> The bugs being resolved is good, but I'm concerned about the bugs that
> were *removed* from the dependencies list.
>
> Why were they removed rather than being resolved?
>

See mgorny's comment in the bug:
Removing bugs for maintainer-use scripts. We need not to care about those.

--
Rich


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Re: [gentoo-dev] Bug №504116, /etc/init.d/functions.sh
  2014-12-21 16:39                 ` Rich Freeman
@ 2014-12-21 18:42                   ` William Hubbs
  0 siblings, 0 replies; 12+ messages in thread
From: William Hubbs @ 2014-12-21 18:42 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

On Sun, Dec 21, 2014 at 11:39:20AM -0500, Rich Freeman wrote:
> On Sun, Dec 21, 2014 at 10:40 AM, William Hubbs <williamh@gentoo.org> wrote:
> > On Sun, Dec 21, 2014 at 03:15:48PM +0300, Сергей wrote:
> >> Today two bugs from 504116's dependencies were resolved and two other
> >> bugs were removed from 504116's dependencies list. Thanks to
> >> maintainers who decided to solve the problem!
> >
> > The bugs being resolved is good, but I'm concerned about the bugs that
> > were *removed* from the dependencies list.
> >
> > Why were they removed rather than being resolved?
> >
> 
> See mgorny's comment in the bug:
> Removing bugs for maintainer-use scripts. We need not to care about those.

Ok, that makes sense.

William

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-12-21 18:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-20 11:35 [gentoo-dev] Bug №504116, /etc/init.d/functions.sh Сергей
2014-12-20 16:38 ` [gentoo-dev] " Canek Peláez Valdés
2014-12-20 17:52   ` [gentoo-dev] " Сергей
2014-12-20 19:41     ` [gentoo-dev] " Mike Gilbert
2014-12-20 19:44       ` [gentoo-dev] " Сергей
2014-12-20 20:40         ` [gentoo-dev] " Rich Freeman
2014-12-21  7:15           ` [gentoo-dev] " Сергей
2014-12-21 12:15             ` Сергей
2014-12-21 15:40               ` William Hubbs
2014-12-21 16:30                 ` [gentoo-dev] " Сергей
2014-12-21 16:39                 ` Rich Freeman
2014-12-21 18:42                   ` William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox