Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Pierre Frenkiel
On Fri, 17 Oct 2014, Pierre Frenkiel wrote: how come nmbd and smbd are launched, although the links in all /etc/rcxx to /etc/init.d/samba have been removed ? I found the answer: it was obvious but rather unexpected: the samba packages installs in /etc/init.d the samba AND nmbd and s

Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Andrei POPESCU
On Vi, 17 oct 14, 22:26:02, Pierre Frenkiel wrote: > On Fri, 17 Oct 2014, Andrei POPESCU wrote: > > >On Vi, 17 oct 14, 14:48:19, Pierre Frenkiel wrote: > >> > >> running: systemctl -a -t service | grep samba gives: > >> samba.serviceloadedinactive deadLSB: ensure Samba > >> da

Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Pierre Frenkiel
On Fri, 17 Oct 2014, Steve Litt wrote: are you all sure that the delay *does* happen during the shutdown of Samba? If it turns out not to be Samba, you've just needlessly chased your tail for hours or days. I'm quite sure, because: 1/ there are a lot of bug reports against s

Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Pierre Frenkiel
On Fri, 17 Oct 2014, Andrei POPESCU wrote: On Vi, 17 oct 14, 14:48:19, Pierre Frenkiel wrote: running: systemctl -a -t service | grep samba gives: samba.serviceloadedinactive deadLSB: ensure Samba daemons are started (nmbd and smbd) This still not answers to my questi

Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Steve Litt
t;update-rc.d samba >and >update-rc.d samba-ad-dc remove >Then, the shutdown lasts a few seconds > >Thanks a lot for this valuable information. > >Question: the daemons nmbd and smbd are still launched by systemd > at boot. although all the links in /et

Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Andrei POPESCU
On Vi, 17 oct 14, 14:48:19, Pierre Frenkiel wrote: > >running: systemctl -a -t service | grep samba gives: >samba.serviceloadedinactive deadLSB: ensure Samba daemons > are started (nmbd and smbd) >This still not answers to my question. Why are you grepping for 'samba'

Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Pierre Frenkiel
On Fri, 17 Oct 2014, Peter Viskup wrote: Hi Pierre, you can answer your question by yourself by having a look into directory /lib/systemd/system and read systemctl man page. Small hint could be to run 'systemctl -a -t service' command. Some more information about systemd in Debain can be read o

Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Peter Viskup
you need both: > update-rc.d samba > and > update-rc.d samba-ad-dc remove > Then, the shutdown lasts a few seconds > > Thanks a lot for this valuable information. > > Question: the daemons nmbd and smbd are still launched by systemd at > boot. > although all

Re: how to shutdown in less than 8 minutes

