[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2013-10-27 Thread Avi
Thank you very much

I have Ubuntu 12.04 LTE   machine and had the same problem.

according to this post I manage to fix it

and this is what I done:  ( in the file /etc/init/smbd.conf )

start on (local-filesystems and started cups  and net-device-up)
stop on runlevel [!2345]

p.s.
1) The order of started cups  and net-device-up is important!!!
2 )I just added  started cups in the middle of the line.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2013-10-27 Thread Avi
Thank you very much

I have Ubuntu 12.04 LTE   machine and had the same problem.

according to this post I manage to fix it

and this is what I done:  ( in the file /etc/init/smbd.conf )

start on (local-filesystems and started cups  and net-device-up)
stop on runlevel [!2345]

p.s.
1) The order of started cups  and net-device-up is important!!!
2 )I just added  started cups in the middle of the line.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2013-03-22 Thread Thilo Uttendorfer
I can confirm, this is still a problem on Precise. Please reopen this
bug at least for precise. I could help with testing a fixed package.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2013-03-22 Thread Thilo Uttendorfer
I can confirm, this is still a problem on Precise. Please reopen this
bug at least for precise. I could help with testing a fixed package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2012-09-09 Thread Jan Rathmann
This is again a problem on Precise. I have to delay the startup of Samba
until CUPS is started, otherwise it won't find the shared printer.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2012-09-09 Thread Jan Rathmann
This is again a problem on Precise. I have to delay the startup of Samba
until CUPS is started, otherwise it won't find the shared printer.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2012-03-29 Thread Chris Halse Rogers
Marking the Lucid task as New and removing the verification-needed tag;
this has been superseded by a security update and needs uploading again,
merged with the security update.

** Changed in: cups (Ubuntu Lucid)
   Status: Fix Committed = New

** Tags removed: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2012-03-29 Thread Martin Pitt
As nobody tested the lucid-proposed cups package in a year, let's just
bury this.

** Changed in: cups (Ubuntu Lucid)
   Status: New = Won't Fix

** Changed in: cups (Ubuntu Lucid)
Milestone: ubuntu-10.04.3 = None

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2012-03-29 Thread Chris Halse Rogers
Marking the Lucid task as New and removing the verification-needed tag;
this has been superseded by a security update and needs uploading again,
merged with the security update.

** Changed in: cups (Ubuntu Lucid)
   Status: Fix Committed = New

** Tags removed: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2012-03-29 Thread Martin Pitt
As nobody tested the lucid-proposed cups package in a year, let's just
bury this.

** Changed in: cups (Ubuntu Lucid)
   Status: New = Won't Fix

** Changed in: cups (Ubuntu Lucid)
Milestone: ubuntu-10.04.3 = None

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-04 Thread Clint Byrum
Right, so the 750 second reload bit may only work in some
configurations. I'd like to get as much information about peoples'
configurations to ascertain why this works for some, and not others.

If we move the start condition for samba to 'stopped rc', that will
possibly break other peoples' configurations that may be depending on
samba to start before rc.local, which happens just before 'stopped rc',
so that is not a viable generic solution, though it does sound like a
decent workaround for affected users.

Please, users who are affected, open new reports and link to them here.
There is just way too much noise here for the issue to be clear. It may
turn out that this wasn't fixed entirely, but it won't help to continue
commenting here.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-04 Thread Clint Byrum
Right, so the 750 second reload bit may only work in some
configurations. I'd like to get as much information about peoples'
configurations to ascertain why this works for some, and not others.

If we move the start condition for samba to 'stopped rc', that will
possibly break other peoples' configurations that may be depending on
samba to start before rc.local, which happens just before 'stopped rc',
so that is not a viable generic solution, though it does sound like a
decent workaround for affected users.

Please, users who are affected, open new reports and link to them here.
There is just way too much noise here for the issue to be clear. It may
turn out that this wasn't fixed entirely, but it won't help to continue
commenting here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-03 Thread Clint Byrum
Excerpts from Lucio M Nicolosi's message of Fri Sep 02 18:25:19 UTC 2011:
 @ Clint,
 
 A long time ago I also reported this bug for Maverick 64. Others
 reported for Natty an now Oneiric. Tired of waiting for a solution,
 successfully applied the patch explained at #18 to both my Mav and Natty
 installs.  Wouldn't be easier to acknowledge that this bug isn't fixed
 at all than opening a new thread?
 

First, Thanks for sticking with us Lucio! I know it can be frustrating
when something just isn't working the way you'd expect it to.

There is a lot of noise attached to this, and it was indeed fixed at
one point by the developer. What has happened is likely a regression,
or even possibly an entirely different set of circumstances that lead
to the same bad end.

We may find that the original fix never took, but your extra bug reports
with versions and descriptions will help us nail down how this slipped
through and hopefully help to prevent the problem from recurring.

There's no reason to get attached to this particular bug report at all.
I know its much easier to just comment on this existing bug than to open
up a terminal and run 'ubuntu-bug cups' again, but that will help us a
great deal, even if we end up marking your new report as a duplicate of
this one.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-03 Thread Lucio M Nicolosi
Clint,

