Seite 1 von 1

opsi-setup: conflicting options

Verfasst: 15 Okt 2014, 09:32
von giner
Hello,

If we choose to patch samba config and sudoers while installing opsi then opsi-depotserver.postinst runs the following:

Code: Alles auswählen

/usr/bin/opsi-setup --init-current-config --auto-configure-samba --patch-sudoers-file
However "--patch-sudoers-file" overrides "--init-current-config" so init-current-config is ignored and finally we get this:

Code: Alles auswählen

[3] [Oct 15 10:36:48] [Errno 2] No such file or directory: '/var/lib/opsi/config/depots' (opsi-setup|571)
I suppose patch-sudoers-file should be a non-overriding option just the same as both --auto-configure-dhcpd and --auto-configure-samba.

Best regards,
Stanislav German-Evtushenko

Re: opsi-setup: conflicting options

Verfasst: 16 Okt 2014, 16:53
von n.wenselowski
Hello Stanislav,

good catch - thank you!
I created a ticket in our internal bugtracker for this. I am not sure if a fix for this will find it's way into 4.0.5. If not it will be in a later release.


With kind regards

Niko

Re: opsi-setup: conflicting options

Verfasst: 16 Okt 2014, 17:02
von giner
Hello Niko,

This one is not a cosmetic, would be great if it fit in with the new release.
Thank you!

Best regards,
Stanislav German-Evtushenko

Re: opsi-setup: conflicting options

Verfasst: 21 Okt 2014, 15:41
von n.wenselowski
Hello Stanislav,

we are currently testing a fix for this in our experimental repository.


With kind regards

Niko