Re: Security question about daemon-init

2023-08-29 Thread Darac Marjal
:11): avc:  denied  { getattr } for  pid=3104 comm="daemon-init" path="/home/bcv/.thunderbird" dev="dm-5" ino=257 scontext=system_u:system_r:virtd_t:s0 tcontext=system_u:object_r:thunderbird_home_t:s0 tclass=lnk_file permissive=0 I am not sure why on earth

Security question about daemon-init

2023-08-29 Thread Bhasker C V
comm="daemon-init" path="/home/bcv/.thunderbird" dev="dm-5" ino=257 scontext=system_u:system_r:virtd_t:s0 tcontext=system_u:object_r:thunderbird_home_t:s0 tclass=lnk_file permissive=0 I am not sure why on earth would daemon-init try to read .thunderbird directory

Re: Cloud-init in Debian

2020-12-19 Thread Ryan Nowakowski
You might have better luck asking on debian-cloud: https://lists.debian.org/debian-cloud/ On December 19, 2020 4:31:22 PM CST, James Allsopp wrote: >Hi, >Does anyone have an example or tutorial for using cloud-init with >debian >images. I'm currently trying to do terraf

Cloud-init in Debian

2020-12-19 Thread James Allsopp
Hi, Does anyone have an example or tutorial for using cloud-init with debian images. I'm currently trying to do terraform with kvm, but struggling as although terraform picks up the cloud-init, the fqdn and the ssh key isn't working. I'm trying to use this image https://cdimage.deb

Re: Installing chromium uninstalls runit-init

2020-02-22 Thread Jonas Smedegaard
Quoting Mark Raynsford (2020-02-22 17:38:20) > 'Ello. > > On 2020-02-22T17:32:59 +0100 > Jonas Smedegaard wrote: > > > > Maybe you have... held broken packages? > > > > If you use aptitude instead of apt, then you can step through more > > options, including options involving downgrading (which

Re: Installing chromium uninstalls runit-init

2020-02-22 Thread tomas
On Sat, Feb 22, 2020 at 04:51:01PM +, Mark Raynsford wrote: > On 2020-02-22T17:39:15 +0100 > to...@tuxteam.de wrote: > > > > Not all is lost [...] > Thanks! I was about to try that, but it seems that aptitude found an > alternative solution. Firstly, "# aptitude install chromium" said: Great

Re: Installing chromium uninstalls runit-init

2020-02-22 Thread Mark Raynsford
thing else, > that might work. > > Cheers > -- t Thanks! I was about to try that, but it seems that aptitude found an alternative solution. Firstly, "# aptitude install chromium" said: The following packages have unmet dependencies: runit-init : Conflicts: systemd-sysv

Re: Installing chromium uninstalls runit-init

2020-02-22 Thread tomas
On Sat, Feb 22, 2020 at 04:24:01PM +, Mark Raynsford wrote: > On 2020-02-22T17:08:48 +0100 > wrote: > > I had a similar situation with firefox wanting to install systemd. > > > > Just for kicks, try > > > > apt install chromium sysvinit-core > > > > If that works, you'd perhaps want to ad

Re: Installing chromium uninstalls runit-init

2020-02-22 Thread Mark Raynsford
'Ello. On 2020-02-22T17:32:59 +0100 Jonas Smedegaard wrote: > > Maybe you have... held broken packages? > > If you use aptitude instead of apt, then you can step through more > options, including options involving downgrading (which is unsupported > by Debian, but since your system is already

Re: Installing chromium uninstalls runit-init

2020-02-22 Thread Jonas Smedegaard
Hi Mark, Quoting Mark Raynsford (2020-02-22 17:24:01) > On 2020-02-22T17:08:48 +0100 > wrote: > > I had a similar situation with firefox wanting to install systemd. > > > > Just for kicks, try > > > > apt install chromium sysvinit-core > > > > If that works, you'd perhaps want to adapt your

Re: Installing chromium uninstalls runit-init

2020-02-22 Thread Mark Raynsford
On 2020-02-22T17:08:48 +0100 wrote: > I had a similar situation with firefox wanting to install systemd. > > Just for kicks, try > > apt install chromium sysvinit-core > > If that works, you'd perhaps want to adapt your apt-preferences > (either pushing sysvinit-core or lowering systemd). >

Re: Installing chromium uninstalls runit-init

2020-02-22 Thread tomas
On Sat, Feb 22, 2020 at 04:02:16PM +, Mark Raynsford wrote: > Hello! > > Attempting to install chromium results in the following: > > # apt install chromium I had a similar situation with firefox wanting to install systemd. Just for kicks, try apt install chromium sysvinit-core If that