2014-10-17 Thread Pierre Frenkiel
amba, but only saw a proposed fix about the LSB headers(which didn't work), and not this one. Actually, you need both: update-rc.d samba and update-rc.d samba-ad-dc remove Then, the shutdown lasts a few seconds Thanks a lot for this valuable information. Question: the

Re: Can't reboot nor shutdown

2014-09-02 Thread Bzzzz
On Tue, 02 Sep 2014 23:26:32 -0400 Gary Dale wrote: > Can't help you with the error message but to shutdown, have you tried > the SysRq key? See http://en.wikipedia.org/wiki/Magic_SysRq_key for > details. > > This often gives you all kinds of ways of getting around an

Re: Can't reboot nor shutdown

2014-09-02 Thread Gary Dale
On 02/09/14 10:49 PM, B wrote: Hi list, on my latptop (lightdm + XFCE) I can't reboot nor shutdown properly; each command ends with a black screen with a blinking cursor at top left and that's all. I waited several times more than 5 minutes, hoping some timeout was there, but nope

Can't reboot nor shutdown

2014-09-02 Thread Bzzzz
Hi list, on my latptop (lightdm + XFCE) I can't reboot nor shutdown properly; each command ends with a black screen with a blinking cursor at top left and that's all. I waited several times more than 5 minutes, hoping some timeout was there, but nope; stopping with the power button

Re: shutdown hangs 4+ minutes at "Stopping enhanced syslogd: rsyslog."

2014-08-29 Thread Curt
On 2014-08-29, Michael Biebl wrote: > But yeah, isn't it great if you can everything on systemd. > Systemd is wonderful. I made a "little" mistake. I'll shoot myself at dawn. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact

Re: shutdown hangs 4+ minutes at "Stopping enhanced syslogd: rsyslog."

2014-08-29 Thread Michael Biebl
Am 29.08.2014 10:24, schrieb Curt: > On 2014-08-29, Devrin Talen wrote: > >> Since it's related to the /etc/rc0.d scripts, maybe start with a bug >> against the sysv-rc package? >> >> $ dpkg --search /etc/rc0.d/ >> sysv-rc: /etc/rc0.d >> >> You can check if your bug is already there (a qu

Re: shutdown hangs 4+ minutes at "Stopping enhanced syslogd: rsyslog."

2014-08-29 Thread Curt
On 2014-08-29, Curt wrote: > > Looks rather like this bug (maybe samba, maybe systemd in its troubled > relationship to samba or sumthin'). > Forgot the bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739887 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subje

Re: shutdown hangs 4+ minutes at "Stopping enhanced syslogd: rsyslog."

2014-08-29 Thread Curt
On 2014-08-29, Devrin Talen wrote: > Since it's related to the /etc/rc0.d scripts, maybe start with a bug > against the sysv-rc package? > > $ dpkg --search /etc/rc0.d/ > sysv-rc: /etc/rc0.d > > You can check if your bug is already there (a quick search didn't show > anything): > Looks r

Re: shutdown hangs 4+ minutes at "Stopping enhanced syslogd: rsyslog."

2014-08-28 Thread Devrin Talen
David Christensen writes: > If I manually unmount Samba shared folders imported by this machine > prior to shutdown, shutdown proceeds without delay. So, the problem > appears to be related to the order in which things happen at shutdown > (?). > > Any ideas on how to trouble

shutdown hangs 4+ minutes at "Stopping enhanced syslogd: rsyslog."

2014-08-27 Thread David Christensen
Bump again. Bump. debian-user: I have a Dell Inspiron E1505 laptop running Wheezy. I recently recompiled the kernel with the realtime patch and installed some music workstation packages (rosegarden, etc.). On shutdown, the machine hangs: INIT: Switching to runlevel: 6 INIT

shutdown hangs 4+ minutes at "Stopping enhanced syslogd: rsyslog."

2014-08-24 Thread David Christensen
Bump. debian-user: I have a Dell Inspiron E1505 laptop running Wheezy. I recently recompiled the kernel with the realtime patch and installed some music workstation packages (rosegarden, etc.). On shutdown, the machine hangs: INIT: Switching to runlevel: 6 INIT: Sending

shutdown hangs 4+ minutes at "Stopping enhanced syslogd: rsyslog."

2014-08-23 Thread David Christensen
debian-user: I have a Dell Inspiron E1505 laptop running Wheezy. I recently recompiled the kernel with the realtime patch and installed some music workstation packages (rosegarden, etc.). On shutdown, the machine hangs: INIT: Switching to runlevel: 6 INIT: Sending processes the

Re: Abnormal shutdown process

2014-07-29 Thread Andrei POPESCU
On Ma, 29 iul 14, 19:45:44, bruninksb...@posteo.de wrote: > Dear Andrei, > > Thank you very much for your response. > > # dpkg -l firestarter ... > rc firestarter 1.0.3-8 amd64 gtk > program > for managing and observing your firewall > > # dpkg -s firestarter

Abnormal shutdown process

2014-07-29 Thread Bruninksbeek
Dear Andrei, Thank you very much for your response. # dpkg -l firestarter Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Naam Versie

Re: Abnormal shutdown process

2014-07-27 Thread Andrei POPESCU
On Du, 27 iul 14, 11:00:16, bruninksb...@posteo.de wrote: > > I do not have and never had the firestarter package installed. Let's see what dpkg has to say about that, please post the output of dpkg -l firestarter Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic d

Abnormal shutdown process

2014-07-27 Thread Bruninksbeek
then starts the shutdown process and reports the shutdown process on my screen. Since 10 July 2014 it often reports that there is a problem in terminating some processes. My computer then eventually takes drastic measures to shut the system down. This succeeds and finally the system is powered off

Re: Where to put start-up and shutdown code from `man 4 random`?

2014-07-19 Thread Kynn Jones
y, "to an appropriate script which is run during the Linux > > start-up sequence" and "to an appropriate script which is run during the > > Linux system shutdown". (It is silent on what those "appropriate > scripts" > > should be.) > > Debi

Re: Where to put start-up and shutdown code from `man 4 random`?

2014-07-11 Thread Henrique de Moraes Holschuh
and "to an appropriate script which is run during the > Linux system shutdown". (It is silent on what those "appropriate scripts" > should be.) Debian already does this properly in sysvinit mode. So Debian wheezy is covered. Refer to /etc/init.d/urandom For Debian jes

Re: Where to put start-up and shutdown code from `man 4 random`?

2014-07-11 Thread Kynn Jones
ded, > respectively, "to > > an appropriate script which is run during the Linux start-up sequence" > and "to > > an appropriate script which is run during the Linux system shutdown". > (It is > > silent on what those "appropriate scripts" sh

Re: Where to put start-up and shutdown code from `man 4 random`?

2014-07-11 Thread Karl E. Jorgensen
rt-up sequence" and "to > an appropriate script which is run during the Linux system shutdown".  (It is > silent on what those "appropriate scripts" should be.) > > What should these scripts be for a Debian system? I believe that the "initscripts" p

Re: Where to put start-up and shutdown code from `man 4 random`?

2014-07-11 Thread Darac Marjal
>start-up sequence" and "to an appropriate script which is run during the >Linux system shutdown".  (It is silent on what those "appropriate scripts" >should be.) > >What should these scripts be for a Debian system? Accordi

Where to put start-up and shutdown code from `man 4 random`?

2014-07-11 Thread Kynn Jones
he Linux system shutdown". (It is silent on what those "appropriate scripts" should be.) What should these scripts be for a Debian system? Are there standard scripts in which to put such start-up and shutdown code? Or is one supposed to put those snippets in standalone scripts in

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-27 Thread Tom H
On Sun, Jun 22, 2014 at 1:38 PM, wrote: > On Sun, 22 Jun 2014, Tom H wrote: >> On Fri, Jun 20, 2014 at 11:31 AM, Bret Busby wrote: >>> On Fri, 20 Jun 2014, Bob Proulx wrote: This is one of those religious wars that has been fought and won and lost many times across the Internet. Pl

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-26 Thread davidson
On Thu, 26 Jun 2014, david...@ling.ohio-state.edu wrote: have you looked at alpine's roles? Main menu > Setup > Roles. Correction: Main menu > Setup > *Rules* > Roles -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-26 Thread davidson
Hi Bret. On Wed, 18 Jun 2014, Bret Busby wrote: On 18/06/2014, Steve Litt wrote: On Wed, 18 Jun 2014 00:28:45 +0800 Bret Busby wrote: Now, if only the list defaulted to "Reply To List", it would be good, and, make replying to the list, easier... As far as I know, it does. As far as I kno

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-24 Thread Bret Busby
On 23/06/2014, Bob Proulx wrote: > Bret Busby wrote: >> Tom H wrote: >> > Bret Busby wrote: >> >> Bob Proulx wrote: >> >>> This is one of those religious wars that has been fought and won and >> >>> lost many times across the Internet. Please don't start it up again >> >>> here. If you do really w

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread Bob Proulx
Bret Busby wrote: > Tom H wrote: > > Bret Busby wrote: > >> Bob Proulx wrote: > >>> This is one of those religious wars that has been fought and won and > >>> lost many times across the Internet. Please don't start it up again > >>> here. If you do really want to do so please use the off-topic mail

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread Bret Busby
On 23/06/2014, Tom H wrote: > On Fri, Jun 20, 2014 at 11:31 AM, Bret Busby wrote: >> On Fri, 20 Jun 2014, Bob Proulx wrote: >>> >>> This is one of those religious wars that has been fought and won and >>> lost many times across the Internet. Please don't start it up again >>> here. If you do real

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread davidson
On Sun, 22 Jun 2014, Tom H wrote: On Fri, Jun 20, 2014 at 11:31 AM, Bret Busby wrote: On Fri, 20 Jun 2014, Bob Proulx wrote: This is one of those religious wars that has been fought and won and lost many times across the Internet. Please don't start it up again here. If you do really want to

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread Bzzzz
On Sun, 22 Jun 2014 13:13:39 -0400 Tom H wrote: > Requesting that you take a religious-type discussion (like a list's > "Reply To" settings) to the OT list isn't trolling! Let's launch Troll-CD, a pure ubuntu distro on a USB key, multiple points of failure, etc. -- If we ping Santa, is there

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-22 Thread Tom H
On Fri, Jun 20, 2014 at 11:31 AM, Bret Busby wrote: > On Fri, 20 Jun 2014, Bob Proulx wrote: >> >> This is one of those religious wars that has been fought and won and >> lost many times across the Internet. Please don't start it up again >> here. If you do really want to do so please use the off-

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-20 Thread Bret Busby
On Fri, 20 Jun 2014, Bob Proulx wrote: Date: Fri, 20 Jun 2014 14:53:14 From: Bob Proulx To: debian-user@lists.debian.org Subject: Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work Bret Busby wrote: email, for the latter, due to the power of PINE

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-19 Thread Bob Proulx
Bret Busby wrote: > email, for the latter, due to the power of PINE), and both show no > presence of a Reply-To value having been set. This is one of those religious wars that has been fought and won and lost many times across the Internet. Please don't start it up again here. If you do really w

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-17 Thread Lisi Reisz
On Tuesday 17 June 2014 18:52:08 Bret Busby wrote: > On 18/06/2014, Steve Litt wrote: > > On Wed, 18 Jun 2014 00:28:45 +0800 > > > > Bret Busby wrote: > >> Now, if only the list defaulted to "Reply To List", it would be good, > >> and, make replying to the list, easier... > > > > As far as I know

Re: Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-17 Thread Don Armstrong
On Wed, 18 Jun 2014, Bret Busby wrote: > Where a list (and, I am assuming that the mailing list software for > this list allows it - from the full header, the mailing list software > used for this list, is Claws mail) is configured to by default, > Reply-To the mailing list, it generally is shown i

Reply To settings - was - Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-17 Thread Bret Busby
On 18/06/2014, Steve Litt wrote: > On Wed, 18 Jun 2014 00:28:45 +0800 > Bret Busby wrote: > >> Now, if only the list defaulted to "Reply To List", it would be good, >> and, make replying to the list, easier... > > As far as I know, it does. As far as I know, everyone who replies to my > stuff on

Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-17 Thread Chris Angelico
On Tue, Jun 17, 2014 at 10:34 PM, Ralph Katz wrote: > On 06/16/2014 06:21 PM, Chris Angelico wrote: >> Not sure what you mean here. I can still run something like >> gnome-system-monitor (although I'm on the lookout for a better program >> for graphing CPU, RAM, network over time - if all else fai

Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-17 Thread Steve Litt
On Wed, 18 Jun 2014 00:28:45 +0800 Bret Busby wrote: > Now, if only the list defaulted to "Reply To List", it would be good, > and, make replying to the list, easier... As far as I know, it does. As far as I know, everyone who replies to my stuff on this list goes to the list. As far as I know,

Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-17 Thread Bret Busby
p;sort=relevance&DEFAULTOP=and&query= Thank you for that. In replacing the search value, with "xfce" and "shutdown", I found that previous reference on this list, had referred to a problem with xfce4, which I believe is later than the version of xfce that is used in D

Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-17 Thread Ralph Katz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/16/2014 06:21 PM, Chris Angelico wrote: > Not sure what you mean here. I can still run something like > gnome-system-monitor (although I'm on the lookout for a better program > for graphing CPU, RAM, network over time - if all else fails I may >

Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-17 Thread Ralph Katz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/16/2014 01:52 AM, Bret Busby wrote: > I believe that someone else has previously raised this problem, on > this list, but I could not find the applicable message(s). > > I have tried to use the list archive Search facility linked from > https

Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-16 Thread Chris Angelico
uns those apps just fine. But more importantly: you haven't explained why any of this has, or might have, impact on a shutdown problem. ChrisA -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.

Re: Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-16 Thread Chris Angelico
On Mon, Jun 16, 2014 at 3:52 PM, Bret Busby wrote: > The screen ends up grey, with the system hanged, resulting in (when > that happens), an abortion shutdown - holding down the power switch > for the 12 seconds (or whatever), which results in (amongst other > things), on next bootup,

Debian 7.5 amd64 xfce GUI shutdown and restart do not work

2014-06-15 Thread Bret Busby
Hello. In using Debian 7.5 amd64 xfce, I have been unable to get the GUI shutdown and restart functionalities to work. The screen ends up grey, with the system hanged, resulting in (when that happens), an abortion shutdown - holding down the power switch for the 12 seconds (or whatever), which

Re: Xfce4, systemd - shutdown via builtin-dialog isn't working

2014-05-17 Thread Zenaan Harkness
On 5/18/14, Zenaan Harkness wrote: > On 5/17/14, Michael Biebl wrote: >> Am 17.05.2014 04:27, schrieb Zenaan Harkness: >>> I have no display manager. >> >> [..] >> >>> Also, I would like to see Shutdown and Suspend enabled, of course. >> &

Re: Xfce4, systemd - shutdown via builtin-dialog isn't working

2014-05-17 Thread Zenaan Harkness
On 5/17/14, Michael Biebl wrote: > Am 17.05.2014 04:27, schrieb Zenaan Harkness: >> I have no display manager. > > [..] > >> Also, I would like to see Shutdown and Suspend enabled, of course. > > Most likely related to [0]. > Make sure you have libpam-syste

Re: Xfce4, systemd - shutdown via builtin-dialog isn't working

2014-05-16 Thread Michael Biebl
Am 17.05.2014 04:27, schrieb Zenaan Harkness: > I have no display manager. [..] > Also, I would like to see Shutdown and Suspend enabled, of course. Most likely related to [0]. Make sure you have libpam-systemd installed and enabled and when starting the X session to use the same tty a

Re: Xfce4, systemd - shutdown via builtin-dialog isn't working

2014-05-16 Thread Zenaan Harkness
is >> just grey and unclickable and the shutdown-one, which is also grey and >> unclickable. I am back to this same problem, only "logout" appears, and even that does not switch back to console 1 (from where I started with startx). > There is a README in /usr/share/doc/xfce

Re: Re: After moving root partition to ssd, debian boots directly to runlevel 0 (shutdown)

2014-03-03 Thread Meier
t; partitions and everything. >> I guessed it could be some kind of timing issue, so I passed the >> delayroot parameter to the kernel, but that didn't change anything. Also >> telling the kernel explicitly it should boot to runlevel 2 doesn't >> change anything.

Re: After moving root partition to ssd, debian boots directly to runlevel 0 (shutdown)

2014-02-26 Thread Scott Ferguson
I passed the > delayroot parameter to the kernel, but that didn't change anything. Also > telling the kernel explicitly it should boot to runlevel 2 doesn't > change anything. I guess there must be some service or something which > forces the system (or kernel) to shutdown directly.

After moving root partition to ssd, debian boots directly to runlevel 0 (shutdown)

2014-02-26 Thread Meier
d boot to runlevel 2 doesn't change anything. I guess there must be some service or something which forces the system (or kernel) to shutdown directly. In syslog I couldn't find anything helpful since it seems like it doesn't manage to write anything there before shutting down the lap

Re: reboot/halt/shutdown does nothing

2014-02-19 Thread Erick Ocrospoma
Hope this helps! On 19 February 2014 11:32, Hugo Vanwoerkom wrote: > Zhang Weiwu wrote: >> >> Using Debian 6.0. reboot/halt/shutdown does nothing except announcing the >> shutdown and halt the ssh session that issued the command. >> > > I would install systemd and se

Re: reboot/halt/shutdown does nothing

2014-02-19 Thread Hugo Vanwoerkom
Zhang Weiwu wrote: Using Debian 6.0. reboot/halt/shutdown does nothing except announcing the shutdown and halt the ssh session that issued the command. I would install systemd and see what that would do. Hugo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject

Re: Run a small script at shutdown/reboot

2014-02-18 Thread Jon Danniken
On 02/18/2014 03:13 AM, Jaikumar Sharma wrote: > Hi Jon, > > On Tue, Feb 18, 2014 at 9:16 AM, Jon Danniken wrote: > >> Hello list, I have a small script (foobar.sh) which I would like to run >> at shutdown or reboot: >> >>> So what am I missing here?

Re: Run a small script at shutdown/reboot

2014-02-18 Thread Jon Danniken
On 02/18/2014 05:57 AM, Jonathan Dowland wrote: > If you have cron on your machine, I think the easiest thing to do is to > use the '@reboot' cron time specification, either in /etc/crontab, a > file in /etc/cron.d or root's personal crontab. e.g. > > @reboot /usr/local/bin/foobar.sh > > assu

Re: (toughed out) Re: reboot/halt/shutdown does nothing

2014-02-18 Thread Marc Auslander
At one point you reported that reboot did nothing. Was that reboot -f or just reboot - which calls shutdown if you're running at 0 or 6 according to the man page. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble?

Re: Run a small script at shutdown/reboot

2014-02-18 Thread Jonathan Dowland
If you have cron on your machine, I think the easiest thing to do is to use the '@reboot' cron time specification, either in /etc/crontab, a file in /etc/cron.d or root's personal crontab. e.g. @reboot /usr/local/bin/foobar.sh assuming that's where the script is and it's +x -- To UNSUBSCRI

Re: Run a small script at shutdown/reboot

2014-02-18 Thread Jaikumar Sharma
Hi Jon, On Tue, Feb 18, 2014 at 9:16 AM, Jon Danniken wrote: > Hello list, I have a small script (foobar.sh) which I would like to run > at shutdown or reboot: > > >So what am I missing here? I'm guessing that using update-rc.d is > >probably more heavy duty/inv

Re: reboot/halt/shutdown does nothing

2014-02-18 Thread Karl E. Jorgensen
daemon knows > how to kill without grace. Hm. Fair point. Unfortunately, in my experience, a hanging init script has halted shutdown many times for me - perhaps there's a setting somewhere I can tweak. -- Karl E. Jorgensen -- To UNSUBSCRIBE, email to debian-user-requ...@

(toughed out) Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Zhang Weiwu
On Tue, 18 Feb 2014, Zhang Weiwu wrote: I have exclude another possibility. I am thinking: 1) perhaps the message in /var/log/messages is not produced by init, but by reboot/halt/shutdown, and 2) perhaps init is not invoked at all. So I run 'init 6' as

Run a small script at shutdown/reboot

2014-02-17 Thread Jon Danniken
Hello list, I have a small script (foobar.sh) which I would like to run at shutdown or reboot: __ #!/bin/bash if [ -a /test/foo.bar ]; then mv /test/foo.bar /test/foo.foo fi _ I placed the script into /etc/init.d/, made it

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Zhang Weiwu
produced by init, but by reboot/halt/shutdown, and 2) perhaps init is not invoked at all. So I run 'init 6' as root. This time, there is no new message in /var/log/messages, prooving 1), and 'init 6' did absolutely nothing, disprooving 2). So, the problem is

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Zhang Weiwu
ng service. The first in asciibetic order is 'apache2'. If I stop it, it succumb easily without hanging. I described previously that after issuing reboot/halt/shutdown, the website being served by apache2 is still running, hence init daemon did not attempt to shutdown even the earlies

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Karl E. Jorgensen
Hi On Mon, Feb 17, 2014 at 04:29:17PM +0800, Zhang Weiwu wrote: > Using Debian 6.0. reboot/halt/shutdown does nothing except > announcing the shutdown and halt the ssh session that issued the > command. > > But beyond that it really did nothing. Among the things it did not do

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Zhang Weiwu
On Mon, 17 Feb 2014, Brian wrote: Possibly of help: http://askubuntu.com/questions/7114/why-cant-i-restart-shutdown Thanks for the link but I am pretty sure they are talking about a different problem. The link you provided is among the 100+ search result I found on google that does not

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Brian
On Mon 17 Feb 2014 at 16:29:17 +0800, Zhang Weiwu wrote: > Using Debian 6.0. reboot/halt/shutdown does nothing except > announcing the shutdown and halt the ssh session that issued the > command. Possibly of help: http://askubuntu.com/questions/7114/why-cant-i-restart-shutdown

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Joe
On Mon, 17 Feb 2014 22:08:34 +1300 Chris Bannister wrote: > On Mon, Feb 17, 2014 at 09:01:25AM +, Joe wrote: > > > > Eventually a few more clues confirmed that it was an audio problem, > > and suggested pulseaudio, which I had installed a couple of months > > earlier for a particular experim

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Chris Bannister
On Mon, Feb 17, 2014 at 09:01:25AM +, Joe wrote: > > Eventually a few more clues confirmed that it was an audio problem, and > suggested pulseaudio, which I had installed a couple of months earlier > for a particular experiment. I ripped it out, and sound no longer > worked of course, but my c

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Zhang Weiwu
On Mon, 17 Feb 2014, Joe wrote: Do you by any chance have pulseaudio installed? I ask because my sid workstation started doing almost exactly this a few days ago. No. It was a server box. What you said does hint me that if I can access the physical machine there may be some clue on the scre

