Re: How to run a command / script on startup automatically in linux?

2023-05-17 Thread Susmita/Rajib
From: Vincent Lefevre Date: Tue, 16 May 2023 12:09:26 +0200 Message-id: <[🔎] 20230516100926.gs1694...@zira.vinc17.org> https://lists.debian.org/debian-user/2023/05/msg00715.html Follow-up of my post: Date: Tue, 16 May 2023 17:19:57 +0530 Message-id: <[🔎] caeg4czw1bbrwakr0wwz7enzgqdrc9g26y8tsk8+v9z

Re: How to run a command / script on startup automatically in linux?

2023-05-16 Thread Susmita/Rajib
From: Vincent Lefevre Date: Tue, 16 May 2023 12:09:26 +0200 Message-id: <[🔎] 20230516100926.gs1694...@zira.vinc17.org> Yes, in fact there is a GUI application called "Desktop Session Settings" invoked from the icon housed in Start Menu / Preferences, which runs the command lxsession-edit, from lx

Re: How to run a command / script on startup automatically in linux?

2023-05-16 Thread Greg Wooledge
On Tue, May 16, 2023 at 10:54:05AM +0530, Susmita/Rajib wrote: > Please once more check the two links that I had posted on the OP. If I > want to run a script named script.sh how should I set my system up, > like what should the supporting files look like, based on the OP? Without knowing what thi

Re: How to run a command / script on startup automatically in linux?

2023-05-16 Thread Vincent Lefevre
On 2023-05-16 10:54:05 +0530, Susmita/Rajib wrote: [...] > So to my tentative next step: > Following Mr. Wooledge's advice, I would "... Create a ~/.xsessionrc > file ... starting your X session. ..." A little more tutiion on this, > Mr. Wooledge please. In your case, you should not use the ~/.xs

Re: Editing /etc/rc.local [was: How to run a command / script on startup automatically in linux?]

2023-05-16 Thread Vincent Lefevre
On 2023-05-16 06:36:34 +0200, to...@tuxteam.de wrote: > On Mon, May 15, 2023 at 11:05:07PM +0200, Vincent Lefevre wrote: > > On 2023-05-15 15:56:17 -0400, Greg Wooledge wrote: > > [editing /etc/rc.local is a bad idea] No, entirely *replacing* /etc/rc.local is a bad idea. > > > That's incorrect.

Re: How to run a command / script on startup automatically in linux?

2023-05-16 Thread Max Nikulin
On 16/05/2023 09:32, Max Nikulin wrote: For mousepad, keywords are most likely "XDG autostart". E.g. Emacs provides emacs.service for *user* systemd sessions (~/.config/systemd/user, systemctl --user), not system ones. However I am still in doubts if such approach should be applied to mousepa

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Susmita/Rajib
s manager. DE is Desktop Environment. For those who will read this post later on, a compact explanation is at https://askubuntu.com/questions/18078/what-is-the-difference-between-a-desktop-environment-and-a-window-manager Thank you, Mr. Lefèvre, for your inputs. Your amended input for your lines,

Editing /etc/rc.local [was: How to run a command / script on startup automatically in linux?]