In the new bug report, please consider that contrary to the stated at #30 
(Martin Pitt) :
  For lucid, ... samba reloads the printers every 750 seconds anyway, so it's 
just a matter of waiting...
At least for some hardware configurations it doesn't happen for Maverick, Natty 
and Oneiric (as seen by the previous posts)

Also, please repost the working solution at #18 so that until a
permanent solution is released, faulty systems can be easily patched.

Many thanks for addressing this issue again.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-03 Thread Clint Byrum
Excerpts from Lucio M Nicolosi's message of Fri Sep 02 18:25:19 UTC 2011:
 @ Clint,
 
 A long time ago I also reported this bug for Maverick 64. Others
 reported for Natty an now Oneiric. Tired of waiting for a solution,
 successfully applied the patch explained at #18 to both my Mav and Natty
 installs.  Wouldn't be easier to acknowledge that this bug isn't fixed
 at all than opening a new thread?
 

First, Thanks for sticking with us Lucio! I know it can be frustrating
when something just isn't working the way you'd expect it to.

There is a lot of noise attached to this, and it was indeed fixed at
one point by the developer. What has happened is likely a regression,
or even possibly an entirely different set of circumstances that lead
to the same bad end.

We may find that the original fix never took, but your extra bug reports
with versions and descriptions will help us nail down how this slipped
through and hopefully help to prevent the problem from recurring.

There's no reason to get attached to this particular bug report at all.
I know its much easier to just comment on this existing bug than to open
up a terminal and run 'ubuntu-bug cups' again, but that will help us a
great deal, even if we end up marking your new report as a duplicate of
this one.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-03 Thread Lucio M Nicolosi
Clint,

In the new bug report, please consider that contrary to the stated at #30 
(Martin Pitt) :
  For lucid, ... samba reloads the printers every 750 seconds anyway, so it's 
just a matter of waiting...
At least for some hardware configurations it doesn't happen for Maverick, Natty 
and Oneiric (as seen by the previous posts)

Also, please repost the working solution at #18 so that until a
permanent solution is released, faulty systems can be easily patched.

Many thanks for addressing this issue again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-02 Thread Kirill Elagin
I confirm this in Ubuntu Server 11.04.
It's very strange that this bug exists for so long.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-02 Thread Clint Byrum
Kiril and/or berry, can you open a new bug report? This has been marked
as Fix Released since Ubuntu 10.10, so if the SIGHUP after startup
solution isn't working, then we have a regression.

Just run 'ubuntu-bug cups' and it will collect information from your
systems. Make sure to come back to this bug report and let us know what
bug#'s you've opened so we can investigate this regression.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-02 Thread Lucio M Nicolosi
@ Clint,

A long time ago I also reported this bug for Maverick 64. Others
reported for Natty an now Oneiric. Tired of waiting for a solution,
successfully applied the patch explained at #18 to both my Mav and Natty
installs.  Wouldn't be easier to acknowledge that this bug isn't fixed
at all than opening a new thread?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-02 Thread Kirill Elagin
I confirm this in Ubuntu Server 11.04.
It's very strange that this bug exists for so long.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-02 Thread Clint Byrum
Kiril and/or berry, can you open a new bug report? This has been marked
as Fix Released since Ubuntu 10.10, so if the SIGHUP after startup
solution isn't working, then we have a regression.

Just run 'ubuntu-bug cups' and it will collect information from your
systems. Make sure to come back to this bug report and let us know what
bug#'s you've opened so we can investigate this regression.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-09-02 Thread Lucio M Nicolosi
@ Clint,

A long time ago I also reported this bug for Maverick 64. Others
reported for Natty an now Oneiric. Tired of waiting for a solution,
successfully applied the patch explained at #18 to both my Mav and Natty
installs.  Wouldn't be easier to acknowledge that this bug isn't fixed
at all than opening a new thread?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-07-26 Thread berry
Very frustrating until I saw this post.  Confrimed for me in 11.04.  My machine 
had had very high uptimes so I did not notice until my UPS went recently and I 
would loose printers on reboots.
I was blindly hacking my smb.conf until this post.
rc.local  with /sbin/reload smbd is my workaround

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-07-26 Thread berry
Very frustrating until I saw this post.  Confrimed for me in 11.04.  My machine 
had had very high uptimes so I did not notice until my UPS went recently and I 
would loose printers on reboots.
I was blindly hacking my smb.conf until this post.
rc.local  with /sbin/reload smbd is my workaround

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-06-28 Thread Kate Stewart
** Changed in: cups (Ubuntu Lucid)
Milestone: None = ubuntu-10.04.3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-06-19 Thread Yrogirg
Yes, the bug is still in 11.04

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-06-19 Thread Yrogirg
Yes, the bug is still in 11.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-05-24 Thread fabrizio
On a 11.04 Natty Narwhal box I want to use as a :
- DHCP server
- NAS
- Printer Server

