Bug#758914: [dbus] Refuses to complete installation, blocking other pkgs

Bzzzz lazyvirus at gmx.com
Sat Aug 23 15:57:44 BST 2014


On Sat, 23 Aug 2014 15:37:06 +0100
Simon McVittie <smcv at debian.org> wrote:

> You have a line in your /etc/fstab or /etc/fstab.d/* for /dev/sdg1
> (/media/KEY), which is not present, and is probably a USB flash
> drive or something. Please tell us what that line is (before
> changing it).

/dev/sdg1   /media/KEY   auto
user,async,noatime,nodev,nosuid,noexec   0       2
 
> Under sysvinit, if a required device in fstab is missing, the
> system will try to muddle along without it; but systemd detects
> missing devices, treats that as a serious problem and goes into
> emergency mode. The solution is to add noauto and/or nofail to the
> mount options for /dev/sdg1 and any other removable/non-essential
> devices, to tell systemd that their absence is not really serious,
> and then leave emergency mode with "systemctl default".

Effectively, I did not care formerly because it caused no problem,
but it was tagged 'auto'.
This is done ('noauto,nofail,' added in front of 'user,…').

> Getting out of emergency mode should return your system to a better
> state. However, it might also be considered to be a bug that
> installing packages that contain services, while in emergency mode,
> doesn't work.
> 
> Under sysvinit, invoke-rc.d would start the service if it should be
> running in the current runlevel, and ignore it if it should not.
> Under systemd, invoke-rc.d will always try to start the service
> even if the target that wants it is not active, and if that fails,
> invoke-rc.d fails.

Hmm, very possible, I've a (bad) habit: I disabled some daemons by
chmod -x /etc/init.d/<daemon name>

Does it mean I should chmod +x them all and use the regular procedure
(which I don't remember)?

In this state (/dev/sdg1 line modified but /etc/init.d/ disabled
scripts still disabled), can I safely reboot or not?

JY
-- 
<Miaougroute> Yesterday I was badly depressed.
<Miaougroute> I got on Facebook and changed my status to:
              "I'm gonna commit suicide!!"
<Bobinette> :(
<Miaougroute> the only one that commented was my mother…
<Bobinette> Well, it prouves that she cares about you!
<Miaougroute> "I guess we will not wait you for dinner?"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140823/bd19c356/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list