Here is the requested information.
Notice that printers.conf changed (again?) between the fgrep and the
diff -- the time stamp in the diff has also been updated just after
(10:20 vs 10:58).
(Some time passed between these commands; certainly I left the
terminal for longer than 300 seconds where I ran sleep 300, because I
was working on other things in the meantime. But the real beef seems
to be the time between the first fgrep and the diff. This was no more
than a few minutes, and possibly only seconds.)
e...@fsopti607:~$ ls -l /etc/cups/printers.conf
-rw------- 1 root lp 646 2010-09-02 07:50 /etc/cups/printers.conf
e...@fsopti607:~$ sudo mv /etc/cups/printers.conf
/etc/cups/printers.conf.20100902
[sudo] password for era:
e...@fsopti607:~$ sudo cp /etc/cups/printers.conf.20100902
/etc/cups/printers.conf
e...@fsopti607:~$ ls -l /etc/cups/printers.conf
-rw------- 1 root root 646 2010-09-02 10:20 /etc/cups/printers.conf
e...@fsopti607:~$ sudo nano /etc/cups/printers.conf
e...@fsopti607:~$ sleep 300
y...@fsopti607:~$ sudo invoke-rc.d --quiet cups force-reload
[sudo] password for era:
* Reloading Common Unix Printing System: cupsd [ OK ]
e...@fsopti607:~$ ls -l /etc/cups/printers.conf
-rw------- 1 root lp 647 2010-09-02 10:20 /etc/cups/printers.conf
e...@fsopti607:~$ sudo fgrep Auth /etc/cups/printers.conf
#AuthInfoRequired username,password
e...@fsopti607:~$ sudo diff -u /etc/cups/printers.conf.20100902
/etc/cps/printers.conf
--- /etc/cups/printers.conf.20100902 2010-09-02 07:50:34.094388684 +0300
+++ /etc/cups/printers.conf 2010-09-02 10:58:30.013145384 +0300
@@ -2,7 +2,6 @@
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter floor2_hpmf2>
-AuthInfoRequired username,password
Info HP LaserJet m3035 MFP / hpjis
Location 2nd floor South Park
MakeModel HP LaserJet m3035 MFP hpijs pcl3, 3.10.2
e...@fsopti607:~$ sudo fgrep Auth /etc/cups/printers.conf
e...@fsopti607:~$ ls -l /etc/cups/printers.conf
-rw------- 1 root lp 611 2010-09-02 10:58 /etc/cups/printers.conf
** Changed in: cups (Ubuntu)
Status: Incomplete => New
--
Rewrites /etc/cups/printers.conf every night
https://bugs.launchpad.net/bugs/627287
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs