Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 444016 - net-fs/samba-4.0.0_rc4 wrong init script
Summary: net-fs/samba-4.0.0_rc4 wrong init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-20 11:29 UTC by Aleksandr Yakimov
Modified: 2012-11-30 11:32 UTC (History)
2 users (show)

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


Attachments
/etc/init.d/samba (samba_init,1.53 KB, text/plain)
2012-11-20 11:29 UTC, Aleksandr Yakimov
Details
/etc/conf.d/samba (samba_conf,1.54 KB, text/plain)
2012-11-20 11:31 UTC, Aleksandr Yakimov
Details
Patch for the previously supplied samba4.confd (samba4.confd.diff,887 bytes, patch)
2012-11-29 12:17 UTC, Torsten Kurbad
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr Yakimov 2012-11-20 11:29:48 UTC
Created attachment 330052 [details]
/etc/init.d/samba

Provided by net-fs/samba-4.0.0_rc4 init script not situable for full samba-3 replacement.
Comment 1 Aleksandr Yakimov 2012-11-20 11:31:46 UTC
Created attachment 330054 [details]
/etc/conf.d/samba
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-11-25 00:05:21 UTC
+*samba-4.0.0_rc5 (24 Nov 2012)
+
+  24 Nov 2012; Lars Wendler <polynomial-c@gentoo.org> +files/4.0/samba4.confd,
+  +files/4.0/samba4.initd-r1, -samba-4.0.0_rc3.ebuild, +samba-4.0.0_rc5.ebuild:
+  non-maintainer commit: Version bump. Removed old. Fixed samba4 init scripts
+  (bug #444016). Thanks to Aleksandr Yakimov who reported the bug and provided
+  the files.
+
Comment 3 Torsten Kurbad 2012-11-29 12:17:27 UTC
Created attachment 330922 [details, diff]
Patch for the previously supplied samba4.confd

(In reply to comment #1)
> Created attachment 330054 [details]
> /etc/conf.d/samba

Sorry for being a bit picky, but the advice about filling up daemon_list in this file is wrong. You can't just add "samba4", you have to replace the previous entries. The reason for that is that samba4 controls both smbd and nmbd by itself, since the daemons share common network sockets.

I tried to update the conf.d's comment to elaborate that. Feel free to change the wording, but please, leave the message intact. :-)
Comment 4 Aleksandr Yakimov 2012-11-29 20:32:00 UTC
(In reply to comment #3)
> Sorry for being a bit picky, but the advice about filling up daemon_list in
> this file is wrong. You can't just add "samba4", you have to replace the
> previous entries. The reason for that is that samba4 controls both smbd and
> nmbd by itself, since the daemons share common network sockets.

That's right - samba4 only for AD controller. smbd&nmbd it's classic samba3 behavior.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-11-30 11:32:09 UTC
+  30 Nov 2012; Lars Wendler <polynomial-c@gentoo.org> files/4.0/samba4.confd:
+  Fixed comments in conf.d file. Thanks to Torsten Kurbad for providing a patch
+  in bug #444016.
+