Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28567 - 'daemontools' USE flag patches for openssh-3.6.1_p2*.ebuild (Updates)
Summary: 'daemontools' USE flag patches for openssh-3.6.1_p2*.ebuild (Updates)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 28294
Blocks:
  Show dependency tree
 
Reported: 2003-09-12 18:18 UTC by Hallgrimur Gunnarsson (RETIRED)
Modified: 2005-08-03 13:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
openssh-3.6.1_p2.ebuild patch (openssh-3.6.1_p2_dt.ebuild.diff,2.34 KB, patch)
2003-09-12 18:21 UTC, Hallgrimur Gunnarsson (RETIRED)
Details | Diff
openssh_3.6.1_p2-r1.ebuild patch (openssh-3.6.1_p2-r1_dt.ebuild.diff,2.39 KB, patch)
2003-09-12 18:23 UTC, Hallgrimur Gunnarsson (RETIRED)
Details | Diff
openssh-3.6.1_p2-r2.ebuild patch (openssh-3.6.1_p2-r2_dt.ebuild.diff,2.59 KB, patch)
2003-09-12 18:24 UTC, Hallgrimur Gunnarsson (RETIRED)
Details | Diff
openssh-3.6.1_p2-r3.ebuild patch (openssh-3.6.1_p2-r3_dt.ebuild.diff,2.56 KB, patch)
2003-09-12 18:25 UTC, Hallgrimur Gunnarsson (RETIRED)
Details | Diff
files/sshd.supervise.log (sshd.supervise.log,84 bytes, text/plain)
2003-09-12 18:26 UTC, Hallgrimur Gunnarsson (RETIRED)
Details
files/sshd.supervise.run (sshd.supervise.run,41 bytes, text/plain)
2003-09-12 18:26 UTC, Hallgrimur Gunnarsson (RETIRED)
Details
Patch for init script to use daemontools if available (sshd-patch,1.45 KB, patch)
2003-09-16 20:58 UTC, Mark Francis
Details | Diff
Alternative /var/daemontools/sshd/run file (run,131 bytes, text/plain)
2003-09-16 21:10 UTC, Mark Francis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hallgrimur Gunnarsson (RETIRED) gentoo-dev 2003-09-12 18:18:32 UTC
Hello!

These patches add support for the 'daemontools' USE flag (see #28294).
I also copied the host key generation from the init.d script to
pkg_postinst(), it's really silly not to do it just there, and I dont want
to generate the keys in the daemontools run script.

Also offtopic, I have a question, I create a sshlog user in pkg_setup.
I saw that the sshd privilege seperation user is created in pkg_preinst().
I looked it up, and found a discussion from '02 (#4169) where it
was concluded that users should _not_ be created in pkg_setup()
since it shouldn't do any changes to the system. Well, alot of ebuilds
do it and it's in the official gentoo ebuild howto in developer
docs. What's the status on this?
Comment 1 Hallgrimur Gunnarsson (RETIRED) gentoo-dev 2003-09-12 18:21:48 UTC
Created attachment 17604 [details, diff]
openssh-3.6.1_p2.ebuild patch
Comment 2 Hallgrimur Gunnarsson (RETIRED) gentoo-dev 2003-09-12 18:23:57 UTC
Created attachment 17605 [details, diff]
openssh_3.6.1_p2-r1.ebuild patch
Comment 3 Hallgrimur Gunnarsson (RETIRED) gentoo-dev 2003-09-12 18:24:25 UTC
Created attachment 17606 [details, diff]
openssh-3.6.1_p2-r2.ebuild patch
Comment 4 Hallgrimur Gunnarsson (RETIRED) gentoo-dev 2003-09-12 18:25:30 UTC
Created attachment 17607 [details, diff]
openssh-3.6.1_p2-r3.ebuild patch
Comment 5 Hallgrimur Gunnarsson (RETIRED) gentoo-dev 2003-09-12 18:26:31 UTC
Created attachment 17608 [details]
files/sshd.supervise.log
Comment 6 Hallgrimur Gunnarsson (RETIRED) gentoo-dev 2003-09-12 18:26:48 UTC
Created attachment 17609 [details]
files/sshd.supervise.run
Comment 7 Mark Francis 2003-09-16 20:58:40 UTC
Created attachment 17839 [details, diff]
Patch for init script to use daemontools if available

This patch does not require the ebuild changes to work.It does however require
the existance of /var/daemontools/sshd service directory for daemontools to be
used.
Comment 8 Mark Francis 2003-09-16 21:10:28 UTC
Created attachment 17842 [details]
Alternative /var/daemontools/sshd/run file
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2003-09-17 14:09:39 UTC
Look at my comment in:

  http://bugs.gentoo.org/show_bug.cgi?id=28941

I do not like hacking the same thing in 20 scripts.
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2003-09-25 13:40:51 UTC
how about 3.7.1 ?
Comment 11 Martin Schlemmer (RETIRED) gentoo-dev 2005-08-03 13:04:26 UTC
In sys-process/daemontools-scripts.