Installing chromium uninstalls runit-init

2020-02-22 Thread Mark Raynsford
libunicode-string-perl xml-twig-tools nvidia-vdpau-driver nvidia-legacy-340xx-vdpau-driver nvidia-legacy-304xx-vdpau-driver The following packages will be REMOVED: runit-init The following NEW packages will be installed: adwaita-icon-theme at-spi2-core chromium chromium-common chromium-sandbox

Re: [Better Solution] how to switch a Debian buster system from systemd to sys-v init

2019-06-27 Thread Rick Thomas
> On Jun 27, 2019, at 12:42 AM, Rick Thomas wrote: > > > >> On Jun 25, 2019, at 11:20 PM, Jonas Smedegaard wrote: >> >> Seems this would work as well, with less collateral damage: >> >> apt install -y sysvinit-core elogind >> apt --purge autoremove >> > > This works great and, as noted,

Re: [Better Solution] how to switch a Debian buster system from systemd to sys-v init

2019-06-27 Thread Rick Thomas
> On Jun 25, 2019, at 11:20 PM, Jonas Smedegaard wrote: > > Seems this would work as well, with less collateral damage: > > apt install -y sysvinit-core elogind > apt --purge autoremove > This works great and, as noted, is far more elegant. Thanks, Jonas! Rick

Re: [Solved - sorta - part 2] Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-26 Thread Jonas Smedegaard
Quoting Rick Thomas (2019-06-26 09:13:37) > Hi Jonas, > > > On Jun 25, 2019, at 11:20 PM, Jonas Smedegaard wrote: > > > > Would be helpful to know if those experiencing long pause in > > dbus-depending environments had _no_ dbus installed (and actively > > running) or had it running with elogi

Re: [Solved - sorta - part 2] Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-26 Thread Rick Thomas
Hi Jonas, > On Jun 25, 2019, at 11:20 PM, Jonas Smedegaard wrote: > > Would be helpful to know if those experiencing long pause in > dbus-depending environments had _no_ dbus installed (and actively > running) or had it running with elogind. How can I tell which situation I have? Thanks! Ric

Re: [Solved - sorta - part 2] Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-25 Thread Jonas Smedegaard
; switching a Debian buster system from systemd to sysv init. > > > > The short version [1]: > > > > apt-get install -y sysvinit-core > > So our goal is to start with a working Debian buster system with the > Mate desktop using the systemd init, and convert

Re: [Solved - sorta - part 2] Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-25 Thread Dan Ritter
Rick Thomas wrote: > > In any case, the solution I came up with is > > apt-get --purge install -y sysvinit-core dbus- glib-networking- > libgtk-3-0- > apt-get --purge autoremove > > Note the trailing minus-signs on dbus- glib-networking- libgtk-3-0- These > packages need to be delete

[Solved - sorta - part 2] Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-24 Thread Rick Thomas
> On Jun 23, 2019, at 2:24 AM, to...@tuxteam.de wrote: > > On Sat, Jun 22, 2019 at 05:45:39PM -0700, Rick Thomas wrote: >> >> Purely out of curiosity, I'd like to see what's involved in >> switching a Debian buster system from systemd to sysv init. >

[Solved - sorta - part 1] Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-24 Thread Rick Thomas
> On Jun 23, 2019, at 2:24 AM, to...@tuxteam.de wrote: > > On Sat, Jun 22, 2019 at 05:45:39PM -0700, Rick Thomas wrote: >> >> Purely out of curiosity, I'd like to see what's involved in >> switching a Debian buster system from systemd to sysv init. >

Re: How to change init from sysv to systemd

2019-06-23 Thread Bob Bernstein
On Sun, 23 Jun 2019, Bob Bernstein wrote: How should I approach this change with an eye to maximum safety? Again, the wiki proved spot on: https://wiki.debian.org/systemd#Installing_and_Testing Sorry about the false alarm. Thank you -- These are not the droids you are looking for.

Re: How to change init from sysv to systemd

2019-06-23 Thread Patrick Bartek
On Sun, 23 Jun 2019 14:55:58 -0400 Bob Bernstein wrote: > I encountered an error during the install of a deb which > led me to the discovery that my current init system is > still sysvinit. > > The error was: > > /sbin/init: invalid option -- '-' > Usage

How to change init from sysv to systemd

2019-06-23 Thread Bob Bernstein
I encountered an error during the install of a deb which led me to the discovery that my current init system is still sysvinit. The error was: /sbin/init: invalid option -- '-' Usage: init {-e VAR[=VAL] | [-t SECONDS] {0|1|2|3|4|5|6|S|s|Q|q|A|a|B|b|C|c|U|u}} Thanks to the wi

Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-23 Thread tomas
On Sun, Jun 23, 2019 at 01:27:08PM +0200, arne wrote: > > > That's right. "Modern" desktop environments (Gnome and derivatives, > > most probably also KDE) depend these days on systemd. I don't know > > how hard those dependencies are -- you'd want to look at Devuan [2] > > [3] to see how far they

Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-23 Thread arne
> That's right. "Modern" desktop environments (Gnome and derivatives, > most probably also KDE) depend these days on systemd. I don't know > how hard those dependencies are -- you'd want to look at Devuan [2] > [3] to see how far they went, if at all, into fixing this. The Devuan default desktop

Re: how to switch a Debian buster system from systemd to sys-v init

2019-06-23 Thread tomas
On Sat, Jun 22, 2019 at 05:45:39PM -0700, Rick Thomas wrote: > > Purely out of curiosity, I'd like to see what's involved in > switching a Debian buster system from systemd to sysv init. The short version [1]: apt-get install -y sysvinit-core > Please, I don't want

how to switch a Debian buster system from systemd to sys-v init

2019-06-22 Thread Rick Thomas
Purely out of curiosity, I'd like to see what's involved in switching a Debian buster system from systemd to sysv init. Please, I don't want to restart or get involved in any of the existing systemd/sysv flame wars. I'm *just curious* to see if it would work? First

Re: Broken Debian's testing migration (grave bug in module-init-tools)

2019-02-14 Thread Sven Joachim
#x27;s migration to testing. > > A grave bug in the testing version of module-init-tools (3.12~pre2-1) > was fixed several weeks ago, and the package was uploaded with > urgency=high: > > module-init-tools (3.12~pre2-2) unstable; urgency=high > >* Fixed an init scripts d

Re: /lib/lsb/init-functions on LXC servers

2018-02-14 Thread Harald Dunkel
Hi Reco, On 02/14/18 14:55, Reco wrote: True. There's one tiny bit though - try pidof -o %PPID -x /usr/sbin/sshd and watch it output several pids as well. Yes, indeed. If pidofproc would rely upon the pidfile only, then there is no reason to call pidof. And you don't have to spawn yet ano

Re: /lib/lsb/init-functions on LXC servers

2018-02-14 Thread Reco
Hi. On Wed, Feb 14, 2018 at 02:33:16PM +0100, Harald Dunkel wrote: > Hi Reco, > > wrt "pgrep --ns 1 -f /usr/sbin/sshd": > > The executable path simply doesn't tell if this is the right service > to stop. If I run 2 services in parallel (e.g. for different network > interfaces), then this

Re: /lib/lsb/init-functions on LXC servers

2018-02-14 Thread Harald Dunkel
Hi Reco, wrt "pgrep --ns 1 -f /usr/sbin/sshd": The executable path simply doesn't tell if this is the right service to stop. If I run 2 services in parallel (e.g. for different network interfaces), then this approach is already broken. Sample: # pgrep --ns 1 -f /usr/sbin/sshd 12602 # ps -ef | g

Re: /lib/lsb/init-functions on LXC servers

2018-02-05 Thread Reco
Hi. On Mon, Feb 05, 2018 at 04:04:37PM +0100, Harald Dunkel wrote: > Hi Reco, > > you mean this is a known issue??? Well, it's known to me (since then) at least as I merely read the contents of /lib/lsb/init-functions in my Debian system. Pinpointing the problem is easy,

Re: /lib/lsb/init-functions on LXC servers

2018-02-05 Thread Harald Dunkel
Hi Reco, you mean this is a known issue??? Harri

Re: /lib/lsb/init-functions on LXC servers

2018-02-02 Thread Reco
Hi. On Fri, Feb 02, 2018 at 11:35:04AM +0100, Harald Dunkel wrote: > Hi folks, > > I see a weird effect of pidofproc (defined in /lib/lsb/init-functions): > If there is no local daemon with a given search path running, then it > returns the PIDs the daemons running in the

/lib/lsb/init-functions on LXC servers