where all clients are Xp Pro based, I run into this samba starts before cups 
issue and I read all the previous comments.
I also gave a quick look to Upstart pages.

I did this stupid thing in /etc/init/smbd.conf :

start on( local-filesystems and started cups)

It works on my ubuntu box, perhaps this is a nice case of beginner
luck but I do hope it helps others to solve their problems.

Damn ! I see that this was done in #43 by Nec. Ok nevertheless take it
as a further confirmation.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-05-24 Thread fabrizio
On a 11.04 Natty Narwhal box I want to use as a :
- DHCP server
- NAS
- Printer Server

where all clients are Xp Pro based, I run into this samba starts before cups 
issue and I read all the previous comments.
I also gave a quick look to Upstart pages.

I did this stupid thing in /etc/init/smbd.conf :

start on( local-filesystems and started cups)

It works on my ubuntu box, perhaps this is a nice case of beginner
luck but I do hope it helps others to solve their problems.

Damn ! I see that this was done in #43 by Nec. Ok nevertheless take it
as a further confirmation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-05-22 Thread Alfred
This problem still exists in 11.04 Natty Narwhal.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-05-22 Thread Alfred
This problem still exists in 11.04 Natty Narwhal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread derekshaw
re #44,45,46

Apologies in advance if I've mis-understood the interactions here.

Can you please post the preferred workaround?

I have this exact issue in a fully-patched lucid (10.04.2) deployment
that has already chewed up hours of my time over the past week. It
started with VMware ws7 not being able to use a 2nd PCI parallel port,
which, after my dis-belief passed, pushed me to kludge it with samba and
cups and raw print queues, only to find this bug (after 3 or 4 cold
starts to confirm yet another WTF?! moment). All I really want is for
smbd to start after cups, in a way that won't come back and bite me in
the [ah] when the packages get updated in the future (at a remote client
site)

I don't plan to test the proposed patch as described in #49, since this
machine is going into production ASAP (see comments about hours of time
invested over a week)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread John Edwards
derekshow, have you tried adding '/sbin/reload smbd' at the end of
/etc/rc.local ?

That does not restart the Samba smbd processes, but does force them to
reload their configuration - including asking CUPS for a list of
printers.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread derekshaw
yes.  I just did this in the interval between my last post and now.  I
was hoping for something with a little error-checking (rc.local always
returns 0)

for others, here's the actual contents of /etc/rc.local


** Attachment added: contents of /etc/rc.local as a local fix
   
https://bugs.launchpad.net/ubuntu/lucid/+source/samba/+bug/494141/+attachment/2041391/+files/rc.local

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread John Edwards
derekshaw, you do not need to *restart* smbd, only *reload* it.

And it is best to give the full path to the program in case the shell
you are using has not automatically added /sbin to your $PATH variable.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread Clint Byrum
Excerpts from derekshaw's message of Fri Apr 15 14:18:17 UTC 2011:
 re #44,45,46
 
 Apologies in advance if I've mis-understood the interactions here.
 
 Can you please post the preferred workaround?
 
 I have this exact issue in a fully-patched lucid (10.04.2) deployment
 that has already chewed up hours of my time over the past week. It
 started with VMware ws7 not being able to use a 2nd PCI parallel port,
 which, after my dis-belief passed, pushed me to kludge it with samba and
 cups and raw print queues, only to find this bug (after 3 or 4 cold
 starts to confirm yet another WTF?! moment). All I really want is for
 smbd to start after cups, in a way that won't come back and bite me in
 the [ah] when the packages get updated in the future (at a remote client
 site)
 
 I don't plan to test the proposed patch as described in #49, since this
 machine is going into production ASAP (see comments about hours of time
 invested over a week)

Derek, the change in the -proposed package implements the workaround
others are suggesting, though it does it in the package, rather than
rc.local.