Re: reboot/halt/shutdown does nothing

2014-02-17 Thread Joe
On Mon, 17 Feb 2014 16:29:17 +0800 (CST) Zhang Weiwu wrote: > Using Debian 6.0. reboot/halt/shutdown does nothing except announcing > the shutdown and halt the ssh session that issued the command. > > But beyond that it really did nothing. Among the things it did not do > are: &g

reboot/halt/shutdown does nothing

2014-02-17 Thread Zhang Weiwu
Using Debian 6.0. reboot/halt/shutdown does nothing except announcing the shutdown and halt the ssh session that issued the command. But beyond that it really did nothing. Among the things it did not do are: - no process are killed or terminated. None of mysql, apache, cron daemons are shut

Re: apt-get dist-upgrade on shutdown ?

2014-01-24 Thread Zenaan Harkness
On 1/24/14, Joel Rees wrote: > On Thu, Jan 23, 2014 at 10:40 PM, Zenaan Harkness wrote: >> apt-get upgrade seems to have less "reboot requiring" updates. >> >> There ought be a way to schedule a dist-upgrade, to occur the next >> time I shutdown my comput

Re: apt-get dist-upgrade on shutdown ?

2014-01-24 Thread Joel Rees
On Thu, Jan 23, 2014 at 10:40 PM, Zenaan Harkness wrote: > apt-get upgrade seems to have less "reboot requiring" updates. > > There ought be a way to schedule a dist-upgrade, to occur the next > time I shutdown my computer - not on hibernate/suspend or even logout > (I

Re: apt-get dist-upgrade on shutdown ?

2014-01-23 Thread Andrei POPESCU
On Jo, 23 ian 14, 13:52:39, Darac Marjal wrote: > > When you are happy with the script, create an initscript for it that > *starts* in runlevels 0 (halt) and 6 (shutdown). Pitch it to happen > sometime between X (and other user-facing services) stopping and the > network going dow

Re: apt-get dist-upgrade on shutdown ?

2014-01-23 Thread Lisi Reisz
On Thursday 23 January 2014 13:52:39 Darac Marjal wrote: > runlevels 0 (halt) and 6 (shutdown) runlevel 6 is surely reboot? Whereas shutdown needs further information: e.g. "shutdown -r" reboot, "shutdown -h" halt http://linux.101hacks.com/unix/shutdown/ Lisi -- T

Re: apt-get dist-upgrade on shutdown ?

2014-01-23 Thread Darac Marjal
On Thu, Jan 23, 2014 at 03:08:29PM +, Lisi Reisz wrote: > On Thursday 23 January 2014 13:52:39 Darac Marjal wrote: > > runlevels 0 (halt) and 6 (shutdown) > > runlevel 6 is surely reboot? Whereas shutdown needs further > information: e.g. "shutdown -r" reboo

Re: apt-get dist-upgrade on shutdown ?

2014-01-23 Thread Darac Marjal
On Fri, Jan 24, 2014 at 12:40:26AM +1100, Zenaan Harkness wrote: > apt-get upgrade seems to have less "reboot requiring" updates. > > There ought be a way to schedule a dist-upgrade, to occur the next > time I shutdown my computer - not on hibernate/suspend or even logout

apt-get dist-upgrade on shutdown ?

2014-01-23 Thread Zenaan Harkness
apt-get upgrade seems to have less "reboot requiring" updates. There ought be a way to schedule a dist-upgrade, to occur the next time I shutdown my computer - not on hibernate/suspend or even logout (I work on cmd line here and there). Doing a dist-upgrade right when I'm shutt

Re: Shutdown computer after a specific command has been executed

2013-12-13 Thread Ralf Mardorf
On Fri, 2013-12-13 at 14:28 +0100, Ralf Mardorf wrote: > On Fri, 2013-12-13 at 11:07 +0200, Andrei POPESCU wrote: > > Simple: > > > > sudo sh -c "apt-get update && apt-get --download-only -y dist-upgrade ; > > poweroff" > > > > and do the upgrade the next day, under human supervision. > > +1 >

Re: Shutdown computer after a specific command has been executed

2013-12-13 Thread Ralf Mardorf
On Fri, 2013-12-13 at 11:07 +0200, Andrei POPESCU wrote: > Simple: > > sudo sh -c "apt-get update && apt-get --download-only -y dist-upgrade ; > poweroff" > > and do the upgrade the next day, under human supervision. +1 Perhaps then directly sudo sh -c "apt-get update ; apt-get --download-onl

Re: Shutdown computer after a specific command has been executed

2013-12-13 Thread Andrei POPESCU
On Jo, 12 dec 13, 16:15:44, Ralf Mardorf wrote: > On Thu, 2013-12-12 at 16:10 +0100, Ralf Mardorf wrote: > > sudo sh -c "apt-get update && apt-get dist-upgrade -y ; poweroff" > > sudo sh -c "apt-get update && apt-get dist-upgrade --dry-run ; apt-get > dist-upgrade -y ; poweroff" > > -y without a

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Reco
On Thu, 12 Dec 2013 16:21:34 +0100 Ralf Mardorf wrote: > On Thu, 2013-12-12 at 19:17 +0400, Reco wrote: > > Still, if one has desire to blow legs off: > > :D > > > sudo sh -c "apt-get update && apt-get upgrade -y ; poweroff" > > but I would recommend > > sudo sh -c "apt-get update && apt-get

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Ralf Mardorf
On Thu, 2013-12-12 at 16:21 +0100, Ralf Mardorf wrote: > On Thu, 2013-12-12 at 19:17 +0400, Reco wrote: > > Still, if one has desire to blow legs off: > > :D > > > sudo sh -c "apt-get update && apt-get upgrade -y ; poweroff" > > but I would recommend > > sudo sh -c "apt-get update && apt-get di

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Ralf Mardorf
On Thu, 2013-12-12 at 19:17 +0400, Reco wrote: > Still, if one has desire to blow legs off: :D > sudo sh -c "apt-get update && apt-get upgrade -y ; poweroff" but I would recommend sudo sh -c "apt-get update && apt-get dist-upgrade -y ; poweroff" -- To UNSUBSCRIBE, email to debian-user-requ.

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Reco
On Thu, 12 Dec 2013 16:10:44 +0100 Ralf Mardorf wrote: > On Thu, 2013-12-12 at 18:57 +0400, Reco wrote: > > sudo sh -c "apt-get update && apt-get upgrade -y && poweroff" > > > > That's more like it. Depending on a hardware, 'shutdown -h

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Ralf Mardorf
On Thu, 2013-12-12 at 16:10 +0100, Ralf Mardorf wrote: > sudo sh -c "apt-get update && apt-get dist-upgrade -y ; poweroff" sudo sh -c "apt-get update && apt-get dist-upgrade --dry-run ; apt-get dist-upgrade -y ; poweroff" -y without a dry run :S, OTOH, the OP want's to go to sleep, so the dry-run

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Ralf Mardorf
On Thu, 2013-12-12 at 18:57 +0400, Reco wrote: > sudo sh -c "apt-get update && apt-get upgrade -y && poweroff" > > That's more like it. Depending on a hardware, 'shutdown -h now' can > leave the power on. :D We are clo

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Reco
Hi. On Thu, 12 Dec 2013 14:58:35 +0100 "Gian Uberto Lauri" wrote: > Osamu Aoki writes: > > But I want one line solution :-) > > > > sudo sh -c "apt-get update && apt-get upgrade; shutdown -h now" > > But there is the case w

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Gian Uberto Lauri
Ralf Mardorf writes: > On Thu, 2013-12-12 at 15:33 +0100, Gian Uberto Lauri wrote: > > Sorry, it may ask if it has to preserve or not a configuration file > > modified locally when a new version arrives with the package. > > Good point, I don't use apt that often, because my "main" distro isn

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Ralf Mardorf
On Thu, 2013-12-12 at 15:33 +0100, Gian Uberto Lauri wrote: > Sorry, it may ask if it has to preserve or not a configuration file > modified locally when a new version arrives with the package. Good point, I don't use apt that often, because my "main" distro isn't Debian. I guess there's an option

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Gian Uberto Lauri
Ralf Mardorf writes: > On Thu, 2013-12-12 at 14:58 +0100, Gian Uberto Lauri wrote: > > Osamu Aoki writes: > > > But I want one line solution :-) > > > > > > sudo sh -c "apt-get update && apt-get upgrade; shutdown -h now" > >

Re: Shutdown computer after a specific command has been executed

2013-12-12 Thread Ralf Mardorf
On Thu, 2013-12-12 at 14:58 +0100, Gian Uberto Lauri wrote: > Osamu Aoki writes: > > But I want one line solution :-) > > > > sudo sh -c "apt-get update && apt-get upgrade; shutdown -h now" > > But there is the case where apt-get want a re

<    1   2   3   4   5   6   7   8   9   10   >