2023-05-15 Thread tomas
Changed $SUBJECT, because already way off track. On Mon, May 15, 2023 at 11:05:07PM +0200, Vincent Lefevre wrote: > On 2023-05-15 15:56:17 -0400, Greg Wooledge wrote: [editing /etc/rc.local is a bad idea] > > That's incorrect. > > It is correct, as shown by the following command: > > zira:~> d

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread tomas
On Mon, May 15, 2023 at 02:51:10PM -0400, Greg Wooledge wrote: [...] > I'm fairly certain the OP wants to run this "mousepad" program > automatically as part of their X or Wayland session. [...] This is my take, too. Cheers -- t signature.asc Description: PGP signature

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Max Nikulin
On 16/05/2023 00:54, Charles Curley wrote: On Mon, 15 May 2023 22:44:37 +0530 "Susmita/Rajib" wrote: ExecStart=/etc/rc.local start TimeoutSec=0 StandardOutput=tty RemainAfterExit=yes SysVStartPriority=99 ExecStart=mousepad The fact that you have two ExecStart lines in there might have somethi

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Vincent Lefevre
On 2023-05-15 15:56:17 -0400, Greg Wooledge wrote: > On Mon, May 15, 2023 at 09:37:29PM +0200, Vincent Lefevre wrote: > > On 2023-05-15 13:42:52 -0400, Greg Wooledge wrote: > > > On Mon, May 15, 2023 at 10:44:37PM +0530, Susmita/Rajib wrote: > > > > > > > > I saved a file at "/etc/systemd/system/"

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Greg Wooledge
On Mon, May 15, 2023 at 09:37:29PM +0200, Vincent Lefevre wrote: > On 2023-05-15 13:42:52 -0400, Greg Wooledge wrote: > > On Mon, May 15, 2023 at 10:44:37PM +0530, Susmita/Rajib wrote: > > > > > > I saved a file at "/etc/systemd/system/" named "rc-local.service" with > > > the following lines: > >

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Vincent Lefevre
g it to your .xsession file, > if you wrote your own .xsession file. But most Desktop Environment > users don't do that. They don't have a personal .xsession file at all. The .xsession file entirely replaces the desktop environment or window manager. See /etc/X11/Xsession.d/50

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Joe
t's the only one I ever heard of. I use it, mostly as a clipboard where the usual copy/paste is having trouble, or if I want to make alterations before pasting. > > > But the program doesn't launch at startup. Where I am going wrong? > > Does it fail to start because the c

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Greg Wooledge
n I cannot offer any help. If they're using X, then my previous message contains all that's needed, for someone who can follow the instructions. Conceptually, the main hurdle here is that the OP did not seem to understand that these are two entirely separate things: 1) System startup. 2) U

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Charles Curley
On Mon, 15 May 2023 20:26:09 +0200 wrote: > Is it this mousepad? > > mousepad/stable 0.5.2-1 amd64 > simple Xfce oriented text editor > > > But the program doesn't launch at startup. Where I am going wrong? > > Does it fail to start because the command is

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Charles Curley
On Mon, 15 May 2023 13:42:52 -0400 Greg Wooledge wrote: > There's no need to do that. Debian already ships an rc-local.service. True. In order to edit it, the user should copy it into /etc/systemd/… and edit it there. There are commands in systemd to make that fairly painless. See man systemctl

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread tomas
e line in the file /etc/rc.local: > mousepad Is it this mousepad? mousepad/stable 0.5.2-1 amd64 simple Xfce oriented text editor > But the program doesn't launch at startup. Where I am going wrong? > Does it fail to start because the command is run before the GUI starts

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Christoph Brinkhaus
Am Mon, May 15, 2023 at 10:44:37PM +0530 schrieb Susmita/Rajib: Hello Rajib, > My dear illustrious List members and leaders of the Debian-users group: > I used the contents in the following webpages: > https://www.tutorialspoint.com/run-a-script-on-startup-in-linux > https://www.

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Charles Curley
On Mon, 15 May 2023 22:44:37 +0530 "Susmita/Rajib" wrote: > ExecStart=/etc/rc.local start > TimeoutSec=0 > StandardOutput=tty > RemainAfterExit=yes > SysVStartPriority=99 > ExecStart=mousepad The fact that you have two ExecStart lines in there might have something to do with it. The exercise wa

Re: How to run a command / script on startup automatically in linux?

2023-05-15 Thread Greg Wooledge
/sh header line. Beyond that, I am not familiar with "mousepad". It doesn't sound like the kind of program that can be run as a background service daemon. What does it actually do? Does it interact with X11 in some way? If it does, then this is not the place to launch it. >

How to run a command / script on startup automatically in linux?

2023-05-15 Thread Susmita/Rajib
My dear illustrious List members and leaders of the Debian-users group: I used the contents in the following webpages: https://www.tutorialspoint.com/run-a-script-on-startup-in-linux https://www.baeldung.com/linux/run-command-start-up I saved a file at "/etc/systemd/system/"

Re: Startup Ethernet instability

2022-11-29 Thread Matthew McAllister
> First question: do you have the firmware-realtek package installed? That... is a great question. And the answer is no, I do not. And I have now installed firmware-realtek, and it has solved my problem. That's what I get for buying a mobo without researching the network chip. Thanks so much!

Re: Startup Ethernet instability

2022-11-28 Thread Charles Curley
On Mon, 28 Nov 2022 19:31:06 -0800 Matthew McAllister wrote: > 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 > 2.5GbE Controller (rev 05) First question: do you have the firmware-realtek package installed? -- Does anybody read signatures any more? https://charlescurley

Startup Ethernet instability

2022-11-28 Thread Matthew McAllister
Greetings, I'm running bookworm and I have an odd issue with a new desktop computer. Every time I boot, the Ethernet controller will repeatedly turn off and on again for several minutes. Here is a snippet of what this looks like in dmesg: [  273.008517] r8169 :05:00.0 eno1: Link is Down

[Sid] csync2 startup scripts

