Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35152 - [samba] /var/lib/samba/ntp_signd should be owned by root:ntp

Attached to Project: Arch Linux
Opened by Jason S. Wagner (jswagner) - Wednesday, 08 May 2013, 07:54 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 08 May 2013, 14:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details


Description:

When deploying SAMBA as a domain controller, the NTP package is required, and the ntp_signd directory under /var/lib/samba should be owned by the group 'ntp' (currently owned by root). If the NTP daemon is already installed on the system, should Arch set the owning group automatically?

If not, this is something that could be handled by the guide I'm writing. But it seems like such a simple thing that Arch could figure out and correct by itself.

There's also some changes to be made to /etc/ntp.conf, but again, I'm not sure if these would break NTP, or if amending the config file automatically on behalf of the user goes against "The Arch Way". I figured I'd ask the package maintainer.

Additional info:
* package version(s)
* config and/or log files etc.

See documentation here: http://wiki.samba.org/index.php/Configure_NTP

Steps to reproduce:

1. Install NTP.
2. Install SAMBA.
3. Note /var/lib/samba/ntp_signd group ownership.
4. Add these lines to /etc/ntp.conf:

ntpsigndsocket /var/lib/samba/ntp_signd/
restrict default mssntp

This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 08 May 2013, 14:09 GMT
Reason for closing:  Won't implement
Comment by Gaetan Bisson (vesath) - Wednesday, 08 May 2013, 09:26 GMT
The ntp package does not contain any /var/lib/samba/ntp_signd/ directory; I presume it is created by some tool (either from ntp or samba) and this is what needs to be fixed. Could you have a closer look at how this works?

Regarding our default ntp.conf, I really like it being as minimalistic as it currently is: these are the settings most people expect and nothing more. Maybe samba should ship a ntp.conf.samba and ask its users to replace ntp.conf with it; we could mention that file in the current ntp.conf as a comment.

Edit: I thought this bug was filed against ntp; please disregard the above.
Comment by Tobias Powalowski (tpowa) - Wednesday, 08 May 2013, 13:58 GMT
samba package does not include the directory, I don't know when this gets created.
Comment by Tobias Powalowski (tpowa) - Wednesday, 08 May 2013, 14:09 GMT
Since this is a pure user thing to decide where this directory should be, I don't think we can add this to any package.

Loading...