All of lore.kernel.org
 help / color / mirror / Atom feed
* busybox & syslog init script
@ 2009-06-03  1:27 Michael Smith
  2009-06-03  9:49 ` Phil Blundell
  2009-06-03 17:01 ` Otavio Salvador
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Smith @ 2009-06-03  1:27 UTC (permalink / raw)
  To: openembedded-devel

Hi,

Currently busybox deb upgrades break (at least with Busybox dpkg): the 
prerm script returns failure because the last command executed is 
"/etc/init.d/syslog stop", and by then the /bin/sh link has been removed 
so the #!/bin/sh line fails to find the interpreter. (Even if it could, 
the start-stop-daemon link would be gone, too.)

busybox inherits update-rc.d, and updatercd_prerm() is always appended 
onto the end of the prerm; I don't know of a way to make it prepend 
instead. So I figure there are two ways to fix it:

1) split the syslog initscript into busybox-syslog, as is already done for 
busybox-httpd and busybox-udhcpd;
2) or, manually handle the stuff the update-rc.d class would normally take 
care of for busybox, so the syslog initscript stays in the busybox 
package.

I'd prefer #1, but I don't think I could ever track down all the in-tree 
and out-of-tree images that depend on busybox, and add "busybox-syslog" to 
all of them. I guess I'll try #2. Just checking if someone has a better 
idea.

Thanks,
Mike



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

end of thread, other threads:[~2009-06-03 17:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-03  1:27 busybox & syslog init script Michael Smith
2009-06-03  9:49 ` Phil Blundell
2009-06-03 14:09   ` Michael Smith
2009-06-03 14:23     ` Phil Blundell
2009-06-03 14:54       ` Michael Smith
2009-06-03 15:16         ` Phil Blundell
2009-06-03 17:01 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.