2021-10-19 Thread Grzesiek Sójka
I think there is something wrong with scync2 startup scripts: # systemctl status csync2.service ○ csync2.service - LSB: Cluster file synchronization daemon Loaded: loaded (/etc/init.d/csync2; generated) Active: inactive (dead) since Tue 2021-10-19 15:44:16 CEST; 7min ago Docs

Re: Network services fail on startup

2020-07-15 Thread Ross Boylan
, 2020 at 06:41:39PM -0700, Ross Boylan wrote: >> > I am having intermittent problems on startup in which network services >> do >> > not start properly, generally with messages suggesting the network >> > interface they need is not available. If I stop and start them

Re: Network services fail on startup

2020-07-14 Thread Ross Boylan
Boylan wrote: > > I am having intermittent problems on startup in which network services do > > not start properly, generally with messages suggesting the network > > interface they need is not available. If I stop and start them after, > they > > will run. > > The nu

Re: Network services fail on startup

2020-07-14 Thread Dan Ritter
Andrei POPESCU wrote: > On Ma, 14 iul 20, 07:11:39, Dan Ritter wrote: > > The way to handle a giant blocklist efficiently is ipset, which manipulates > > large groups of IPs that will be matched for a particular rule. > > Disclaimer: I'm not an expert on either iptables or nftables, this is > ju

Re: Network services fail on startup

2020-07-14 Thread Andrei POPESCU
On Ma, 14 iul 20, 07:11:39, Dan Ritter wrote: > Andrei POPESCU wrote: > > On Lu, 13 iul 20, 18:41:39, Ross Boylan wrote: > > > > > > The interface has a pre-up script that has over 1,000 iptables add lines > > > for blacklists, and I suspect this is slowing things down enough to cause > > > troub

Re: Network services fail on startup

2020-07-14 Thread Greg Wooledge
On Mon, Jul 13, 2020 at 06:41:39PM -0700, Ross Boylan wrote: > I am having intermittent problems on startup in which network services do > not start properly, generally with messages suggesting the network > interface they need is not available. If I stop and start them after, they &

Re: Network services fail on startup

2020-07-14 Thread Dan Ritter
Andrei POPESCU wrote: > On Lu, 13 iul 20, 18:41:39, Ross Boylan wrote: > > > > The interface has a pre-up script that has over 1,000 iptables add lines > > for blacklists, and I suspect this is slowing things down enough to cause > > trouble. I was not having problems when the script was shorter

Re: Network services fail on startup

2020-07-14 Thread deloptes
Ross Boylan wrote: > tftpd-hpa is the service that fails most consistently. Fail also on my system without systemd. Everytime I reboot the server, I have to restart manually. I found out for the server it is better for now to not use systemd. I have GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/lib/sy

Re: Network services fail on startup

2020-07-13 Thread Andrei POPESCU
On Lu, 13 iul 20, 18:41:39, Ross Boylan wrote: > > The interface has a pre-up script that has over 1,000 iptables add lines > for blacklists, and I suspect this is slowing things down enough to cause > trouble. I was not having problems when the script was shorter. P.S. as far as I understand nf

Re: Network services fail on startup

2020-07-13 Thread Andrei POPESCU
On Lu, 13 iul 20, 18:41:39, Ross Boylan wrote: > I am having intermittent problems on startup in which network services do > not start properly, generally with messages suggesting the network > interface they need is not available. If I stop and start them after, they > will run. I

Network services fail on startup

2020-07-13 Thread Ross Boylan
I am having intermittent problems on startup in which network services do not start properly, generally with messages suggesting the network interface they need is not available. If I stop and start them after, they will run. I suspect this is a result of the interaction of systemd, ifupdown, and

Re: /etc/default/keyboard not loaded at startup

2020-05-03 Thread Celejar
d if there are any other suggestions on how to apply the > configuration at startup without restarting the kernel input system each time. > Cheers, > Felix I haven't been following this entire thread, but I recently reported a similar-sounding bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956501 Celejar

Re: /etc/default/keyboard not loaded at startup

2020-05-03 Thread David Wright
ng the udev command. > I'd be very glad if there are any other suggestions on how to apply the > configuration at startup without restarting the kernel input system each time. Perhaps if you explain what you actually want, someone here may help you configure it. > On Tuesday, April 28, 2020 5:

Re: /etc/default/keyboard not loaded at startup

2020-05-02 Thread gwinship
Keymap: uk X11 Layout: gb,de X11 Model: pc105 X11 Options: grp:win_space_toggle before executing the udev command. I'd be very glad if there are any other suggestions on how to apply the configuration at startup without restarting the kernel input system each time. Cheers,

Re: /etc/default/keyboard not loaded at startup

