Re: [systemd-devel] Samba Config Reload

2022-04-11 Thread Simon McVittie
On Mon, 11 Apr 2022 at 09:58:54 +0200, Lennart Poettering wrote: > dbus-daemon for example uses: > > ExecReload=/usr/bin/busctl call org.freedesktop.DBus > /org/freedesktop/DBus org.freedesktop.DBus ReloadConfig > > Which is a synchronous call to reload the config: the daemon is told > to re

Re: [systemd-devel] Samba Config Reload

2022-04-11 Thread Lennart Poettering
On Sa, 09.04.22 19:20, Leon Fauster ([email protected]) wrote: > It seems that killing with USR1|USR2|HUP is commonly used: > > $ grep -R ExecReload /usr/lib/systemd/|grep -v kill|wc -l > 19 > $ grep -R ExecReload /usr/lib/systemd/|grep kill|wc -l > 27 Yes. I am aware. It's less than ide

Re: [systemd-devel] Samba Config Reload

2022-04-11 Thread Lennart Poettering
On Sa, 09.04.22 08:00, Yolo von BNANA ([email protected]) wrote: > --- Original Message --- > On Friday, April 8th, 2022 at 13:49, Lennart Poettering > wrote: > > > This could be done better. Plugging in just a "kill" here, means the > > reload is async. i.e. "systemctl reload" will basicall

Re: [systemd-devel] Samba Config Reload

2022-04-09 Thread Leon Fauster
Am 09.04.22 um 10:00 schrieb Yolo von BNANA: --- Original Message --- On Friday, April 8th, 2022 at 13:49, Lennart Poettering wrote: This could be done better. Plugging in just a "kill" here, means the reload is async. i.e. "systemctl reload" will basically return immediately without

Re: [systemd-devel] Samba Config Reload

2022-04-09 Thread Wols Lists
On 09/04/2022 09:00, Yolo von BNANA wrote: Can you please explain this in more Detail? What does this mean: " "systemctl reload" will basically return immediately without the reload being complete"? And what is an Example for an synchronous command for ExecReload= Do you understand the differe

Re: [systemd-devel] Samba Config Reload

2022-04-09 Thread Yolo von BNANA
--- Original Message --- On Friday, April 8th, 2022 at 13:49, Lennart Poettering wrote: > This could be done better. Plugging in just a "kill" here, means the > reload is async. i.e. "systemctl reload" will basically return > immediately without the reload being complete, thus subsequent

Re: [systemd-devel] Samba Config Reload

2022-04-08 Thread Lennart Poettering
On Do, 07.04.22 15:38, Kenneth Porter ([email protected]) wrote: > --On Thursday, April 07, 2022 12:30 PM +0200 Lennart Poettering > wrote: > > > The other two options are likely similar, i.e. synchronous and talk to > > smbd directly. But I don't know samba that well, so it's just an > > ass

Re: [systemd-devel] Samba Config Reload

2022-04-07 Thread Kenneth Porter
--On Thursday, April 07, 2022 12:30 PM +0200 Lennart Poettering wrote: The other two options are likely similar, i.e. synchronous and talk to smbd directly. But I don't know samba that well, so it's just an assumption. In fact, if ExecStop= in smbd.service just calls the smbcontrol they behave

Re: [systemd-devel] Samba Config Reload

2022-04-07 Thread Lennart Poettering
On Mi, 06.04.22 06:21, Yolo von BNANA ([email protected]) wrote: > What is the best way to reload the Samba Configuration – and why? > > 1. systemctl reload smbd > 2. smbcontrol smbd reload-config > 3. pkill -HUP smbd > > I think it's this Order. (1 is best) > But I couldn't explain it to somebody els

Re: [systemd-devel] Samba

2017-05-24 Thread John Winward
Ok thanks *From:* Mantas Mikulėnas [mailto:[email protected]] *Sent:* 24 May 2017 08:25 *To:* John Winward *Cc:* Systemd *Subject:* Re: [systemd-devel] Samba On Wed, May 24, 2017 at 10:21 AM, John Winward wrote: Morning I have just installed a CentOS 7 system and I hace install many