If somebody is willing to try out the -proposed package, and let us know
here, we can allow it into -updates so all users will get it. You don't
need to be affected by the bug to try it out, just follow the test case
on a clean lucid VM (you can just configure a printer that doesn't exist)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread derekshaw
re #44,45,46

Apologies in advance if I've mis-understood the interactions here.

Can you please post the preferred workaround?

I have this exact issue in a fully-patched lucid (10.04.2) deployment
that has already chewed up hours of my time over the past week. It
started with VMware ws7 not being able to use a 2nd PCI parallel port,
which, after my dis-belief passed, pushed me to kludge it with samba and
cups and raw print queues, only to find this bug (after 3 or 4 cold
starts to confirm yet another WTF?! moment). All I really want is for
smbd to start after cups, in a way that won't come back and bite me in
the [ah] when the packages get updated in the future (at a remote client
site)

I don't plan to test the proposed patch as described in #49, since this
machine is going into production ASAP (see comments about hours of time
invested over a week)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread John Edwards
derekshow, have you tried adding '/sbin/reload smbd' at the end of
/etc/rc.local ?

That does not restart the Samba smbd processes, but does force them to
reload their configuration - including asking CUPS for a list of
printers.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread derekshaw
yes.  I just did this in the interval between my last post and now.  I
was hoping for something with a little error-checking (rc.local always
returns 0)

for others, here's the actual contents of /etc/rc.local


** Attachment added: contents of /etc/rc.local as a local fix
   
https://bugs.launchpad.net/ubuntu/lucid/+source/samba/+bug/494141/+attachment/2041391/+files/rc.local

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread John Edwards
derekshaw, you do not need to *restart* smbd, only *reload* it.

And it is best to give the full path to the program in case the shell
you are using has not automatically added /sbin to your $PATH variable.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-15 Thread Clint Byrum
Excerpts from derekshaw's message of Fri Apr 15 14:18:17 UTC 2011:
 re #44,45,46
 
 Apologies in advance if I've mis-understood the interactions here.
 
 Can you please post the preferred workaround?
 
 I have this exact issue in a fully-patched lucid (10.04.2) deployment
 that has already chewed up hours of my time over the past week. It
 started with VMware ws7 not being able to use a 2nd PCI parallel port,
 which, after my dis-belief passed, pushed me to kludge it with samba and
 cups and raw print queues, only to find this bug (after 3 or 4 cold
 starts to confirm yet another WTF?! moment). All I really want is for
 smbd to start after cups, in a way that won't come back and bite me in
 the [ah] when the packages get updated in the future (at a remote client
 site)
 
 I don't plan to test the proposed patch as described in #49, since this
 machine is going into production ASAP (see comments about hours of time
 invested over a week)

Derek, the change in the -proposed package implements the workaround
others are suggesting, though it does it in the package, rather than
rc.local.

If somebody is willing to try out the -proposed package, and let us know
here, we can allow it into -updates so all users will get it. You don't
need to be affected by the bug to try it out, just follow the test case
on a clean lucid VM (you can just configure a printer that doesn't exist)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-12 Thread Lucio M Nicolosi
Re: #52
It seems I was wrong again. It looks like the printers were loaded when I saved 
the smb.conf file, which of course restarts the service. Left alone, Samba, in 
my Maverick AMD64, will not periodically reload the printers and I still don't 
know why.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-12 Thread Lucio M Nicolosi
Re: #52
It seems I was wrong again. It looks like the printers were loaded when I saved 
the smb.conf file, which of course restarts the service. Left alone, Samba, in 
my Maverick AMD64, will not periodically reload the printers and I still don't 
know why.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-07 Thread Lucio M Nicolosi
Re #48

Clint, every time I have to restart Maverick 64 (hopefully seldon) I
subsequently run sudo service smbd restart (too lazy and ignorant to
put it on a script) because printers will not load in Samba. Can't
remember if I had too do it on Lucid. Will try to leave the system alone
for a few hours and see what happens but the last time I did it, I could
not observe what Martin stated at #30 (samba reloads the printers every
750 seconds) by the way (can' help but notice), already commented at #32
on Oct, 2010. Could it be something with my config? This is a Mav. 64
clean install, no leftovers from Lucid (besides /home).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-07 Thread Lucio M Nicolosi
System is on now for one hour (3600 secs) after a restart and no signal
of a Samba reload as stated at #30. smbclient -L [..] correctly shows
all shares but the printers. Either the same bug exists in Maverick 64
or a similar bug affects at least my system. Anything I could do besides
sudo service smbd start?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-07 Thread Lucio M Nicolosi
Although the default smb.conf parameter printing equals to cups
(printing = cups) unless the parameter printcap name is set (printcap
name = cups) the printers do not load in the periodical samba reload
process referred at #30, thus requiring  a manual sudo service smbd
restart.

Since I try to keep my smb.conf as lean as possible, trying to keep the
defaults,  I didn't notice this up to some minutes ago when checked the
smb.conf file at #42. My fault, sorry, feel really ashamed, but if one
day someone arrives here looking for a solution for this bug while
riding a Maverick or Natty my mistake can be useful.

So Martin Pitt was right, in Maverick and (by the way) Natty, although
CUPS isn't available at samba startup, and this is a nuisance,  it is
automatically reloaded according to the printcap cache time parameter
which defaults to 750, (too much for me, reduced to 300 or five minutes
printcap cache time = 300) providing you set printcap name = cups
which, at the original smb.conf,  looks like default but isn't...

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-07 Thread Lucio M Nicolosi
System is on now for one hour (3600 secs) after a restart and no signal
of a Samba reload as stated at #30. smbclient -L [..] correctly shows
all shares but the printers. Either the same bug exists in Maverick 64
or a similar bug affects at least my system. Anything I could do besides
sudo service smbd start?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-07 Thread Lucio M Nicolosi
Although the default smb.conf parameter printing equals to cups
(printing = cups) unless the parameter printcap name is set (printcap
name = cups) the printers do not load in the periodical samba reload
process referred at #30, thus requiring  a manual sudo service smbd
restart.

Since I try to keep my smb.conf as lean as possible, trying to keep the
defaults,  I didn't notice this up to some minutes ago when checked the
smb.conf file at #42. My fault, sorry, feel really ashamed, but if one
day someone arrives here looking for a solution for this bug while
riding a Maverick or Natty my mistake can be useful.

So Martin Pitt was right, in Maverick and (by the way) Natty, although
CUPS isn't available at samba startup, and this is a nuisance,  it is
automatically reloaded according to the printcap cache time parameter
which defaults to 750, (too much for me, reduced to 300 or five minutes
printcap cache time = 300) providing you set printcap name = cups
which, at the original smb.conf,  looks like default but isn't...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-07 Thread Lucio M Nicolosi
Re #48

Clint, every time I have to restart Maverick 64 (hopefully seldon) I
subsequently run sudo service smbd restart (too lazy and ignorant to
put it on a script) because printers will not load in Samba. Can't
remember if I had too do it on Lucid. Will try to leave the system alone
for a few hours and see what happens but the last time I did it, I could
not observe what Martin stated at #30 (samba reloads the printers every
750 seconds) by the way (can' help but notice), already commented at #32
on Oct, 2010. Could it be something with my config? This is a Mav. 64
clean install, no leftovers from Lucid (besides /home).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-05 Thread Martin Pitt
Accepted cups into lucid-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: cups (Ubuntu Lucid)
   Status: Triaged = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/cups

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-05 Thread Martin Pitt
Accepted cups into lucid-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: cups (Ubuntu Lucid)
   Status: Triaged = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/cups

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-04 Thread Clint Byrum
Another even simpler thing to do would be to just add a 'service smbd
reload' to the start action of the init script.

** Changed in: cups (Ubuntu Lucid)
   Status: Won't Fix = Triaged

** Changed in: cups (Ubuntu Lucid)
 Assignee: (unassigned) = Clint Byrum (clint-fewbar)

** Changed in: cups (Ubuntu Lucid)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-04 Thread Clint Byrum
Ok I uploaded a package to lucid-proposed that reloads samba after
start. I tested it with both cups and samba installed, and with samba
never installed, removed and purged.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-04 Thread Lucio M Nicolosi
re: #45

This bug was reported on 2009-12-08.

At last some common sense at work. Hope it is also uploaded for
Maverick.

Thanks, Clint Byrum.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-04 Thread Clint Byrum
Excerpts from Lucio M Nicolosi's message of Mon Apr 04 19:36:42 UTC 2011:
 re: #45
 
 This bug was reported on 2009-12-08.
 
 At last some common sense at work. Hope it is also uploaded for
 Maverick.

Lucio, maverick should not be affected because the cups upstart job
reloads samba in its post-start, much like the changes to the lucid
init.d script does.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-04 Thread Clint Byrum
Another even simpler thing to do would be to just add a 'service smbd
reload' to the start action of the init script.

** Changed in: cups (Ubuntu Lucid)
   Status: Won't Fix = Triaged

** Changed in: cups (Ubuntu Lucid)
 Assignee: (unassigned) = Clint Byrum (clint-fewbar)

** Changed in: cups (Ubuntu Lucid)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-04 Thread Clint Byrum
Ok I uploaded a package to lucid-proposed that reloads samba after
start. I tested it with both cups and samba installed, and with samba
never installed, removed and purged.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-04 Thread Lucio M Nicolosi
re: #45

This bug was reported on 2009-12-08.

At last some common sense at work. Hope it is also uploaded for
Maverick.

Thanks, Clint Byrum.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-04 Thread Clint Byrum
Excerpts from Lucio M Nicolosi's message of Mon Apr 04 19:36:42 UTC 2011:
 re: #45
 
 This bug was reported on 2009-12-08.
 
 At last some common sense at work. Hope it is also uploaded for
 Maverick.

Lucio, maverick should not be affected because the cups upstart job
reloads samba in its post-start, much like the changes to the lucid
init.d script does.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-01 Thread Clint Byrum
There's a way to do this in lucid without modifying samba at all.

# cups-sysv

start on starting smbd
stop on stopped smbd

pre-start script
  invoke-rc.d cups start || :
end script

post-stop script
  invoke-rc.d cups stop || :
end script
#EOF

This will ensure that cups is started before smbd. It will also
introduce an error when we try to start/stop it again during rc2.d ..
but that shouldn't be more than a nuisance (and we could always remove
it from rc2.d in this pre-start)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-04-01 Thread Clint Byrum
There's a way to do this in lucid without modifying samba at all.

# cups-sysv

start on starting smbd
stop on stopped smbd

pre-start script
  invoke-rc.d cups start || :
end script

post-stop script
  invoke-rc.d cups stop || :
end script
#EOF

This will ensure that cups is started before smbd. It will also
introduce an error when we try to start/stop it again during rc2.d ..
but that shouldn't be more than a nuisance (and we could always remove
it from rc2.d in this pre-start)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-02-11 Thread Nec
Hi,