2020-04-28 Thread David Wright
On Sun 26 Apr 2020 at 10:00:37 (+0300), Andrei POPESCU wrote: > On Sb, 25 apr 20, 16:39:24, gwinship wrote: > > I added following configuration to my /etc/default/keyboard > > Hint: you can use 'dpkg-reconfigure keyboard-configuration' to get a > text-mode wizard. I've found that odd things can

Re: /etc/default/keyboard not loaded at startup

2020-04-26 Thread Andrei POPESCU
On Sb, 25 apr 20, 16:39:24, gwinship wrote: > I added following configuration to my /etc/default/keyboard Hint: you can use 'dpkg-reconfigure keyboard-configuration' to get a text-mode wizard. > XKBMODEL="pc105" > XKBLAYOUT="gb,de" > XKBVARIANT="" > XKBOPTIONS="grp:win_space_toggle" > > BACKSPA

Re: /etc/default/keyboard not loaded at startup

2020-04-25 Thread David Wright
On Sat 25 Apr 2020 at 16:39:24 (+), gwinship wrote: > I added following configuration to my /etc/default/keyboard > > XKBMODEL="pc105" > XKBLAYOUT="gb,de" > XKBVARIANT="" > XKBOPTIONS="grp:win_space_toggle" > > BACKSPACE="guess" > > however. This does not load at boot. Have you tested that

Re: /etc/default/keyboard not loaded at startup

2020-04-25 Thread Darac Marjal
On 25/04/2020 17:39, gwinship wrote: > I added following configuration to my /etc/default/keyboard > |XKBMODEL="pc105" XKBLAYOUT="gb,de" XKBVARIANT="" > XKBOPTIONS="grp:win_space_toggle" BACKSPACE="guess" |however. This does not > load at boot. > My configuration > Debian 10.3 > i3, xdm > ThinkPa

/etc/default/keyboard not loaded at startup

2020-04-25 Thread gwinship
I added following configuration to my /etc/default/keyboard XKBMODEL="pc105" XKBLAYOUT="gb,de" XKBVARIANT="" XKBOPTIONS="grp:win_space_toggle" BACKSPACE="guess" however. This does not load at boot. My configuration Debian 10.3 i3, xdm ThinkPad E580 The /var/log/Xorg.log is [ 268.754] (**

Re: tpm error on startup

2020-04-07 Thread Anil F Duggirala
On Tue, 2020-04-07 at 08:31 -0500, Anil F Duggirala wrote: > hello, > I am getting this error on startup, albeit my system boots up > correctly: > [9.009859] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id > 4) > [9.017416] tpm tpm0: A TPM error (2314) occurred att

tpm error on startup

2020-04-07 Thread Anil F Duggirala
hello, I am getting this error on startup, albeit my system boots up correctly: [9.009859] tpm_tis MSFT0101:00: 2.0 TPM (device-id 0xFE, rev-id 4) [9.017416] tpm tpm0: A TPM error (2314) occurred attempting the self test Can someone give me some insight on why this happens? thank you,

[SOLVED] Re: Delay evolution-*-factory startup

2020-02-03 Thread Jim Popovitch
gt; > > It does, but I don't want it started until after it can reach the > > > calendar server (which is only available on the VPN). > > > > > > > > > Alternatively you can disable evolution from starting automatically > > > > > > a

Re: Delay evolution-*-factory startup

2020-02-03 Thread Jim Popovitch
u login. > > > > It does, but I don't want it started until after it can reach the > > calendar server (which is only available on the VPN). > > > > > > > Alternatively you can disable evolution from starting automatically > > > > > and >

Re: Delay evolution-*-factory startup

2020-02-03 Thread Nektarios Katakis
om starting automatically > > and > > do it once you have connected manually in your VPN. To disable it you can try: `systemctl --user disable evolution-calendar-factory.service` Alternatively you can remove the WantedBy block from the unit file. Thanks again, unfortunately that doesn't

Re: Delay evolution-*-factory startup

2020-02-03 Thread Jim Popovitch
nly available on the VPN). > > > Alternatively you can disable evolution from starting automatically > > > and > > > do it once you have connected manually in your VPN. > > To disable it you can try: `systemctl --user disable > evolution-calendar-factory.service` > Alternatively you can remove the WantedBy block from the unit file. Thanks again, unfortunately that doesn't seem to survive a reboot. :-( I tried disabling all evolution related services, but they still startup after a normal reboot -Jim P.

Re: Delay evolution-*-factory startup

2020-02-03 Thread Nektarios Katakis
Στις 2020-02-03 14:24, Jim Popovitch έγραψε: On Mon, 2020-02-03 at 14:07 +, Nektarios Katakis wrote: Στις 2020-02-03 12:59, Jim Popovitch έγραψε: > Hello! > > Is there a way in Buster+Cinnamon to disable evolution- > (calendar|addressbook)-factory until after a VPN has connected? > > Everyti

