[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

[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.

[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.

[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

[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

[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'

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

[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

[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;

[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

[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

[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 --

[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

[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

[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

[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

[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

[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

[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,

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

[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

[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

[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

[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

[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)

[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

[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:

[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

[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.

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

[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.

[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*

[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.

[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

[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

[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.

[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) --

[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

[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

[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

[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

[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

[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

[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)

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

[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.

[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

[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

[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)

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

2010-08-06 Thread antonioni
Does this problem still open? -- 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

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

2010-08-05 Thread Dave Germiquet
We have the same problem in our business environment at the place I work at. I think this is an upstart problem as how can samba connect to an existing cups server when it hasn't started yet. Samba needs to depend on cups. -- CUPS starts after SAMBA; printers are not available (convert cups to

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

2010-07-19 Thread cob
This bug affects a server I maintain as well. No one can print to a shared printer following a reboot. I have added the workaround to reload samba in rc.local, but would like to see someone assigned to this bug. Can we please have the importance upgraded? -- CUPS starts after SAMBA; printers

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

2010-07-12 Thread Krzysztof Matusik
** Summary changed: - CUPS starts after SAMBA; printers are not available + CUPS starts after SAMBA; printers are not available (convert cups to upstart) -- CUPS starts after SAMBA; printers are not available (convert cups to upstart) https://bugs.launchpad.net/bugs/494141 You received this bug