Thank you on comment #18 for the answer, but when trying to understand
what was best to do, I tried that instead:

start on (local-filesystems and started cups)

and :
- it IS working
- this is best understandable

What comes smbd should wait for something else than cups to solve *this*
issue?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2011-02-11 Thread Nec
Hi,

Thank you on comment #18 for the answer, but when trying to understand
what was best to do, I tried that instead:

start on (local-filesystems and started cups)

and :
- it IS working
- this is best understandable

What comes smbd should wait for something else than cups to solve *this*
issue?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to
  upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-13 Thread Ian McMichael

** Attachment added: cupsd.conf
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+attachment/1764561/+files/cupsd.conf

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-13 Thread Ian McMichael
Sorry for the two posts, I couldn't work out how to attach more than one
file to a comment!  cupsd.conf and smb.conf as requested.  IP addresses
and domain names have been changed as per RFC1166 and RFC2606
respectively to protect privacy.

** Attachment added: smb.conf
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+attachment/1764562/+files/smb.conf

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-13 Thread Till Kamppeter
Ian, thank you for your files. For me the configurations look correct.
Can perhaps look a Samba expert into them?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-13 Thread Ian McMichael

** Attachment added: cupsd.conf
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+attachment/1764561/+files/cupsd.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-13 Thread Ian McMichael
Sorry for the two posts, I couldn't work out how to attach more than one
file to a comment!  cupsd.conf and smb.conf as requested.  IP addresses
and domain names have been changed as per RFC1166 and RFC2606
respectively to protect privacy.