Re: Delay evolution-*-factory startup

2020-02-03 Thread Jim Popovitch
On Mon, 2020-02-03 at 14:07 +, Nektarios Katakis wrote: > Στις 2020-02-03 12:59, Jim Popovitch έγραψε: > > Hello! > > > > Is there a way in Buster+Cinnamon to disable evolution- > > (calendar|addressbook)-factory until after a VPN has connected? > > > > Everytime I login and start Evolution I

Re: Delay evolution-*-factory startup

2020-02-03 Thread Nektarios Katakis
Στις 2020-02-03 12:59, Jim Popovitch έγραψε: Hello! Is there a way in Buster+Cinnamon to disable evolution- (calendar|addressbook)-factory until after a VPN has connected? Everytime I login and start Evolution I have a handful of blue warnings, that I must clear, because Evolution was unable

Delay evolution-*-factory startup

2020-02-03 Thread Jim Popovitch
Hello! Is there a way in Buster+Cinnamon to disable evolution- (calendar|addressbook)-factory until after a VPN has connected? Everytime I login and start Evolution I have a handful of blue warnings, that I must clear, because Evolution was unable to connect to services only available over a VPN.

Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Gary Dale
On 2019-07-30 6:51 p.m., Cousin Stanley wrote: Gary Dale wrote: Unfortunately none of those options are 1080i. I've tried all of the 1920x1080 and they all end up being progressive scan. Running raspbian here on a rpi3b+ currently using a 22in LG hdmi monitor. screen resolution is

Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Cousin Stanley
Gary Dale wrote: > Unfortunately none of those options are 1080i. > > I've tried all of the 1920x1080 > and they all end up being progressive scan. > Running raspbian here on a rpi3b+ currently using a 22in LG hdmi monitor. screen resolution is 1920x1080 @ 96dpi The raspi-config re

Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Gary Dale
On 2019-07-30 4:44 p.m., Cousin Stanley wrote: Gary Dale wrote: Raspian uses a /boot/config.txt file to control video modes but this is failing in my case. It refuses to output 1080i unless I set that mode from the command line. However, when I do that, I lose the ability to adjust the o

Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Cousin Stanley
Gary Dale wrote: > > Raspian uses a /boot/config.txt file to control video modes > but this is failing in my case. > > It refuses to output 1080i unless I set that mode > from the command line. > > However, when I do that, I lose the ability to adjust the overscan > that the config.txt

Re: How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Judah Richardson
I've never gotten that to work reliably either. Good luck. On Tue, Jul 30, 2019, 11:43 Gary Dale wrote: > I'm posting a Pi question to this list because I believe I need a Debian > answer. The Raspian answers have been failing me - see > > https://raspberrypi.stackexchange.com/questions/101144/h

How can I force a particular startup hdmi mode on Raspian/Buster?

2019-07-30 Thread Gary Dale
I'm posting a Pi question to this list because I believe I need a Debian answer. The Raspian answers have been failing me - see https://raspberrypi.stackexchange.com/questions/101144/how-can-i-get-my-new-raspberry-pi-4b-to-output-1080i-video?noredirect=1#comment167120_101144 for the details. R

Re: [i3] [xrandr] xrandr cannot find output modes when execed on startup by i3

2019-07-08 Thread Felix Miata
Jakub Alba composed on 2019-07-09 00:45 (UTC+0200) ... Which DDX is your i3 using? Whichever, switch to the other. Does it still happen? Try adding one or two empty xrandr lines before your real one in default.sh. I had something similar happen 2-3 years ago, before I discovered the modesetting

[i3] [xrandr] xrandr cannot find output modes when execed on startup by i3

2019-07-08 Thread Jakub Alba
I've just upgraded from Stretch to Buster. I use a xrandr script invoked by i3 on startup to set screen layout. Here is the fragment of my config responsible for that: # set multimonitor screen layout & background exec --no-startup-id setscreenlayout && setbg

Re: bind9 startup problems: /var/cache /bind

2019-05-25 Thread Ross Boylan
I tested my suspicion that bind9-resolvconf was somehow implicated in the bind9 start problems by returning bind9-resolvconf to its original, disabled, state and restarting the system. Unfortunately, it didn't help: May 25 19:05:34 barley named[804]: /etc/bind/named.conf.options:2: change director

Re: bind9 startup problems: /var/cache /bind

