Opened 7 years ago

Closed 7 years ago

#1205 closed enhancement (fixed)

rc.common version is obsolete

Reported by: diaz8@… Owned by:
Priority: normal Milestone: Firmware
Component: fon-base-firmware Version: N/A
Severity: minor
Cc: Hardware: both

Description (last modified by matthijs)


I have compiled tinyproxy 1.8.2-5 to fonera 2.0n firmware following instructions on the old wiki.

Everything has gone fine, however trying to make /etc/init.d/tinyproxy start the system complaints about rc.common not being able of finding service_start.

I have copied rc.common to /etc from and now tinyproxy works fine.

Maybe rc.common could be updated to a newer version ?

Thanks in advance.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by matthijs

  • Component changed from unknown to fon-base-firmware
  • Description modified (diff)
  • Hardware changed from 2.0n (FON2300) to both
  • Milestone set to Firmware
  • Severity changed from unknown to minor
  • Status changed from new to confirmed
  • Type changed from request to enhancement
  • Version changed from beta3 to N/A

We can probably include that. I'll have to take a closer look at the changes introduced by this, to ensure that nothing else breaks, but I expect this shouldn't be a problem.

Thanks for looking into this!

comment:2 Changed 7 years ago by matthijs

  • Status changed from confirmed to testing-fix

I've committed this locally, I'll do some testing in upcoming days and commit to SVN when I don't find any problems.

comment:3 Changed 7 years ago by matthijs

Hmm, I found a problem with backporting rc.common: All of the links in /etc/rc.d are gone in a full firmware build. It seems the build system uses rc.common on the build host to determine ordering for the initscripts, but this somehow fails.

I'll investigate why this is and how to fix it.

comment:4 Changed 7 years ago by matthijs

Ah, found it already, I had forgotten to make the new rc.common executable... Seems like that fixed it.

comment:5 Changed 7 years ago by matthijs

  • Resolution set to fixed
  • Status changed from testing-fix to closed

(In [2136]) base-files: Update rc.common.

This takes the rc.common from OpenWRT trunk (r28834). This adds the various service_* functions to rc.common, which allows backporting some more packages from OpenWRT without extra changes.

Closes: #1205

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.