** Attachment added: smb.conf
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+attachment/1764562/+files/smb.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-13 Thread Till Kamppeter
Ian, thank you for your files. For me the configurations look correct.
Can perhaps look a Samba expert into them?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-12 Thread Till Kamppeter
Can everyone with problems please also post /etc/cups/cupsd.conf and
/etc/samba/smb.conf? Please attach the files one after the other, do not
compress them.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-12 Thread Lucio M Nicolosi
Here my cups.conf file. Bug still present in Maverick 64 updated till
Dec 12, 2010.

** Attachment added: cups.conf
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/494141/+attachment/1763671/+files/cups.conf

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-12 Thread Till Kamppeter
Can everyone with problems please also post /etc/cups/cupsd.conf and
/etc/samba/smb.conf? Please attach the files one after the other, do not
compress them.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-04 Thread fermo111
Patch #18 does not work for me on 10.04

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-12-04 Thread fermo111
Patch #18 does not work for me on 10.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/494141

Title:
  CUPS starts after SAMBA; printers are not available (convert cups to upstart)

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-11-28 Thread Matt Burkhardt
I've been running Ubuntu LTS Versions since 6.06 and doing the upgrades.
I'm currently at 10.04 and I've got this exact same problem.

I've tried adding in the fix listed in Comments #18 and #25 (the same
fix), but that doesn't work at all - meaning Samba does not load at all
and running smbtree gives me nothing.

I have also tried putting the /etc/rc2.d/S50cups and move it to S05cups
- but still doesn't work.

I'm not sending the cups.conf file because I'm not on Maverick and it
runs just fine if I stop and start cups then smbd

Samba has been running fine with CUPS the last 3 1/2 years on that box
with all the LTS updates applied and this last set broke a couple of
things - but mostly CUPS / XSANE related.  Any help or pointers
appreciated

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-11-28 Thread Matt Burkhardt
I've been running Ubuntu LTS Versions since 6.06 and doing the upgrades.
I'm currently at 10.04 and I've got this exact same problem.

I've tried adding in the fix listed in Comments #18 and #25 (the same
fix), but that doesn't work at all - meaning Samba does not load at all
and running smbtree gives me nothing.

I have also tried putting the /etc/rc2.d/S50cups and move it to S05cups
- but still doesn't work.

I'm not sending the cups.conf file because I'm not on Maverick and it
runs just fine if I stop and start cups then smbd

Samba has been running fine with CUPS the last 3 1/2 years on that box
with all the LTS updates applied and this last set broke a couple of
things - but mostly CUPS / XSANE related.  Any help or pointers
appreciated

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-10-20 Thread tomasz kubacki
as of today  on my 10.10 bug is still present (appling patch from #18
works)

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-10-20 Thread Till Kamppeter
Anyone who has still problems on Maverick, please attach your
/etc/init/cups.conf file.

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-10-20 Thread tomasz kubacki
as of today  on my 10.10 bug is still present (appling patch from #18
works)

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-10-20 Thread Till Kamppeter
Anyone who has still problems on Maverick, please attach your
/etc/init/cups.conf file.

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-10-12 Thread malheum

I can confirm this bug on 10.04 LTS fully updated as of today.

I must say that it is really a snafu to have a server without any
printers available via samba to clients when it boots.

And there was no reload every 750secs as stated somewhere above. The
server boots, printers are available locally via cups, but not via samba
and an hour later the situation is still the same.

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-10-12 Thread malheum

I can confirm this bug on 10.04 LTS fully updated as of today.

I must say that it is really a snafu to have a server without any
printers available via samba to clients when it boots.