2019-05-22 Thread Ross Boylan
On Wed, May 22, 2019 at 2:47 PM Richard Hector wrote: > > RequiresMountsFor=/absolute/path/of/mount > > .. to go in the unit file - or IIRC running: > > sudo systemctl edit bind9.service > > ... and putting in: > > ---8< > [Unit] > RequiresMountsFor=/var > ---8< > > ... fol

Re: bind9 startup problems: /var/cache /bind

2019-05-22 Thread Richard Hector
On 23/05/19 9:08 AM, Ross Boylan wrote: > /var is a separate file system, and like / it's encrypted, so it might > take a bit of time to activate it. Whether it's available when > needed, I don't know, though the error suggests it might not be. > Could systemd be launching services while some of t

Re: bind9 startup problems: /var/cache /bind

2019-05-22 Thread Ross Boylan
/var is a separate file system, and like / it's encrypted, so it might take a bit of time to activate it. Whether it's available when needed, I don't know, though the error suggests it might not be. Could systemd be launching services while some of the mounts (and the required decryption) are stil

Re: bind9 startup problems: /var/cache /bind

2019-05-22 Thread Richard Hector
On 23/05/19 8:00 AM, Ross Boylan wrote: > At system start, bind9 fails to start on a recently created buster > system. Some of the local bind is based on configuration from an > earlier bind. The logs show > /etc/bind/named.conf.options:2: change directory to '/var/cache/bind' > failed: file not

bind9 startup problems: /var/cache /bind

2019-05-22 Thread Ross Boylan
At system start, bind9 fails to start on a recently created buster system. Some of the local bind is based on configuration from an earlier bind. The logs show /etc/bind/named.conf.options:2: change directory to '/var/cache/bind' failed: file not found But if I then start it manually via systemc

Re: startup prob

2018-10-31 Thread Glenn English
On Wed, Oct 31, 2018 at 10:27 PM Cousin Stanley wrote: > $ sudo raspi-config > > select > > interface > > ssh Worked perfectly. Thank you. And from me: Duh... > I don't remember if a reboot is required I'm not sure because I didn't try both ways, but it asked if

Re: startup prob

2018-10-31 Thread Cousin Stanley
Glenn English wrote: > > Anyone know the incantation to make the s word start ssh > You might try $ sudo raspi-config select interface ssh I don't remember if a reboot is required -- Stanley C. Kitching Human Being Phoenix, Arizon

Re: startup prob

2018-10-31 Thread mick crane
On 2018-10-31 20:33, Brian wrote: On Wed 31 Oct 2018 at 18:21:54 +, Glenn English wrote: stretch, RPi Just installed stretch on an RPi. SSH doesn't start on boot. No problem with postfix, apache, proftp, bind, etc, as far as I know. I would probably install again and choose *only* the ss

Re: startup prob

2018-10-31 Thread Brian
On Wed 31 Oct 2018 at 18:21:54 +, Glenn English wrote: > stretch, RPi > > Just installed stretch on an RPi. SSH doesn't start on boot. No > problem with postfix, apache, proftp, bind, etc, as far as I know. I would probably install again and choose *only* the ssh task. It's 10 minutes of my

Re: startup prob

2018-10-31 Thread mick crane
On 2018-10-31 18:21, Glenn English wrote: find anything about where to put the data. Anyone know the incantation to make the s word start ssh? A link to clear dox on the innards of s.*d would probably be enough. So would a quick howto. "systemctl enable sshd" isn't it ? mick -- Key ID4B

Re: startup prob

2018-10-31 Thread john doe
On 10/31/2018 7:21 PM, Glenn English wrote: > stretch, RPi > > Just installed stretch on an RPi. SSH doesn't start on boot. No > problem with postfix, apache, proftp, bind, etc, as far as I know. > > I tried to have it start at boot via Webmin; systemd said it wouldn't > do that without a command

Re: startup prob

2018-10-31 Thread Reco
Hi. On Wed, Oct 31, 2018 at 06:21:54PM +, Glenn English wrote: > stretch, RPi Is it stretch or Raspbian stretch? > Just installed stretch on an RPi. SSH doesn't start on boot. No > problem with postfix, apache, proftp, bind, etc, as far as I know. So it's Raspbian stretch. https:/

startup prob

2018-10-31 Thread Glenn English
stretch, RPi Just installed stretch on an RPi. SSH doesn't start on boot. No problem with postfix, apache, proftp, bind, etc, as far as I know. I tried to have it start at boot via Webmin; systemd said it wouldn't do that without a command. It didn't say what kind of command it wanted or where to

Re: Interface does not setup on startup

