Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2014 19:26:50 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: CURRENT: WARNING! r273914 leaves filesystems in inconsistent/corrupted condition!
Message-ID:  <alpine.BSF.2.11.1411011922100.1376@mail.fig.ol.no>
In-Reply-To: <86h9yi7t14.fsf@nine.des.no>
References:  <20141031202045.2e02f4a3.ohartman@zedat.fu-berlin.de> <86a94c9bn3.fsf@nine.des.no> <545402C9.4070901@fgznet.ch> <201410312231.s9VMVsT1002148@pozo.com> <86fve392uy.fsf@nine.des.no> <20141101153554.77a4a7e4cef7bfe2b9486e89@dec.sakura.ne.jp> <86y4rv6lxf.fsf@nine.des.no> <1414852431.17308.210.camel@revolution.hippie.lan> <86tx2j6k6j.fsf@nine.des.no> <1414858202.17308.214.camel@revolution.hippie.lan> <86h9yi7t14.fsf@nine.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 1 Nov 2014 18:03+0100, Dag-Erling Smørgrav wrote:

> Ian Lepore <ian@FreeBSD.org> writes:
> > Dag-Erling Smørgrav <des@des.no> writes:
> > > I think you misremember.  It is impossible to guarantee that the
> > > system will always have enough entropy right from the start.
> > > Servers, desktops and laptops will be fine, but embedded systems and
> > > VMs might not be able to unblock until they've seen some network
> > > traffic or loaded a chunk of pre-generated entropy (which is what
> > > /etc/rc.d/random does).  This is especially true for embedded
> > > systems that don't have enumerable buses and rely on fdt(4) to
> > > create the device tree at boot time.
> > And what about devices that are not connected to a network?
> 
> They still get entropy from interrupts and disk I/O.
> 
> > Oh well, I'm sure I'll be able to find some hacks to undo whatever
> > y'all have done now, and we'll just have to carry them as local diffs
> > forever.
> 
> How about you take a ****ing chill pill and read what I wrote earlier:
> this is a regression which we will try to fix.  But the bottom line is
> that the entropy has to come from *somewhere* and if whatever dinky
> device you're playing with doesn't provide any, that's not our fault.
> Buy http://www.amazon.com/dp/0833030477 and type it in, or something.
> We're engineers, not magicians.

Sirs, please control your temper, at least while on a public mailing 
list.

What good does the file /entropy do if boot up is delayed everytime 
during "Writing entropy file:"?

> (or maybe you can do something constructive, like write code to harvest
> entropy from background noise in ADCs, unused WiFi / 4G / BT radios or
> whatever else is available and submit a patch)

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+
From owner-freebsd-current@FreeBSD.ORG  Sat Nov  1 18:35:17 2014
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id EE85184B
 for <freebsd-current@freebsd.org>; Sat,  1 Nov 2014 18:35:17 +0000 (UTC)
Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::4])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id C8C9174E
 for <freebsd-current@freebsd.org>; Sat,  1 Nov 2014 18:35:17 +0000 (UTC)
Received: from torb.pix.net (torb.pix.net
 [IPv6:2001:470:e254:10:12dd:b1ff:febf:eca9]) (authenticated bits=0)
 by hydra.pix.net (8.14.9/8.14.9) with ESMTP id sA1IZFb9006581;
 Sat, 1 Nov 2014 14:35:15 -0400 (EDT) (envelope-from lidl@pix.net)
Message-ID: <545527E2.1030109@pix.net>
Date: Sat, 01 Nov 2014 14:35:14 -0400
From: Kurt Lidl <lidl@pix.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10;
 rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version: 1.0
To: freebsd-current@freebsd.org
Subject: Re: pkg 1.4 freeze please test test test!
References: <20141028231933.GG26796@ivaldir.etoilebsd.net>
In-Reply-To: <20141028231933.GG26796@ivaldir.etoilebsd.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 01 Nov 2014 18:35:18 -0000

I upgraded one of my machines to have pkg-devel on it
(1.4.0.alpha4), and attempted to recreate my test repo with it.

Version                 : 1.4.0.alpha4
PKG_DBDIR = "/tmp/pkg.tmp.67648";
PKG_CACHEDIR = "/var/cache/pkg";
PORTSDIR = "/usr/ports";
INDEXDIR = "";
INDEXFILE = "INDEX-9";
HANDLE_RC_SCRIPTS = false;
ASSUME_ALWAYS_YES = true;
REPOS_DIR [
     "/usr/local/etc/pkg/repos",
]
PLIST_KEYWORDS_DIR = "";
SYSLOG = true;
ABI = "FreeBSD:9:amd64";
ALTABI = "freebsd:9:x86:64";
DEVELOPER_MODE = false;
VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2";
FETCH_RETRY = 3;
PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [
]
DEBUG_SCRIPTS = false;
PLUGINS_CONF_DIR = "/usr/local/etc/pkg/";
PERMISSIVE = false;
REPO_AUTOUPDATE = false;
NAMESERVER = "";
EVENT_PIPE = "";
FETCH_TIMEOUT = 30;
UNSET_TIMESTAMP = false;
SSH_RESTRICT_DIR = "";
PKG_ENV {
}
PKG_SSH_ARGS = "";
DEBUG_LEVEL = 0;
ALIAS {
}
CUDF_SOLVER = "";
SAT_SOLVER = "";
RUN_SCRIPTS = true;
CASE_SENSITIVE_MATCH = false;
LOCK_WAIT = 1;
LOCK_RETRIES = 5;
SQLITE_PROFILE = false;
WORKERS_COUNT = 0;
READ_LOCK = false;
PLIST_ACCEPT_DIRECTORIES = false;
IP_VERSION = 0;
AUTOMERGE = true;


Repositories:
   XXXXX: {
     url             : "pkg+http://XXXXX/FreeBSD:9:amd64/latest",
     enabled         : yes,
     mirror_type     : "SRV"
   }
Updating XXXXX repository catalogue...
Fetching meta.txz... done
Fetching packagesite.txz... done
Processing entries... done
XXXXX repository update completed. 506 packages processed
pkg: sqlite error while executing INSERT INTO pkg_search SELECT id, name 
|| '-' || version, origin FROM packages;CREATE INDEX packages_origin ON 
packages(origin COLLATE NOCASE);CREATE INDEX packages_name ON 
packages(name COLLATE NOCASE);CREATE INDEX packages_uid_nocase ON 
packages(name COLLATE NOCASE, origin COLLATE NOCASE);CREATE INDEX 
packages_version_nocase ON packages(name COLLATE NOCASE, version);CREATE 
INDEX packages_uid ON packages(name, origin);CREATE INDEX 
packages_version ON packages(name, version);CREATE UNIQUE INDEX 
packages_digest ON packages(manifestdigest); in file pkgdb.c:2246: 
UNIQUE constraint failed: packages.manifestdigest
Creating repository in 
/usr/obj/usr/src/release/packages/FreeBSD:9:amd64... done
Packing files for repository... done
Creating repository in 
/usr/obj/usr/src/release/packages/FreeBSD:9:amd64... done
Packing files for repository... done

-Kurt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1411011922100.1376>