2018-02-02 Thread Harald Dunkel
Hi folks, I see a weird effect of pidofproc (defined in /lib/lsb/init-functions): If there is no local daemon with a given search path running, then it returns the PIDs the daemons running in the LXC containers. AFAICT this affects the startup scripts of apache2 opensmtpd

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-25 Thread Sven Hartge
Jonathan de Boyne Pollard wrote: > Sven Hartge: >> systemd happily runs "legacy" LSB init scripts >> > ... except when its one-size-fits-all approach does not work, of > course. Example: > * https://unix.stackexchange.com/questions/386846/ > This is the

Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-24 Thread Jonathan de Boyne Pollard
Sven Hartge: systemd happily runs "legacy" LSB init scripts ... except when its one-size-fits-all approach does not work, of course. Example: * https://unix.stackexchange.com/questions/386846/ This is the problem with even Mewburn rc scripts (as I can attest from personal exp

Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-24 Thread Jonathan de Boyne Pollard
Tom Browder: # systemctl enable postfix # systemctl daemon-reload Minor note: enable incorporates a daemon-reload.

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-21 Thread Sven Hartge
Christian Seiler wrote: > Now, that doesn't mean that you should still write _new_ init scripts > for custom services if you're going to use systemd anyway. There it > will be a good idea to learn how to do that with native systemd > service units. Exactly. I was able

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-21 Thread Christian Seiler
Am 2017-08-21 11:52, schrieb Tom Browder: On Mon, Aug 21, 2017 at 02:36 Sven Hartge wrote: Question: Why do you want to manually replace the init-script from postfix in Jessie with a systemd.unit? What do you want to accomplish by doing so (other than creating a possible broken system)? I

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-21 Thread Sven Hartge
e convoluted handling that I haven't >>> figured out yet. Surely some expert can write a postfix.service >>> file that drives postfix commands. >> Question: Why do you want to manually replace the init-script from >> postfix in Jessie with a systemd.unit? What do you w

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-21 Thread Tom Browder
figured > > out yet. Surely some expert can write a postfix.service file that > > drives postfix commands. ... > Question: Why do you want to manually replace the init-script from > postfix in Jessie with a systemd.unit? What do you want to accomplish by > doing so (other than

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-21 Thread Sven Hartge
fix-instance-generator" which creates new instances on the fly, based on the output of "postmulti -l -a". I don't know if you could transplant this mechanism from postfix3 (version in Stretch) to postfix2 (version in Jessie). Question: Why do you want to manually replace the in

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Tom Browder
On Sun, Aug 20, 2017 at 12:30 Sven Hartge wrote: > Tom Browder wrote: > > > The contents of the postfix.service file are; > ... > That unit file does effectivly nothing. It just starts "/bin/true" and > exits. > > What it *not* does is starting postfix in any way. > > This looks like there shou

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Tom Browder
On Sun, Aug 20, 2017 at 12:30 Sven Hartge wrote: > Tom Browder wrote: > > > The contents of the postfix.service file are; > ... > > That unit file does effectivly nothing. It just starts "/bin/true" and > exits. > > What it *not* does is starting postfix in any way. ... > . > Are you sure you

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Sven Hartge
Tom Browder wrote: > The contents of the postfix.service file are; > [Unit] > Description=Postfix Mail Transport Agent > Conflicts=sendmail.service exim4.service > ConditionPathExists=/etc/postfix/main.cf > [Service] > Type=oneshot > RemainAfterExit=yes > ExecStart=/bin/true > ExecReload=/bin/t

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Tom Browder
On Sun, Aug 20, 2017 at 11:41 AM, Nicolas George wrote: > Le tridi 3 fructidor, an CCXXV, Tom Browder a écrit : >> So "disabled" is normal? > > Indeed. See: > > https://docs.fedoraproject.org/en-US/Fedora/15/html/Deployment_Guide/ch-Services_and_Daemons.html#s3-services-configuration-enabling I d

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Nicolas George
Le tridi 3 fructidor, an CCXXV, Tom Browder a écrit : > So "disabled" is normal? Indeed. See: https://docs.fedoraproject.org/en-US/Fedora/15/html/Deployment_Guide/ch-Services_and_Daemons.html#s3-services-configuration-enabling Regards, -- Nicolas George signature.asc Description: Digital s

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Tom Browder
On Sun, Aug 20, 2017 at 10:17 AM, Nicolas George wrote: > Le tridi 3 fructidor, an CCXXV, Tom Browder a écrit : >> > # systemctl start postfix >> > # systemctl status postfix >> > >> > and got several lines basically saying posfix.service was disabled. > >> The exact message is: >> >> * postfi

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Tom Browder
On Sun, Aug 20, 2017 at 10:17 Nicolas George wrote: > Le tridi 3 fructidor, an CCXXV, Tom Browder a écrit : > > > # systemctl start postfix > > > # systemctl status postfix > > > > > > and got several lines basically saying posfix.service was disabled. > > > The exact message is: > > > > * po

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Nicolas George
Le tridi 3 fructidor, an CCXXV, Tom Browder a écrit : > > # systemctl start postfix > > # systemctl status postfix > > > > and got several lines basically saying posfix.service was disabled. > The exact message is: > > * postfix.service - Postfix Mail Transport Agent >Loaded: loaded (/etc

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Nicolas George
Le tridi 3 fructidor, an CCXXV, Tom Browder a écrit : > I got a postfix.service file from a postfix developer and installed it in > /etc/systemd/system as the docs mention. > > I then moved the /etc/init.d/postfix file away, reloaded the systemd > daemon, and did: > > # systemctl start postfix

Re: Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Tom Browder
On Sun, Aug 20, 2017 at 9:42 AM, Tom Browder wrote: > I got a postfix.service file from a postfix developer and installed it in > /etc/systemd/system as the docs mention. > > I then moved the /etc/init.d/postfix file away, reloaded the systemd daemon, > and did: > > # systemctl start postfix >

Systemd: Error when replacing postfix LSB init with postfix.service on Debian 8 (jessie)

2017-08-20 Thread Tom Browder
I got a postfix.service file from a postfix developer and installed it in /etc/systemd/system as the docs mention. I then moved the /etc/init.d/postfix file away, reloaded the systemd daemon, and did: # systemctl start postfix # systemctl status postfix and got several lines basically saying

Re: Systemd and Init was Problems communicating with and between servers after upgrade - correction

2016-09-12 Thread Clive Menzies
does *not* have systemd unit files, it falls back to the sysvinit scripts. Thanks Greg That makes sense. Does this mean init will disappear from Debian in a future release? It is interesting that you gave ssh as an example because we seem to have encountered strange problems with mixed IDE

Re: Systemd and Init was Problems communicating with and between servers after upgrade - correction

2016-09-12 Thread Greg Wooledge
On Mon, Sep 12, 2016 at 07:32:52PM +0100, Clive Menzies wrote: > However, studying documentation on systemd v init, I'm a bit confused. I > assumed the reinstall would implement systemd for all services and init > wouldn't be visible although symlinks will use init where ne

Systemd and Init was Problems communicating with and between servers after upgrade - correction

2016-09-12 Thread Clive Menzies
espect of mounting the shares but one works, one doesn't. As server_U is working after reinstallation, following much exploration, we reinstalled jessie 8.3 on server_M and committed to systemd to avoid potential progressive sysv-init problems we'd learned of during our investigation

Re: dselect, init and systemd-sysv

2016-01-20 Thread Adam Wilson
On Sun, 17 Jan 2016 11:26:54 +0100 Aldo Maggi wrote: > Yesterday while updating my system via dselect (I'm using testing) > I've received the warning that "init and systemd-sysv" were going to > be uninstalled and I had to approve or deny that action. You have to be

Re: dselect, init and systemd-sysv

2016-01-19 Thread koanhead
On Sun, 17 Jan 2016 12:00:02 +0100, Aldo Maggi wrote: > Yesterday while updating my system via dselect (I'm using testing) I've > received the warning that "init and systemd-sysv" were going to be > uninstalled and I had to approve or deny that action. > I've

dselect, init and systemd-sysv

2016-01-17 Thread Aldo Maggi
Yesterday while updating my system via dselect (I'm using testing) I've received the warning that "init and systemd-sysv" were going to be uninstalled and I had to approve or deny that action. I've thought that as in previous cases (to be frank not recently but ma

dselect, init and systemd-sysv

2016-01-17 Thread Aldo Maggi
Yesterday while updating my system via dselect (I'm using testing) I've received the warning that "init and systemd-sysv" were going to be uninstalled and I had to approve or deny that action. I've thought that as in previous cases (to be frank not recently but ma

Re: How to install init scripts manually?

2015-11-03 Thread Martin T
wrote: >> >> As a next step, I made the /etc/init.d/test-script file executable and >> added a symlink to /etc/rc3.d/("ln -s ../init.d/test-script >> /etc/rc3.d/S23test-script") directory and changed my runlevel from >> 2(default) to 3 with "init 3&quo

Re: something at init is taking about 31s to finish

2015-08-31 Thread Curt
On 2015-08-31, wrote: > >> I understand the whole "oh noes, firmware is a binary blob with unknown >> contents [...] > > It seems you don't :-) > >> By not installing the firmware package, you are just making your life >> harder without gaining anything but a delayed boot. > > There sure should b

Re: something at init is taking about 31s to finish

2015-08-31 Thread briand
On Mon, 31 Aug 2015 11:56:09 +0300 Reco wrote: > > there's this in dmesg: > > > > [6.210098] EXT4-fs (sda7): mounted filesystem with ordered data mode. > > Opts: > > (null) > > [ 35.827945] r8169 :03:00.0: firmware: failed to load > > rtl_nic/rtl8168f-1.fw (-2) > > [ 35.827963] r8

Re: something at init is taking about 31s to finish

2015-08-31 Thread Brian
On Mon 31 Aug 2015 at 11:56:09 +0300, Reco wrote: > On Sun, Aug 30, 2015 at 06:58:10AM -0700, bri...@aracnet.com wrote: > > > > there's this in dmesg: > > > > [6.210098] EXT4-fs (sda7): mounted filesystem with ordered data mode. > > Opts: > > (null) > > [ 35.827945] r8169 :03:00.0: f

Re: something at init is taking about 31s to finish

2015-08-31 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 31, 2015 at 11:56:09AM +0300, Reco wrote: > Hi. > > On Sun, Aug 30, 2015 at 06:58:10AM -0700, bri...@aracnet.com wrote: [...] > > so it is the dreaded r8169 firmware crappola. the system works fine not > > loading it. > > My-my. Call

Re: something at init is taking about 31s to finish

2015-08-31 Thread Reco
Hi. On Sun, Aug 30, 2015 at 06:58:10AM -0700, bri...@aracnet.com wrote: > On Sun, 30 Aug 2015 13:18:19 +0200 > Sven Hartge wrote: > > > bri...@aracnet.com wrote: > > > On Sun, 30 Aug 2015 04:25:36 +0200 Sven Hartge wrote: > > >> bri...@aracnet.com wrote: > > > > >>> There's no way anyone can

Re: something at init is taking about 31s to finish

2015-08-31 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Aug 31, 2015 at 12:39:14AM +0200, Sven Hartge wrote: > bri...@aracnet.com wrote: > > > [6.210098] EXT4-fs (sda7): mounted filesystem with ordered data mode. > > Opts: > > (null) > > [ 35.827945] r8169 :03:00.0: firmware: failed to

Re: something at init is taking about 31s to finish

2015-08-30 Thread Sven Hartge
bri...@aracnet.com wrote: > [6.210098] EXT4-fs (sda7): mounted filesystem with ordered data mode. > Opts: > (null) > [ 35.827945] r8169 :03:00.0: firmware: failed to load > rtl_nic/rtl8168f-1.fw (-2) > [ 35.827963] r8169 :03:00.0: Direct firmware load failed with error -2 > [

Re: something at init is taking about 31s to finish

2015-08-30 Thread briand
On Sun, 30 Aug 2015 13:18:19 +0200 Sven Hartge wrote: > bri...@aracnet.com wrote: > > On Sun, 30 Aug 2015 04:25:36 +0200 Sven Hartge wrote: > >> bri...@aracnet.com wrote: > > >>> There's no way anyone can help until i can get a trace of what's > >>> going on at boot. > >> > >> Jessie or newer?

Re: something at init is taking about 31s to finish

2015-08-30 Thread Sven Hartge
bri...@aracnet.com wrote: > On Sun, 30 Aug 2015 04:25:36 +0200 Sven Hartge wrote: >> bri...@aracnet.com wrote: >>> There's no way anyone can help until i can get a trace of what's >>> going on at boot. >> >> Jessie or newer? With systemd? >> >> systemd-analyze blame > 29.597s network

Re: something at init is taking about 31s to finish

2015-08-29 Thread briand
On Sun, 30 Aug 2015 04:25:36 +0200 Sven Hartge wrote: > bri...@aracnet.com wrote: > > > it almost looks like something is timing out, and yet the system works > > fine, so whatever it is that the process is waiting on it doesn't seem > > to matter. > > > i have a bad feeling it's the dreade eth

Re: something at init is taking about 31s to finish

2015-08-29 Thread Sven Hartge
bri...@aracnet.com wrote: > it almost looks like something is timing out, and yet the system works > fine, so whatever it is that the process is waiting on it doesn't seem > to matter. > i have a bad feeling it's the dreade ethernet firmware loading thing > (just a guess) since that's the message

something at init is taking about 31s to finish

2015-08-29 Thread briand
it almost looks like something is timing out, and yet the system works fine, so whatever it is that the process is waiting on it doesn't seem to matter. i have a bad feeling it's the dreade ethernet firmware loading thing (just a guess) since that's the message that comes up immediately after th

Re: systemd vs sysvinit: init script arguments

2015-08-22 Thread Jonathan de Boyne Pollard
Stuart Longland: > I've used the OpenVPN init script as a template for creating my init scripts, [...] And that's the point at which you went wrong. OpenVPN was one of the earliest things converted to systemd with its service management set up very differently to the way that

Re: systemd vs sysvinit: init script arguments

2015-08-21 Thread Michael Biebl
Hi Stuart, Am 20.08.2015 um 23:48 schrieb Stuart Longland: > I've used the OpenVPN init script as a template for creating my init > scripts, which allows me to not only start and stop all drivers, but > also start or stop an individual driver. e.g. > > /etc/init.d/

Re: systemd vs sysvinit: init script arguments

2015-08-21 Thread Darac Marjal
ata > interface for trending and analysis. Basically the data-gathering > guts of a SCADA system. > > The system is built on the Unix philosophy, so each communications > driver and service runs as a separate process, communicating over > AMQP. So far so good. > > I'v

systemd vs sysvinit: init script arguments

2015-08-20 Thread Stuart Longland
ically the data-gathering guts of a SCADA system. The system is built on the Unix philosophy, so each communications driver and service runs as a separate process, communicating over AMQP. So far so good. I've used the OpenVPN init script as a template for creating my init scripts, which allows

Re: Debugging a LSB init script under systemd

2015-07-09 Thread Stuart Longland
Hi Reco, On 09/07/15 16:43, Reco wrote: >> > Is there a way to tell systemd to LEAVE the script alone while I debug >> > it and get it working? > Yes. Setting _SYSTEMCTL_SKIP_REDIRECT environment variable to any value > should allow you to run it directly. Ahh, that's EXACTLY what I needed. Thank

Re: Debugging a LSB init script under systemd

2015-07-09 Thread Reco
Hi. On Thu, 09 Jul 2015 14:37:52 +1000 Stuart Longland wrote: > Hi all, > > Is there any way to debug a LSB init script under systemd? I'm trying > to write an init script for a service that starts multiple daemons, much > like OpenVPN and how it starts a separate daemon

Debugging a LSB init script under systemd

2015-07-08 Thread Stuart Longland
Hi all, Is there any way to debug a LSB init script under systemd? I'm trying to write an init script for a service that starts multiple daemons, much like OpenVPN and how it starts a separate daemon for each connection. So I've taken the OpenVPN init script and hacked it to make it

Re: boot-time messages, /init touch not found

2015-04-26 Thread songbird
there - but I don't know of any way to do that using > standard tools; if I wanted to try it, I'd have to write code for the > purpose myself. > > Presumably appropriate tools do exist, if only within the kernel tree... is it the kernel or the init script that initramfs-tools

Re: boot-time messages, /init touch not found

2015-04-25 Thread The Wanderer
On 04/25/2015 at 11:01 PM, Henrique de Moraes Holschuh wrote: > On Sat, Apr 25, 2015, at 17:16, songbird wrote: > >> # cpio -i -v < /boot/initrd.img-3.18.0-trunk-686-pae >> kernel >> kernel/x86 >> kernel/x86/microcode >> kernel/x86/microcode/GenuineIntel.bin >> 22 blocks > > Yeah, well, you have

Re: boot-time messages, /init touch not found

2015-04-25 Thread Henrique de Moraes Holschuh
On Sat, Apr 25, 2015, at 17:16, songbird wrote: > # cpio -i -v < /boot/initrd.img-3.18.0-trunk-686-pae > kernel > kernel/x86 > kernel/x86/microcode > kernel/x86/microcode/GenuineIntel.bin > 22 blocks Yeah, well, you have a multi-segment initramfs. There's an uncompressed cpio archive first with t

Re: boot-time messages, /init touch not found

2015-04-25 Thread songbird
The Wanderer wrote: >Ric Moore wrote: ... >> Sorry I missed it, but what version of Debian does this occur on?? > > My system, which does not have the problem, is on current testing - > dist-upgraded just this afternoon. > > songbird is at least running initramfs-tools from testing (it's the same >

Re: boot-time messages, /init touch not found

2015-04-25 Thread The Wanderer
On 04/25/2015 at 05:36 PM, Ric Moore wrote: > On 04/25/2015 05:29 PM, songbird wrote: > >> The Wanderer wrote: >>> That's _very_ weird. If my experience is any guide, there should >>> be an entire root-like hierarchy in there; mine contains >>> &g

Re: boot-time messages, /init touch not found

2015-04-25 Thread Ric Moore
0 # du . du . 16 ./kernel/x86/microcode 20 ./kernel/x86 24 ./kernel 28 . That's _very_ weird. If my experience is any guide, there should be an entire root-like hierarchy in there; mine contains bin/ conf/ etc/ init lib/ lib64/ run/ sbin/ scripts/ with appropriate co

Re: boot-time messages, /init touch not found

2015-04-25 Thread songbird
gt;> # cpio -i -v < /boot/initrd.img-3.18.0-trunk-686-pae >> kernel >> kernel/x86 >> kernel/x86/microcode >> kernel/x86/microcode/GenuineIntel.bin >> 22 blocks >>=20 >> # du . >> du . >> 16 ./kernel/x86/microcode >> 20 ./ker

Re: boot-time messages, /init touch not found

2015-04-25 Thread The Wanderer
t; kernel > kernel/x86 > kernel/x86/microcode > kernel/x86/microcode/GenuineIntel.bin > 22 blocks > > # du . > du . > 16./kernel/x86/microcode > 20./kernel/x86 > 24./kernel > 28. That's _very_ weird. If my experience is any guide, there shou

Re: boot-time messages, /init touch not found

2015-04-25 Thread songbird
The Wanderer wrote: > songbird wrote: >> The Wanderer wrote: >>> songbird wrote: > doesn't work for me, hmm: =20 # gunzip - < /boot/initrd.img-3.18.0-trunk-686-pae | cpio -i =20 gzip: stdin: not in gzip format >>>=20 >>> What does >>>=20 >>> file /boot/initrd.img-3.18.0-trunk

Re: boot-time messages, /init touch not found

2015-04-25 Thread The Wanderer
On 04/25/2015 at 02:50 PM, songbird wrote: > The Wanderer wrote: > >> songbird wrote: >>> doesn't work for me, hmm: >>> >>> # gunzip - < /boot/initrd.img-3.18.0-trunk-686-pae | cpio -i >>> >>> gzip: stdin: not in gzip format >> >> What does >> >> file /boot/initrd.img-3.18.0-trunk-686-pae >>

Re: boot-time messages, /init touch not found

2015-04-25 Thread songbird
The Wanderer wrote: > songbird wrote: >> Mike Kupfer wrote: >>> songbird wrote: >>> how did you expand the initramfs? i tried the command given and didn't get it to work and so set it aside until i could read further docs today. >>> >>> I did >>> >>> $ su >>> # cd /root >>

Re: boot-time messages, /init touch not found

2015-04-25 Thread The Wanderer
On 04/25/2015 at 02:08 PM, songbird wrote: > Mike Kupfer wrote: > >> songbird wrote: >> >>> how did you expand the initramfs? i tried the >>> command given and didn't get it to work and so set >>> it aside until i could read further docs today. >> >> I did >> >> $ su >> # cd /root >>

Re: boot-time messages, /init touch not found

2015-04-25 Thread songbird
Mike Kupfer wrote: > songbird wrote: > >> how did you expand the initramfs? i tried the >> command given and didn't get it to work and so set >> it aside until i could read further docs today. > > I did > > $ su > # cd /root > # mkdir initrd > # cd initrd > > and then ran the pip

Re: boot-time messages, /init touch not found

2015-04-25 Thread songbird
>> how did you expand the initramfs? i tried the >> command given and didn't get it to work and so set >> it aside until i could read further docs today. > > lsinitramfs can be used to list the contents of the initramfs. yes, i found that via the man pages but no

Re: boot-time messages, /init touch not found

2015-04-25 Thread Mike Kupfer
gave. I think I just copy/pasted it. > i meant to reply last night saying that the 401: was > likely a line number from init, but got sidetracked... Ah, yes, that makes sense. regards, mike -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsub

Re: boot-time messages, /init touch not found

2015-04-25 Thread Michael Biebl
ocs today. lsinitramfs can be used to list the contents of the initramfs. > i meant to reply last night saying that the 401: was > likely a line number from init, but got sidetracked... songbird, do you have the busybox uninstalled or BUSYBOX=n in /etc/initramfs-tools/initramfs.conf? [1

Re: boot-time messages, /init touch not found

2015-04-25 Thread songbird
mfs? i tried the command given and didn't get it to work and so set it aside until i could read further docs today. i meant to reply last night saying that the 401: was likely a line number from init, but got sidetracked... songbird -- To UNSUBSCRIBE, email to debian-user-requ...@l

Re: boot-time messages, /init touch not found

2015-04-24 Thread Mike Kupfer
The Wanderer wrote: > If that doesn't help, then I'd advise that you expand the initramfs / > initrd file from under /boot into an empty directory, and see what it > contains. It may very well be missing either bin/touch or some related > thing. Indeed, it's missing bin/touch. Thanks for the det

  1   2   3   4   5   6   7   8   9   10   >