And there was no reload every 750secs as stated somewhere above. The
server boots, printers are available locally via cups, but not via samba
and an hour later the situation is still the same.

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-10-06 Thread Lucio M Nicolosi
Running AMD64 Maverick Beta 2010, 7 Oct. with all updates. This bug is
still present. At least in this recent Maverick clean install (where I
didn't apply the patch referred at #18) there's no samba reloading the
printers every 750 seconds as stated at #30. Are there any Cups/Samba
updates still to be released before Oct. 10?

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-10-06 Thread Lucio M Nicolosi
Running AMD64 Maverick Beta 2010, 7 Oct. with all updates. This bug is
still present. At least in this recent Maverick clean install (where I
didn't apply the patch referred at #18) there's no samba reloading the
printers every 750 seconds as stated at #30. Are there any Cups/Samba
updates still to be released before Oct. 10?

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-17 Thread Martin Pitt
cups (1.4.4-5) unstable; urgency=low

  [ Martin Pitt ]
  * ubuntu-upstart.dpatch: Drop the dependency on starting smbd, it causes
samba to hang on package upgrades or manual restarts. There doesn't seem
to be a good way to express this dependency right now. (LP: #639768)
Instead, send a SIGHUP to smbd if it is running, which causes it to reload
printers.

  [ Till Kamppeter ]
  * pstops-based-workflow-only-for-printing-ps-on-a-ps-printer.dpatch:
Let CUPS use the former PostScript-based filter chain only if the input
file is PostScript and the printer is a PostScript printer with
manufacturer-supplied PPD file. This avoids ugly PS-PDF-PS conversions
which are bad for the performance and sometimes cause issues
(Closes: #593338, requested by Ricoh).

 -- Martin Pitt mp...@debian.org  Thu, 16 Sep 2010 18:57:06 +0200


** Changed in: cups (Ubuntu)
   Status: In Progress = Fix Released

** Changed in: cups (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

** Changed in: samba (Ubuntu Lucid)
   Status: Triaged = Invalid

** Changed in: samba (Ubuntu)
Milestone: ubuntu-10.10 = None

** Changed in: samba (Ubuntu)
   Status: Triaged = Invalid

** Changed in: samba (Ubuntu Lucid)
Milestone: lucid-updates = None

** Changed in: cups (Ubuntu Lucid)
   Status: Invalid = Won't Fix

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-17 Thread Martin Pitt
For lucid, Jelmer says that samba reloads the printers every 750 seconds
anyway, so it's just a matter of waiting. Changing the cups init script
to an upstart job is not an appropriate SRU.

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-17 Thread Francesco Pretto
2010/9/17 Martin Pitt martin.p...@ubuntu.com:
 cups (1.4.4-5) unstable; urgency=low

  [ Martin Pitt ]
  * ubuntu-upstart.dpatch: Drop the dependency on starting smbd, it causes
    samba to hang on package upgrades or manual restarts. There doesn't seem
    to be a good way to express this dependency right now. (LP: #639768)

Is Scott (maintainer of upstart) aware of this?

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-17 Thread Martin Pitt
cups (1.4.4-5) unstable; urgency=low

  [ Martin Pitt ]
  * ubuntu-upstart.dpatch: Drop the dependency on starting smbd, it causes
samba to hang on package upgrades or manual restarts. There doesn't seem
to be a good way to express this dependency right now. (LP: #639768)
Instead, send a SIGHUP to smbd if it is running, which causes it to reload
printers.

  [ Till Kamppeter ]
  * pstops-based-workflow-only-for-printing-ps-on-a-ps-printer.dpatch:
Let CUPS use the former PostScript-based filter chain only if the input
file is PostScript and the printer is a PostScript printer with
manufacturer-supplied PPD file. This avoids ugly PS-PDF-PS conversions
which are bad for the performance and sometimes cause issues
(Closes: #593338, requested by Ricoh).

 -- Martin Pitt mp...@debian.org  Thu, 16 Sep 2010 18:57:06 +0200


** Changed in: cups (Ubuntu)
   Status: In Progress = Fix Released

** Changed in: cups (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

** Changed in: samba (Ubuntu Lucid)
   Status: Triaged = Invalid

** Changed in: samba (Ubuntu)
Milestone: ubuntu-10.10 = None

** Changed in: samba (Ubuntu)
   Status: Triaged = Invalid

** Changed in: samba (Ubuntu Lucid)
Milestone: lucid-updates = None

** Changed in: cups (Ubuntu Lucid)
   Status: Invalid = Won't Fix

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-17 Thread Martin Pitt
For lucid, Jelmer says that samba reloads the printers every 750 seconds
anyway, so it's just a matter of waiting. Changing the cups init script
to an upstart job is not an appropriate SRU.

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-17 Thread Francesco Pretto
2010/9/17 Martin Pitt martin.p...@ubuntu.com:
 cups (1.4.4-5) unstable; urgency=low

  [ Martin Pitt ]
  * ubuntu-upstart.dpatch: Drop the dependency on starting smbd, it causes
    samba to hang on package upgrades or manual restarts. There doesn't seem
    to be a good way to express this dependency right now. (LP: #639768)

Is Scott (maintainer of upstart) aware of this?

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-14 Thread Till Kamppeter
pitti has upstartified CUPS now for the Maverick package. CUPS by itself
works nicely with upstart, also on a system boot CUPS and Samba get
started in the correct order. There is still fine tuning needed so that
Samba does not hang when manually starting and stopping the CUPS and
Samba services.

** Changed in: cups (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: cups (Ubuntu)
Milestone: None = ubuntu-10.10

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-14 Thread Till Kamppeter
pitti has upstartified CUPS now for the Maverick package. CUPS by itself
works nicely with upstart, also on a system boot CUPS and Samba get
started in the correct order. There is still fine tuning needed so that
Samba does not hang when manually starting and stopping the CUPS and
Samba services.

** Changed in: cups (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: cups (Ubuntu)
Milestone: None = ubuntu-10.10

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-13 Thread Steve Langasek
Potential issues with the proposed patch:

  - this is a workaround in the smbd job, not a correct fix, which will need to 
be reverted later.
  - in the (rare) event that a user has stopped smbd manually and then changes 
runlevels, current upstart will give a weird hang waiting for a second 
local-filesystems event.
  - if someone has configured a loopback cifs share to be mounted at boot time, 
their system will hang at boot as a result of this change.

So there is regression potential here from the described change to the
smbd job, and I'm not really in favor of this approach.  Why has the
cups package now gone more than two cycles without being converted to an
upstart job, which would fix this properly?  Also, why does samba not
re-scan for a cups server?  That seems like unnecessarily unreliable
behavior on samba's part, and something that should be straightforward
to fix correctly (and suitable for an SRU).

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-13 Thread Steve Langasek
Potential issues with the proposed patch:

  - this is a workaround in the smbd job, not a correct fix, which will need to 
be reverted later.
  - in the (rare) event that a user has stopped smbd manually and then changes 
runlevels, current upstart will give a weird hang waiting for a second 
local-filesystems event.
  - if someone has configured a loopback cifs share to be mounted at boot time, 
their system will hang at boot as a result of this change.

So there is regression potential here from the described change to the
smbd job, and I'm not really in favor of this approach.  Why has the
cups package now gone more than two cycles without being converted to an
upstart job, which would fix this properly?  Also, why does samba not
re-scan for a cups server?  That seems like unnecessarily unreliable
behavior on samba's part, and something that should be straightforward
to fix correctly (and suitable for an SRU).

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-05 Thread Till Kamppeter
The problem can very easily be solved for Maverick and Lucid LTS (SRU)
by applying the solution presented in comment #18. This is especially
the best method now as we are past Feature Freeze and so a switchover of
CUPS to native Upstart is only possible for Natty. Especially important
is also the SRU for Lucid, as LTS versions are preferably used for
servers. So I am very grateful if the Samba maintainers could apply this
simple patch.

** Changed in: samba (Ubuntu)
   Status: Invalid = Triaged

** Changed in: samba (Ubuntu Lucid)
   Status: Invalid = Triaged

** Changed in: samba (Ubuntu Lucid)
   Importance: Undecided = High

** Changed in: samba (Ubuntu)
   Importance: Undecided = High

** Changed in: samba (Ubuntu)
Milestone: None = ubuntu-10.10

** Changed in: samba (Ubuntu Lucid)
Milestone: None = lucid-updates

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-09-05 Thread Till Kamppeter
The problem can very easily be solved for Maverick and Lucid LTS (SRU)
by applying the solution presented in comment #18. This is especially
the best method now as we are past Feature Freeze and so a switchover of
CUPS to native Upstart is only possible for Natty. Especially important
is also the SRU for Lucid, as LTS versions are preferably used for
servers. So I am very grateful if the Samba maintainers could apply this
simple patch.

** Changed in: samba (Ubuntu)
   Status: Invalid = Triaged

** Changed in: samba (Ubuntu Lucid)
   Status: Invalid = Triaged

** Changed in: samba (Ubuntu Lucid)
   Importance: Undecided = High

** Changed in: samba (Ubuntu)
   Importance: Undecided = High

** Changed in: samba (Ubuntu)
Milestone: None = ubuntu-10.10

** Changed in: samba (Ubuntu Lucid)
Milestone: None = lucid-updates

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-08-24 Thread peterthevicar
Mam(O)n's solution (#18) of modifying the 'start' line in
/etc/init/smbd.conf to say

start on (local-filesystems and stopped rc)

worked for me, no other changes necessary. Thank you!

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 494141] Re: CUPS starts after SAMBA; printers are not available (convert cups to upstart)

2010-08-24 Thread peterthevicar
Mam(O)n's solution (#18) of modifying the 'start' line in
/etc/init/smbd.conf to say

start on (local-filesystems and stopped rc)

worked for me, no other changes necessary. Thank you!

-- 
CUPS starts after SAMBA; printers are not available (convert cups to upstart)
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


  1   2   >