Bug#1109471: more test on the problem
I did some more test, and it seems that something is really wrong within
the execution of /usr/lib/cups/cgi-bin/admin.cgi (I straced the cupsd
process).
I saw that it read correctly /etc/cups/cupsd.conf but then it do no
detect or apply the changes I was asking (options "Share printers
connected to this system" and "Allow remote administration" in the admin
page).
Looking at sources it seems che the changed variable in cgi-bin/admin.c
(defined at line 1415) was false, so that at the following conditional
on it (if(changed) at line 1439) the else clause is used, that load the
norestart.tmpl template showing the message:
The server was not restarted because no changes were made to the
configuration
To look for more details I tried with am /etc/cups/cupsd.conf where I
manually set (at server stopped) LogLevel debug instead of LogLevel warn
(corresponding to option "Save debugging information for
troubleshooting" in the admin page).
But when I tried to apply the changes for remote admin and printer
sharing (using the button Change Setting from the admin page) the
/etc/cups/cupsd.conf was modified, but it was taken back to the default
with LogLevel warn instead of using the requested options.
So I tried other manual changes (always done at server stopped) in
/etc/cups/cupsd.conf, but any changes related to the options managed by
the admin page (unrelated ones like ServerAlias were not changed), were
removed when using the Change Setting button.
It seems that using that Change Setting always wrongly assume a new
cupsd.conf identical to the default one, not applying modification if
these are requested, or removinge them if done manually.
That means that the use of the admin page can destroy a working
configuration.
--
Simone Piccardi Truelite Srl
piccardi@truelite.it (email/jabber) Via Monferrato, 6
Tel. +39-347-1032433 50142 Firenze
http://www.truelite.it Tel. +39-055-7879597
Reply to: