Closed Bug 238359 Opened 20 years ago Closed 20 years ago

Linux installer does not install init.d/ directory

Categories

(SeaMonkey :: Installer, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: roland.mainz, Assigned: ajschult784)

References

()

Details

Attachments

(2 files, 2 obsolete files)

http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/mozilla-i686-pc-linux-gnu-1.7b-installer.tar.gz
(Mozilla 1.7b Linux/x86 Full installer) does not install the mozilla/init.d/
directory (and the mozilla/init.d/README directory is missing, too).

Steps to reproduce:
1. Download
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7b/mozilla-i686-pc-linux-gnu-1.7b-installer.tar.gz
2. Install Mozilla ("default" installation profile)

Result:
No init.d/ directory in the installation

Expected result:
init.d/ and init.d/README should be there...
Blocks: 238360
I suggest that the script which makes the installer packages should simply fetch
all files in init.d/ - right now this dir is populated for all Solaris and for
all Calendar builds... and more stuff will be added there step-by-step in the
future.
Attached patch add init.d/* (obsolete) — Splinter Review
Assignee: general → ajschult
Status: NEW → ASSIGNED
Attachment #144576 - Flags: review?(bsmedberg)
> (Mozilla 1.7b Linux/x86 Full installer) does not install the mozilla/init.d/
> directory (and the mozilla/init.d/README directory is missing, too).

the installer can't actually include a bare directory.  Without the README, the
installer would not create the init.d directory.

As far as I can tell, firefox/thunderbird have no packager.

If init.d files should be separated out between .xpi, it looks like the
S80calendar file needs to be handled in the calendar/Makefile.in (why is
calendar not in packages-unix?).  Or is "calendar" dead (long live Sunbird)?  
Flags: blocking1.7?
Andrew Schultz wrote:
> If init.d files should be separated out between .xpi, it looks like the
> S80calendar file needs to be handled in the calendar/Makefile.in (why is
> calendar not in packages-unix?). 

Mhhh... good idea... but how can this be implemented without breaking stuff ?

> Or is "calendar" dead (long live Sunbird)

calendar isn't dead. There is a bug to enable it in the default build (right now
only the Solaris builds ship with calendar enabled by default).
Comment on attachment 144576 [details] [diff] [review]
add init.d/*

r=me, please add this to packages-static-unix also
Attachment #144576 - Flags: review?(bsmedberg)
Attachment #144576 - Flags: review+
Attachment #144576 - Flags: approval1.7?
ok, hrm... I thought the solaris patch-checker was the only thing using this...
if calendar is using this too, we can't just do init.d/*, but have to manually
specify which files belong in each XPI.

Calendar is not part of the installer (yet), so we should not be including any
calendar files in packages-* manifests.

> As far as I can tell, firefox/thunderbird have no packager.

firefox has a win32 packager, but does not have a packager on any other platform yet
Benjamin Smedberg wrote:
> ok, hrm... I thought the solaris patch-checker was the only thing using 
> this...

I told you that the feature will be used more and more... :)

BTW: The Xprint and MathML font XPIs uses the "Pluggable Init script" framework,
too.

> if calendar is using this too, we can't just do init.d/*, but have to manually
> specify which files belong in each XPI.

Right now the calendar init script is only used when --enable-calendar specified
at build time so the patch (attachment 144576 [details] [diff] [review]) should work without problems with
installer builds. We should let the current patch "in" and make a reminder to
revisit the issue when calendar gets enabled in the default build.
Attached patch list files explicitly (obsolete) — Splinter Review
I'll attach a second (hackish) patch for calendar
Attachment #144576 - Attachment is obsolete: true
note that (in calendar's Makefile) "linux" really means not-win/mac/os2.
Attachment #144636 - Flags: review?(bsmedberg)
Attachment #144636 - Flags: review?(bsmedberg)
Attachment #144636 - Flags: review+
Attachment #144636 - Flags: approval1.7?
Attachment #144576 - Flags: review+
Attachment #144576 - Flags: approval1.7?
Comment on attachment 144640 [details] [diff] [review]
patch for calendar

mostafah, can you review please?
Attachment #144640 - Flags: review?(mostafah)
Comment on attachment 144640 [details] [diff] [review]
patch for calendar

This is a totally harmless change but I don't see its use. The change will add
the init.d/S80Calendar to the xpi package file. It will not install it at
install time and it will not change anything in the build process. That section
in the Makefile is just used for  creating a xpi manually with the "make xpi"
command, it is not used anywhere else.
Attachment #144640 - Flags: review?(mostafah) → review+
Attachment #144640 - Flags: approval1.7?
thanks for the quick review.

> This is a totally harmless change but I don't see its use.

If someone wants to use the installer to install calendar, it should include the
S80calendar script.  The calendar Makefile is the only place I found where an
.xpi could be made.
Comment on attachment 144636 [details] [diff] [review]
list files explicitly

a=chofmann for 1.7
Attachment #144636 - Flags: approval1.7? → approval1.7+
Comment on attachment 144636 [details] [diff] [review]
list files explicitly

This is wrong:
+bin/init.d/README
+bin/init.d/moz_patch_checker.dtksh
+bin/init.d/S02solaris_patchchecker.sh

The init.d/README explicitly says that files which do not match the
[SK][0-9][0-9]* must not be put into the init.d/ dir (the README is the only
exception). Therefore moz_patch_checker.dtksh sits in
bin/moz_patch_checker.dtksh ...
Attachment #144636 - Flags: review-
Attachment #144636 - Flags: review+
Attachment #144636 - Flags: approval1.7?
Attachment #144636 - Flags: approval1.7+
Comment on attachment 144640 [details] [diff] [review]
patch for calendar

a=chofmann for 1.7
Attachment #144640 - Flags: approval1.7? → approval1.7+
Comment on attachment 144636 [details] [diff] [review]
list files explicitly

Clearning a= request for now.
Attachment #144636 - Flags: approval1.7?
s/Clearning/Clearing/
Attached patch one more timeSplinter Review
Attachment #144636 - Attachment is obsolete: true
Attachment #144665 - Flags: review+
Attachment #144665 - Flags: approval1.7?
Comment on attachment 144665 [details] [diff] [review]
one more time

a=mkaply
Attachment #144665 - Flags: approval1.7? → approval1.7+
patches checked in by timeless
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Flags: blocking1.7?
hmm just a question (as it relates to Bug 245209)

This xpi thing with init.d does not get installed anywhere via the xpi, is just
/there/ if a user installing via xpi needs it?

if the latter is the case I don't see why we even have it in the xpi itself...at
least as long as we don't have a mechanism for having it added to build-runtime
from the xpi.

Further comments either here or in previously mentioned bug.
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: