Comment 2 for bug 494141

Revision history for this message
floid (jkanowitz) wrote : Re: CUPS starts after SAMBA; printers are not available

Bingo, this is the bug I've been looking for.

While I've seen some bugs and forum posts regarding insserv getting called upon installation of various packages and failing, I haven't caught anything automatically running insserv at all. *That* would seem to be the problem, as investigating a system here, /etc/init.d/cups already contains the lines:

# X-Start-Before: samba
# X-Stop-After: samba

...

I failed to notice that on a machine where this was actually a problem, and thus [also] added cups to /etc/init.d/samba:

# Required-Start: $network $local_fs $remote_fs cups

...before realizing I had to actually run insserv myself, which promptly reordered everything properly based on those directives.

I haven't looked at a roadmap, but I sure hope all of these "base" packages will be updated with "native" upstart scripts for Lucid / 10.04; living with both the new and legacy systems just makes everything twice as complicated, and if it doesn't get done for the LTS, nobody's going to want to 'break' the LTS [or worse, it'll get 'broken' later on if scripts are suddenly backported/packages updated to include them]. Better to make the push now, then it should be all sorted out by release-candidate time.