Re: [systemd-devel] Samba

2017-05-24 Thread Mantas Mikulėnas
On Wed, May 24, 2017 at 10:21 AM, John Winward wrote: > Morning > > > > I have just installed a CentOS 7 system and I hace install many CentOS > platgforms over the years > > > > However, I cannot seem to get SAMBA running and have nenver had issues > with this before? > > > > [root@d3server ~]£

[systemd-devel] Samba

2017-05-24 Thread John Winward
Morning I have just installed a CentOS 7 system and I hace install many CentOS platgforms over the years However, I cannot seem to get SAMBA running and have nenver had issues with this before? [root@d3server ~]£ systemctl start smb Job for smb.service failed because the control process e

Re: [systemd-devel] Samba Server dosen't start

2016-07-06 Thread Reindl Harald
Am 06.07.2016 um 07:12 schrieb Lennart Poettering: On Sun, 26.06.16 14:28, Reindl Harald ([email protected]) wrote: Am 26.06.2016 um 14:16 schrieb Tom H: On Sun, Jun 26, 2016 at 8:09 AM, Reindl Harald wrote: Am 26.06.2016 um 13:27 schrieb Ralf Recktenwald: Smb.conf how is that a s

Re: [systemd-devel] Samba Server dosen't start

2016-07-05 Thread Lennart Poettering
On Sun, 26.06.16 14:28, Reindl Harald ([email protected]) wrote: > > > Am 26.06.2016 um 14:16 schrieb Tom H: > >On Sun, Jun 26, 2016 at 8:09 AM, Reindl Harald > >wrote: > >>Am 26.06.2016 um 13:27 schrieb Ralf Recktenwald: > >>> > >>>Smb.conf > >> > >>how is that a systemd problem? > >> >

Re: [systemd-devel] Samba Server dosen't start

2016-06-26 Thread Mantas Mikulėnas
On Sun, Jun 26, 2016 at 2:27 PM, Ralf Recktenwald wrote: > Smb.conf: > > > > [global] > > workgroup = smb > > security = share > > share modes = yes > > > > [homes] > > comment = Home Directories > > browsable = no > > read only = no > > create mode = 0750 > > > > [public] > > path = /media/stora

Re: [systemd-devel] Samba Server dosen't start

2016-06-26 Thread Tom H
On Sun, Jun 26, 2016 at 8:09 AM, Reindl Harald wrote: > Am 26.06.2016 um 13:27 schrieb Ralf Recktenwald: >> >> Smb.conf > > how is that a systemd problem? > > how do you imagine help without mention distrubition, software-versions, > cotent of the systemd-unit, systemctl status servicename and so

Re: [systemd-devel] Samba Server dosen't start

2016-06-26 Thread Reindl Harald
Am 26.06.2016 um 14:16 schrieb Tom H: On Sun, Jun 26, 2016 at 8:09 AM, Reindl Harald wrote: Am 26.06.2016 um 13:27 schrieb Ralf Recktenwald: Smb.conf how is that a systemd problem? how do you imagine help without mention distrubition, software-versions, cotent of the systemd-unit, system

Re: [systemd-devel] Samba Server dosen't start

2016-06-26 Thread Reindl Harald
Am 26.06.2016 um 13:27 schrieb Ralf Recktenwald: Smb.conf how is that a systemd problem? how do you imagine help without mention distrubition, software-versions, cotent of the systemd-unit, systemctl status servicename and so on? it's really tiresome: http://www.catb.org/esr/faqs/smart-q

[systemd-devel] Samba Server dosen't start

2016-06-26 Thread Ralf Recktenwald
Smb.conf: [global] workgroup = smb security = share share modes = yes [homes] comment = Home Directories browsable = no read only = no create mode = 0750 [public] path = /media/storage/ public = yes writable = yes comment = smb share printable = no guest ok = yes