init daemon requires mounted /proc subsystem

Bug #259801 reported by Patryk Zawadzki
4
Affects Status Importance Assigned to Milestone
upstart
Fix Released
High
Scott James Remnant (Canonical)
0.5
Fix Released
High
Scott James Remnant (Canonical)
Trunk
Fix Released
High
Scott James Remnant (Canonical)
PLD Linux
Fix Released
Undecided
Unassigned
Nominated for Th by Patryk Zawadzki

Bug Description

...on a booting system.

The chicken and egg problem is that upstart is the first process to run yet it still requires some other process (rc scripts here in PLD Linux) to mount all the directories and set / to be writable.

If it wants to mess with oom_adj / oom_score, it should postpone the adjustments until /proc becomes available.

Or just let the processes keep their current score if they are spawned before /proc is up - most of these are "tasks" to mount the partitions, not real services anyway.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Am waiting for somebody to author a patch for this who is willing to undergo copyright assignment.

Revision history for this message
Patryk Zawadzki (patrys) wrote :

What kind of copyright assignment? The simplest solution would be to just warn and ignore the call if proc was not available.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

If there's no OOM adjustment set for the process, it shouldn't be necessary to set it at all - if there is one set, the job should certainly *not* be run since a required parameter is not set.

http://upstart.ubuntu.com/wiki/CopyrightAssignment

Revision history for this message
Patryk Zawadzki (patrys) wrote :

I'm sorry but I'm not interested in signing that document. It's more than any of my current and past employers required and I'm in no way connected to Canonical. It's nothing personal. We'll just have to wait for someone else to write the patch.

Changed in upstart:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 259801] Re: init daemon requires mounted /proc subsystem

On Tue, 2008-09-23 at 20:40 +0000, Patryk Zawadzki wrote:

> I'm sorry but I'm not interested in signing that document. It's more
> than any of my current and past employers required and I'm in no way
> connected to Canonical. It's nothing personal. We'll just have to wait
> for someone else to write the patch.
>
That's unfortunate,

Could I ask which part of the document you object to and you feel is
unreasonable? We attempted to make a very light assignment.

I'm surprised that you feel your employers required more, since unless
I'm mistaken, general employment law means that any work you do while
employed by a company is inherently owned by that company?

Scott
--
Scott James Remnant
<email address hidden>

Revision history for this message
Patryk Zawadzki (patrys) wrote :

I do part of my Free Software contributions at work during office hours. They are happy with my contributions as we are a software shop and use a lot of Free Software so it's natural to give back. On the other hand they don't even ask me to use my company e-mail address (I doubt you can find my place of work in any commit message).

Here in Europe laws do move ownership of the work to the company but the companies are free to assign them back to employees.

As I said, it's nothing personal, keep up the good work :)

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

On Wed, 2008-09-24 at 08:50 +0000, Patryk Zawadzki wrote:

> I do part of my Free Software contributions at work during office hours.
> They are happy with my contributions as we are a software shop and use a
> lot of Free Software so it's natural to give back. On the other hand
> they don't even ask me to use my company e-mail address (I doubt you can
> find my place of work in any commit message).
>
> Here in Europe laws do move ownership of the work to the company but the
> companies are free to assign them back to employees.
>
Right, and the Upstart copyright assignment also assigns the work back
to you, so you're free to do with it what you will after submission.

Scott
--
Scott James Remnant
<email address hidden>

Revision history for this message
Arkadiusz Miśkiewicz (arekm) wrote :

Fixed in 0.5.0-3.

Changed in upstart:
milestone: none → 0.5-later
Changed in upstart:
status: Confirmed → Triaged
Revision history for this message
Jeff Oliver (jeffrey-oliver) wrote :

This patch was generated between 2 revs of the job_process.c file in my development branch of upstart.

Changed in upstart:
milestone: 0.5-later → 0.5.2
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.