2018-09-13 Thread Pablo Álvarez Córdoba
9. I configured my wlan interface to auto connect on startup. > > But, networking service does not startup: > > > > > > sep 12 08:05:55 localhost wpa_supplicant[560]: Could not read interface > > > wlp2s0 flags: No such device > > > sep 12 08:05:55 loc

Re: Interface does not setup on startup

2018-09-12 Thread Reco
Hi. On Wed, Sep 12, 2018 at 06:51:23AM +, Pablo Álvarez Córdoba wrote: > Hi folks. > > I have Debian 9. I configured my wlan interface to auto connect on startup. > But, networking service does not startup: > > sep 12 08:05:55 localhost wpa_supplicant[560]: Could

Interface does not setup on startup

2018-09-11 Thread Pablo Álvarez Córdoba
Hi folks. I have Debian 9. I configured my wlan interface to auto connect on startup. But, networking service does not startup: > ● networking.service - Raise network interfaces >    Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor > preset: enabled) >    Ac

Re: Changing systemd startup timeout

2018-05-16 Thread David Wright
On Wed 16 May 2018 at 14:09:43 (+0200), Sven Joachim wrote: > On 2018-05-16 06:04 -0500, Dave Sherohman wrote: > > > I'm running a galera cluster of three mariadb servers. It's been > > brought down twice because one node has detected an inconsistency, > > killed itself, and then systemd automati

Re: Changing systemd startup timeout

2018-05-16 Thread Dave Sherohman
On Wed, May 16, 2018 at 02:09:43PM +0200, Sven Joachim wrote: > Have you tried setting TimeoutStartSec rather than TimeoutStartUSec? > Though I have to admit that I did not perform a web search but cheated > by looking at the systemd.service(5) manpage, which mentions the former > but not the latte

Re: Changing systemd startup timeout

2018-05-16 Thread Curt
On 2018-05-16, Sven Joachim wrote: >> >> # systemctl edit mysql >> >> # systemctl show mysql -p TimeoutStartUSec >> TimeoutStartUSec=1min 30s >> # systemctl daemon-reload >> # systemctl show mysql -p TimeoutStartUSec >> TimeoutStartUSec=1min 30s >> # systemctl daemon-reexec >> # systemctl show my

Re: Changing systemd startup timeout

2018-05-16 Thread Sven Joachim
On 2018-05-16 06:04 -0500, Dave Sherohman wrote: > I'm running a galera cluster of three mariadb servers. It's been > brought down twice because one node has detected an inconsistency, > killed itself, and then systemd automatically restarted it. This is all > good so far. > > The problem comes

Changing systemd startup timeout

2018-05-16 Thread Dave Sherohman
Short version: How can I extend (or remove) the startup timeout for a single systemd service? Longer version: I'm running a galera cluster of three mariadb servers. It's been brought down twice because one node has detected an inconsistency, killed itself, and then systemd aut

Linux Startup Process

2017-12-24 Thread steve
Linux Startup Process You can use the following incantation to list enabled boot services: $ systemctl list-unit-files --type=service | grep enabled How do i know what i need, and what i can safely disable ? i know that accounts-daemon.service is a potential security risk. It is part

Re: Stretch/Xfce: five xclock's running on startup

2017-12-18 Thread Cindy-Sue Causey
On 12/18/17, Cindy-Sue Causey wrote: > On 12/18/17, Roger Price wrote: >> Hi, command "inxi -S" reports >> Host: maria Kernel: 4.9.0-4-amd64 x86_64 (64 bit) Desktop: Xfce 4.12.3 >> >> The user has defined $HOME/.config/autostart/xclock.desktop as >> >> [Desktop Entry] >> Name=Clock >> Comment=C

Re: Stretch/Xfce: five xclock's running on startup

2017-12-18 Thread Cindy-Sue Causey
On 12/18/17, Roger Price wrote: > Hi, command "inxi -S" reports > Host: maria Kernel: 4.9.0-4-amd64 x86_64 (64 bit) Desktop: Xfce 4.12.3 > > The user has defined $HOME/.config/autostart/xclock.desktop as > > [Desktop Entry] > Name=Clock > Comment=Clock with seconds hand > Icon=xclock > Exec=xclo

Stretch/Xfce: five xclock's running on startup

2017-12-18 Thread Roger Price
Hi, command "inxi -S" reports Host: maria Kernel: 4.9.0-4-amd64 x86_64 (64 bit) Desktop: Xfce 4.12.3 The user has defined $HOME/.config/autostart/xclock.desktop as [Desktop Entry] Name=Clock Comment=Clock with seconds hand Icon=xclock Exec=xclock -update 1 -geometry 200x200+150+400 Terminal=fal

Re: module not loading on startup

2017-08-11 Thread Gary Dale
On 11/08/17 03:39 PM, Pascal Hambourg wrote: Le 11/08/2017 à 08:32, Gary Dale a écrit : I eventually tracked the problem down to a UDEV persistent rule (now deleted) and also the need to modify /etc/network/interfaces to use the name the name of the new NIC (enp5s0 instead of eth0 - since it

Re: module not loading on startup

2017-08-11 Thread Pascal Hambourg
Le 11/08/2017 à 08:32, Gary Dale a écrit : I eventually tracked the problem down to a UDEV persistent rule (now deleted) and also the need to modify /etc/network/interfaces to use the name the name of the new NIC (enp5s0 instead of eth0 - since it wasn't carried over in the upgrade from Jessi

module not loading on startup

2017-08-10 Thread Gary Dale
I'm running Stretch. I had to replace/upgrade the motherboard on one of my computers. While that went fairly smoothly, I lost the network. Since the new motherboard had an RTL8168 NIC, I stupidly tried Realtek's module. Not my best plan. :( I eventually tracked the problem down to a UDEV per

Re: Debian startup/booting help

2017-06-13 Thread kc atgb
Le lun. 12 juin 2017 21:01:51 CEST "to...@tuxteam.de" a écrit: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Mon, Jun 12, 2017 at 04:29:27PM -0400, DJ VIN Lom wrote: > > Is there a way to edit a script so when my raspberry pi2 running raspian > > jessie can automaticly go into a set

Re: Debian startup/booting help

2017-06-13 Thread kc atgb
I suppose he wants his user to be in a certain directory after login. This can be done by adding a line with a cd command in user's .profile. Or maybe by changing user's home directory, that should work too. K. Le lun. 12 juin 2017 21:01:51 CEST "to...@tuxteam.de" a écrit: > -BEGIN PGP

Re: Debian startup/booting help

2017-06-13 Thread Ankit R Gadiya
On 06/13/2017 02:31 AM, to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jun 12, 2017 at 04:29:27PM -0400, DJ VIN Lom wrote: Is there a way to edit a script so when my raspberry pi2 running raspian jessie can automaticly go into a set directory so when it auto logs

Re: Debian startup/booting help

2017-06-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Jun 12, 2017 at 04:29:27PM -0400, DJ VIN Lom wrote: > Is there a way to edit a script so when my raspberry pi2 running raspian > jessie can automaticly go into a set directory so when it auto logs in its > in a certain directory Hm. I'm not su

Debian startup/booting help

2017-06-12 Thread DJ VIN Lom
Is there a way to edit a script so when my raspberry pi2 running raspian jessie can automaticly go into a set directory so when it auto logs in its in a certain directory

Re: Does hdparm not run at startup anymore?

2016-11-16 Thread Alex Mestiashvili
On 11/12/2016 09:14 PM, Rainer Dorsch wrote: > Hi Alex, > > thank you for your reply and your testing. > > On Saturday 12 November 2016 16:40:40 Alex Mestiashvili wrote: >> On 11/12/2016 08:37 AM, Rainer Dorsch wrote: >>> + Alexandre, hdparm maintainer >>> >>> On Friday 11 November 2016 23:11:24

Re: Does hdparm not run at startup anymore?

2016-11-14 Thread Cindy-Sue Causey
On 11/12/16, Rainer Dorsch wrote: > > On Saturday 12 November 2016 16:40:40 Alex Mestiashvili wrote: >> On 11/12/2016 08:37 AM, Rainer Dorsch wrote: >> > + Alexandre, hdparm maintainer >> > >> > On Friday 11 November 2016 23:11:24 Rainer Dorsch wrote: >> >> Hi, >> >> >> >> I configure sdb in /etc/

Re: Does hdparm not run at startup anymore?

2016-11-13 Thread Mirko Parthey
On Fri, Nov 11, 2016 at 11:11:24PM +0100, Rainer Dorsch wrote: > I configure sdb in /etc/hdparm.conf to apm=64, but when I start the system, > apm > does not change. Interesting enough a /etc/init.d/hdparm restart fixes the > problem: There are two config options available: "apm" and "apm_battery

Re: Does hdparm not run at startup anymore?

2016-11-12 Thread Rainer Dorsch
Hi Alex, thank you for your reply and your testing. On Saturday 12 November 2016 16:40:40 Alex Mestiashvili wrote: > On 11/12/2016 08:37 AM, Rainer Dorsch wrote: > > + Alexandre, hdparm maintainer > > > > On Friday 11 November 2016 23:11:24 Rainer Dorsch wrote: > >> Hi, > >> > >> I configure sdb

  1   2   3   4   5   6   7   8   9   10   >