Re: Installing package *NOT* in repository

2018-08-14 Thread Kenneth Parker
This brings up a question:  If I am Installing something outside of the
Packaging Infrastructure (usually, via a TarBall), I usually install inside
of my Home Directory (for example, using $PATH for ~/bin).  If I  *MUST*
make it available to other Users, I use the /usr/local/* directories.

Now the question:  Does dpkg have options for doing this?  (Or would I need
to, still use the "tarball"?  (The reason I bring up dpkg, is that it, at
least gives "lip service" to Dependencies).

Thanks in advance,

Kenneth Parker


Re: Installing package *NOT* in repository

2018-08-14 Thread Erik Christiansen
On 14.08.18 06:44, Richard Owlett wrote:
> On 08/14/2018 01:43 AM, Erik Christiansen wrote:
> > The whole thing is just a plain text file, edited and read with Vim,
> > using multi-level folding, so it all presents as a one-page TOC. My
> > version is probably of limited use to anyone else, as it e.g. only deals
> > with dpkg and apt-get in the current context. All else is completely
> > unknown.
> > 
> > Now that we have google, I must admit that there's an alternative, but
> > it won't tell you whether that's what you did last time, giving the
> > particular outcome which you prefer, or confidence of the same result.
> > 
> 
> I'm working on it :} Someone pointed me to CherryTree. I have much
> information in saved emails.

Please don't tell anyone, but I too have quite a number of list posts
flagged in mutt for adding to the notes - just not done yet. While
deleting 95% of posts and flagging 1% does distill the local archive
to a useful essence, it's still not as accessible as structured notes,
where related information is colocated, mixed with personal experience.

The optimal balance between doing and documenting depends significantly
on how good the wetware memory still is, but the act of documenting can
significantly improve that memory. (I have forgotten the numbers put
forward, at a seminar decades ago, for the percentage retention of what we:
hear, read, write, carry out in practice, but the difference is marked.)

Erik



Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table

2018-08-14 Thread Jude DaShiell
On Tue, 14 Aug 2018, local10 wrote:

> Date: Tue, 14 Aug 2018 08:44:26
> From: local10 
> To: debian-user@lists.debian.org
> Subject: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition
> table
> Resent-Date: Tue, 14 Aug 2018 12:44:40 + (UTC)
> Resent-From: debian-user@lists.debian.org
>
> Hi,
>
> Am having issues trasfering iso file to an sd card using dd:
>
> # dd if=/tmp/winfile.iso of=/dev/sdb bs=1M conv=fsync
>
> dd completes successfully without any issues but when I try to mount the sd 
> card I can't (wrong fs type, bad option, bad superblock on /dev/sdb1) and 
> fdisk says "Disk /dev/sdb doesn't contain a valid partition table". That's 
> kind of strange as I can mount and read /tmp/winfile.iso and it seems to be 
> in good order.
>
> Any ideas? Thanks
>
>
> # fdisk -l /dev/sdb
> ...
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x
>
> Disk /dev/sdb doesn't contain a valid partition table
>
>

-- 

files and partitions are two  different kinds of animal.  'm pretty
certain if you run lsblk you will not find an entry for sdb1 or sdb2 on
that disk either which means no valid partitions.  Not only do you need to
make a partition, you will also need to put a file system on it I'd
recommend vfat for the windows stuff unless you normally use ntfs and have
the necessary ntfs support utilities already on your system.
Just don't loose that source file until after you got this done.  Then
mount -t vfat /dev/sdb1 /mnt/dvd would get you a mounted partition and a
command like:
cp filename /mnt/dvd as root or sudo would put that file in a partition
with a file system on the drive you want.
ls /mnt/dvd should show you the filename too once done.




Re: Hrdware question

2018-08-14 Thread David Christensen

On 08/12/2018 11:01 AM, Pascal Hambourg wrote:

Le 11/08/2018 à 22:50, David Christensen a écrit :


3.  Do a fresh install of Debian onto the SSD.  Partition manually, 
creating three primary partitions: /boot (1 GB), swap (1 GB), and root 
(10 GB).


Mind to explain why should /boot be on a separate partition ?



Primarily because I often use dm-crypt on swap and root; boot must be 
unencrypted.



David



Re: Debian 9 network management

2018-08-14 Thread Jude DaShiell
On Tue, 14 Aug 2018, Dan Ritter wrote:

> Date: Tue, 14 Aug 2018 16:27:03
> From: Dan Ritter 
> To: Remigio 
> Cc: debian-user@lists.debian.org
> Subject: Re: Debian 9 network management
> Resent-Date: Tue, 14 Aug 2018 20:27:28 + (UTC)
> Resent-From: debian-user@lists.debian.org
>
> On Tue, Aug 14, 2018 at 01:08:40AM -0700, Remigio wrote:
> > Hi there,
> > recently I installed Debian 9 Stretch and I noticed that the network 
> > configuration management method was substantially changed.
> > Infact the file /etc/network/interfaces is almost empty despite I've 
> > inserted the network parameters during the installation process and network 
> > works now.
> > I tried searching on the web about this topic but I found lots of different 
> > answers.
> > Could you help me please to understand where are network configuration 
> > files and how to manage them?
>
> /etc/network/interfaces will still work -- and if it does what
> you need, it's the best solution in many ways.
>
> However, the default is NetworkManager, which attempts to handle
> every conceivable situation automatically.
>
> You can kill the NetworkManager process, apt remove it, and
> write up an /etc/network/interfaces (or interfaces.d/* ) file,
> reboot and be happy.
>
> -dsr-
>
Another possibility available to shell users is to run nmtui and activate
your chosen chosen connection.  For Wi-Fi instances you'll need to know
and use the password and if it works you'll have a choice to delete the
connection or you could simply exit out of the nmtui program at that
point.  In order to test the connection, the command:
ping -a -c 5 www.google.com
should perhaps generate some beeps and some packet transfer information
on the screen.  If it says something to the effect connection unknown,
you don't yet have network up yet.
Hope this helps.
>

-- 



Re: USB2 or 3 WiFi dual band adapters

2018-08-14 Thread Ben Caradoc-Davies

On 14/08/18 12:14, Ben Caradoc-Davies wrote:

On 12/08/18 15:12, Ben Caradoc-Davies wrote:
I am using a TP-Link TL-WN722N (ath9k_htc). I have two. Inexpensive, 
high-gain antenna, quite reliable despite regular hard work.
Since my broadband upgrade from ADSL to gigabit fibre three days ago, I 
can put greater load on my WiFi, and my TL-WN722N hangs under this heavy 
load. Downloads or uploads of 3-4 GB files succeed only about a third of 
the time. Hangs require USB disconnection and reconnection. I must 
withdraw my recommendation.


Since upgrading from linux-image-4.17.0-1-amd64 4.17.8-1 to 
linux-image-4.17.0-2-amd64 4.17.14-1 this morning, I have given my 
TL-WN722N a workout, with one 3.0 GB upload and six 4.0 GB downloads 
with the same servers as before, all successful, with no hangs. Perhaps 
the problems I encountered were related to interference that has now 
gone away? Or have been fixed by kernel driver improvements? Anyway, my 
TL-WN722N now seems quite stable under load.


Kind regards,

--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: Slow boot

2018-08-14 Thread Cindy-Sue Causey
On 8/14/18, Johann Spies  wrote:
> On Tue, 14 Aug 2018 at 17:18, Patrick Bartek  wrote:
>
>> I'm curious.  Did you just do a distribution upgrade on this laptop?
>> From what to what? Or was it a clean install? Or is it an old install
>> with everything working fine until now?
>
> I do regular dist-upgrades (testing) and have installed it as a new
> computer about two or three years ago.


I started having some SLOW response times going back maybe 2 weeks
ago. I've not tied it to anything specific until today.

Mine's not at bootup, that goes quickly. This is immediately after I'm
already in. It's both Thunar file manager and Mousepad text editor in
Xfce4 environment. I'll click... pick a feature, ANY feature, and
wait... and wait.. and wait..

And that's on a brand new, fresh reboot with approximate 6GB memory.

Today something happened, and I ended up kicking an operating system's
liveCD out of /dev/sr0 where it had been sitting quietly doing
nothing. At least I think it was not engaged in any activity... :D

Everything's been working fabulously ever since...

That drive started automounting a few days ago after years of not
doing so. No intervention from me *that I know of*. I've played with
virtual machines, but I don't  think that came into it because it has
happened multiple times on reboots where I haven't touched VMs at all.

Just tossing it out there because it's an exasperatingly slow
something and may lead to an answer for someone eventually :)

Cindy :)
-- 
Cindy-Sue Causey
Backyard Pishing (Very active private birding adventure)

* runs with duct tape *



Re: Monitoring copy file security

2018-08-14 Thread Ilyass Kaouam
Thank's

Le mar. 14 août 2018 à 18:03, Reco  a écrit :

>
>
> apt install auditd
>
> auditctl -a always,exit -F dir=/home/backup -F perm=war
>
> md5sum /home/backup/* # any reading/writing command will do
>
> tail /var/log/audit/audit.log
>
> Reco
>
>

-- 
*Ilyass kaouam*
*Systems administrator*
* Mastère européen Manager de Projets Informatiques*


Re: Debian 9 rocks, really

2018-08-14 Thread mark
On Saturday, March 24, 2018 6:31:11 PM EDT Andre Rodier wrote:
> Hello all,
> 
> I have been using Linux since more than 20 years, and Debian Linux since
> Potato. I even remember the time when you had to carefully read the
> documentation of your monitor to avoid damaging it, by choosing the
> wrong frequencies for the X server.
> 
> André Rodier.

Hello Andre,
I don't know if you are aware, but there is a large group of things which are 
listed as *something*rocks.  A couple of examples:  I have used qmailrocks to 
help setup a mail server, linuxrocks.online is out there (and many 
others).  I just don't want to see anyone getting in trouble by being 
innocent.

Mark



Re: Slow boot

2018-08-14 Thread Johann Spies
On Tue, 14 Aug 2018 at 17:18, Patrick Bartek  wrote:

> I'm curious.  Did you just do a distribution upgrade on this laptop?
> From what to what? Or was it a clean install? Or is it an old install
> with everything working fine until now?

I do regular dist-upgrades (testing) and have installed it as a new
computer about two or three years ago.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Debian 9 network management

2018-08-14 Thread Dan Ritter
On Tue, Aug 14, 2018 at 01:08:40AM -0700, Remigio wrote:
> Hi there,
> recently I installed Debian 9 Stretch and I noticed that the network 
> configuration management method was substantially changed.
> Infact the file /etc/network/interfaces is almost empty despite I've inserted 
> the network parameters during the installation process and network works now.
> I tried searching on the web about this topic but I found lots of different 
> answers.
> Could you help me please to understand where are network configuration files 
> and how to manage them?

/etc/network/interfaces will still work -- and if it does what
you need, it's the best solution in many ways.

However, the default is NetworkManager, which attempts to handle
every conceivable situation automatically.

You can kill the NetworkManager process, apt remove it, and
write up an /etc/network/interfaces (or interfaces.d/* ) file,
reboot and be happy.

-dsr-



Re: does btrfs have a future? (was: feature)

2018-08-14 Thread Matthew Crews
‐‐‐ Original Message ‐‐‐
On August 14, 2018 6:54 AM, Anders Andersson  wrote:

> On Tue, Aug 14, 2018 at 12:26 PM, Stefan K shado...@gmx.net wrote:
> Before people start discussingfeatures, note that OP uses the
> mostly non-standard spelling "feature" when he means "future".

Good catch, I thought the subject was strange.

I think btrfs does have a future once they work out the Raid5/6 write hole, and 
patch in a few quality of life changes.

On the other hand, if ZFS is ever relicensed to be GPL-compatible (and 
therefore includable in the Linux kernel directly), then I think that will kill 
btrfs outright.



Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table

2018-08-14 Thread deloptes
local10 wrote:

> The goal here is to create an sd card containg a bootable windows 7 image,
> I need to test something quick in windows. The iso file  is a windows 7
> image.

is it live windows7 - I have heard rumors that such thing exists?
Is it recovery disk?

but why you don't run it in VM or VBox or extract, or use unetbootin?

Still it is not clear what you want to do with that- well, obviously this
thing with dd on sd card does not work.

regards





Re: Installing package *NOT* in repository

2018-08-14 Thread Cindy-Sue Causey
On 8/13/18, Brian  wrote:
> On Mon 13 Aug 2018 at 17:49:08 +0200, to...@tuxteam.de wrote:
>
>> On Mon, Aug 13, 2018 at 08:35:50AM -0700, Patrick Bartek wrote:
>> > On Mon, 13 Aug 2018 06:47:02 -0500
>> > Richard Owlett  wrote:
>> >
>> > > PREAMBLE:
>> > > I've downloaded a .deb file.
>> > > I've recently done such an install but don't remember how.
>> > > Looking at the man pages for apt, apt-get, aptitude didn't help.
>> > > Couldn't come up with useful search term for wiki.
>> > > Eventually recalled "dpkg -i" which worked.
>> > >
>> > > QUESTION:
>> > > How would someone find the answer if the answer wasn't already known?
>> > > I went thru the same sequence last time.
>> > >
>> >
>> > I use gdebi to install local .deb files. It handles the dependencies,
>> > too.
>>
>> As I said already, dpkg does install dependencies. Actually, I don't
>> know any (Debian) tool which wouldn't, by default.
>
> I don't think it does, y'know. That's why apt-get was created.


I always need someone else to say the right thing to trigger thoughts.
That's a good one there. Dpkg DOES complain about, i.e. dpkg DOES name
the right dependencies that are missing. It just doesn't go that extra
mile to help bring them on home.

To date, I've been lucky when going that route on occasionally regular
occasion. The list of dependencies has been short... as has the list
of secondary (?) dependencies that the immediately relevant
dependencies... depend on to do THEIR own part of the whole. Each one
needed has to be singularly tracked down and then installed.

Very manual process. If you're into really "seeing" how things
interact, that's one route that'll help catch a quick peek...
including learning how to track down more packages *that won't kill
your system* if those dependencies aren't immediately available
through one's favored package repository. I invariably end up
distracted by something shiny incidentally discovered when I
absolutely have to go that route..

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* Minutes from submitting my very first official Linux patch ever... \
   Unless someone beats me to it in 3...2...1 *



Re: debian 9 network configuration

2018-08-14 Thread john doe

On 8/14/2018 10:39 AM, Remigio wrote:

Il giorno martedì 14 agosto 2018 10:20:04 UTC+2, john doe ha scritto:

On 8/14/2018 9:05 AM, Remigio wrote:

Hi there,
recently I installed Debian 9 Stretch and I noticed that the network 
configuration management method was substantially changed.
Infact the file /etc/network/interfaces is almost empty despite I've inserted 
the network parameters during the installation process and network works now.
I tried searching on the web about this topic but I found lots of different 
answers.
Could you help me please to understand where are network configuration files 
and how to manage them?
Thank you so much
Regards



If your '/etc/network/interfaces' is empty with the exception of the lo
interface, it is most likely that your interfaces are configured by an
other software (NetworkManager, (NM), WICD, systemd-networkd ...).

What is the content of '/etc/resolv.conf'?:

$ cat /etc/resolv.conf

--
John Doe


Hi John, :-)

root@debian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback



Looks good when using NM.



and

root@debian:~# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 10.30.10.140



In addition to the other answers you could also configure NetworkManager:

https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html

Uninstalling a program is never an option you need to understand how 
that program works! :)
In the case of NM it's easier to use the front end but it is always nice 
to go command line or using config files  when needed.


--
John Doe



Re: Monitoring copy file security

2018-08-14 Thread Reco
Hi.

On Mon, Aug 13, 2018 at 08:52:35PM +0200, Ilyass Kaouam wrote:
> Hi,
> 
> I have a database server in which I save the database (dump)
> let say
>  /home/backup directory.
> I would like to monitor this directory and find out if anyone is doing a cp
> or mv or.

apt install auditd

auditctl -a always,exit -F dir=/home/backup -F perm=war

md5sum /home/backup/* # any reading/writing command will do

tail /var/log/audit/audit.log

Reco



Re: /etc/alternatives feedback for presentation

2018-08-14 Thread Greg Wooledge
On Tue, Aug 14, 2018 at 10:31:02AM -0500, David Wright wrote:
> On Mon 13 Aug 2018 at 09:08:28 (-0400), Greg Wooledge wrote:
> > The other alternatives are:
> > 
> > 1) Stay on stretch.
> > 2) Edit /etc/login.defs to restore a functional su command (without needing
> >to use "su -").
> > 3) Put /usr/sbin and /sbin in your ordinary account's PATH.

> Why is
> 
>  Put some "qualify-of-life environment variables" into /root/.bashrc
> 
> not in your list?

I guess that would work, but I see some flaws:

 a) Every time you change an environment variable in your personal
account, you'll need to remember to make the same change in root's
account.

 b) What if other people also have root access to this system and don't
want your personal variables?

 c) If you need to make a change on every machine as root to fix the
behavior, why not just change /etc/login.defs instead?

 d) Especially if your home directory is shared across many systems.
Changing it just once in your home directory is better than having
to change every single system you log into.

Still, feel free to come up with your own alternatives to make things
work.  You might find some more ideas that I overlooked.



Re: /etc/alternatives feedback for presentation

2018-08-14 Thread David Wright
On Mon 13 Aug 2018 at 09:08:28 (-0400), Greg Wooledge wrote:
> On Sat, Aug 11, 2018 at 05:28:37PM -0500, Ryan Nowakowski wrote:
> > For example if I set the EDITOR env var how does
> > that interact with update-alternatives when I run visudo?
> 
> The VISUAL or EDITOR variable takes precedence, if one of them is set.
> If neither one is set, then visudo uses its compiled-in default, which
> on Debian happens to be '/usr/bin/editor'.
> 
> The problem is that sometimes, sudo will strip environment variables,
> and sometimes, it will not.  So, on any given computer with any given
> sudoers configuration, you can't actually know in advance whether
> "sudo visudo" will use VISUAL/EDITOR or not.
> 
> Isn't Unix *fun*?
> 
> Of course, if you simply use "su", then VISUAL/EDITOR will be preserved
> in the environment (because "su" does not strip environment variables),
> so "su" followed by "visudo" should work fine.
> 
> But, wait!  Debian has decided to CHANGE HOW SU WORKS in testing, so
> after stretch, who knows how things will work?!
> 
> Some people claim you should muscle-memorize "su -" which strips the
> environment in order to give you a usable PATH variable.  If you follow
> THIS advice, then "su -" will strip VISUAL/EDITOR from the environment,
> and then your VISUAL/EDITOR variables won't work when you type visudo.
> So, I can't imagine why you would want to do that.  Losing all your
> qualify-of-life environment variables is far too high a price to pay to
> get a working PATH variable after su.
> 
> The other alternatives are:
> 
> 1) Stay on stretch.
> 2) Edit /etc/login.defs to restore a functional su command (without needing
>to use "su -").
> 3) Put /usr/sbin and /sbin in your ordinary account's PATH.
> 
> *Fun*!

Why is

 Put some "qualify-of-life environment variables" into /root/.bashrc

not in your list?

Cheers,
David.



Re: Installing package *NOT* in repository

2018-08-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 14, 2018 at 07:58:07AM -0700, Patrick Bartek wrote:
> On Tue, 14 Aug 2018 08:56:17 +0200
>  wrote:

[...]

> > I already retracted somewhere else in this thread-forest. Sorry.
> 
> I saw it, but not until after I replied to your message.

Indeed.

> No apology needed.  Live and learn.

The most beautiful things are often not strictly necessary :-)

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlty82AACgkQBcgs9XrR2kacewCeOAhvKKXuN/UZqAIbbG5dnifg
UqwAni9RupqTKyn2Pm8cBPc7hg0VJNuq
=Ee26
-END PGP SIGNATURE-



Re: Slow boot

2018-08-14 Thread Patrick Bartek
On Tue, 14 Aug 2018 08:45:09 +0200
Johann Spies  wrote:

> I can push the power on button on my laptop, go and make coffee and
> come back and wait a few minutes before I can work.
> 
> The following services each takes longer than 10 seconds to activate:
> 
>  systemd-analyze blame
> 1min 21.617s apt-daily.service
>  1min 2.473s systemd-tmpfiles-setup.service
>   1min 926ms console-setup.service
>  47.192s postgresql@10-main.service
>  38.873s exim4.service
>  29.176s shorewall.service
>  23.365s wicd.service
>  22.402s mariadb.service
>  18.925s nmbd.service
>  13.917s udisks2.service
>  13.177s ModemManager.service
>  11.865s libvirtd.service
> 
> I can disable apt-daily.service but I do not think the system will
> work properly if I disable the second.  The third one (console-setup)
> seems to have a bug:
> 
> systemd[1]: Failed to start Set console font and keymap.
> It is looking for a file (symbols/us-intl) that does not exist
> Aug 14 08:02:55 sitasie console-setup.sh[769]: setupcon: The keyboard
> model is unknown, assuming 'pc105'. Keyboard may be configured
> incorrectly.
> Aug 14 08:03:55 sitasie console-setup.sh[769]: /usr/bin/ckbcomp: Can
> not find file "symbols/us-intl" in any known directory
> 
> This is the joy that I get since systemd became the standard.

I'm curious.  Did you just do a distribution upgrade on this laptop?
From what to what? Or was it a clean install? Or is it an old install
with everything working fine until now?

B



Re: debian 9 network configuration

2018-08-14 Thread Remigio
Il giorno martedì 14 agosto 2018 14:50:04 UTC+2, Greg Wooledge ha scritto:
> On Tue, Aug 14, 2018 at 12:05:34AM -0700, Remigio wrote:
...

Many thanks Greg for your clear exposition, I think that's what I was looking 
for.
Regards



Re: Installing package *NOT* in repository

2018-08-14 Thread Patrick Bartek
On Tue, 14 Aug 2018 08:56:17 +0200
 wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Mon, Aug 13, 2018 at 07:05:33PM -0700, Patrick Bartek wrote:
> > On Mon, 13 Aug 2018 17:49:08 +0200
> >  wrote:  
> 
> [...]
> 
> > > As I said already, dpkg does install dependencies. Actually, I
> > > don't know any (Debian) tool which wouldn't, by default.  
> > 
> > It never did for me [...]  
> 
> I already retracted somewhere else in this thread-forest. Sorry.

I saw it, but not until after I replied to your message.

No apology needed.  Live and learn.

B



Re: does btrfs have a feature?

2018-08-14 Thread Anders Andersson
On Tue, Aug 14, 2018 at 12:26 PM, Stefan K  wrote:
> In the beginning of btrfs, most blogs, websites, magazins said btrfs will be 
> THE next standard linux filesystem, so now after araound 10years it doesn't 
> look so good, or?
>
> Who use btrfs in production? What do you think - does have btrfs a feature 
> (because ZFS on Linux is more and more stable, RedHat said we don't want 
> btrfs anymore and focus to xfs)
>
> I use btrfs on some new bare-metal machines for the root-disks, because it 
> has a build-in RAID1 and snapshots, I know LVM and md-raid have also this 
> possibilities but in btrfs it is much easier. I don't use it for data or 
> other things(mail, database, etc), cause it is slow compared to ext4/xfs. I'm 
> also wondering why the hell btrfs don't support ssd's for caching like zfs.

Before people start discussing *features*, note that OP uses the
mostly non-standard spelling "feature" when he means "future".



Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table

2018-08-14 Thread Nicolas George
local10 (2018-08-14):
> The goal here is to create an sd card containg a bootable windows 7
> image, I need to test something quick in windows. The iso file  is a
> windows 7 image. 

Then I suspect you would have more luck asking people familiar with
windows.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table

2018-08-14 Thread local10
Aug 14, 2018, 8:47 AM by geo...@nsup.org:

> > You can try to mount /dev/sdb itself.
>
Yes, you're right, I can mount it on /dev/sdb.


> > But you are probably doing something wrong in the first place. What is your 
> > endgame?
>
The goal here is to create an sd card containg a bootable windows 7 image, I 
need to test something quick in windows. The iso file  is a windows 7 image. 

Thanks



Re: debian 9 network configuration

2018-08-14 Thread Joe
On Tue, 14 Aug 2018 12:31:22 +0100
Darac Marjal  wrote:

> On Tue, Aug 14, 2018 at 01:35:56AM -0700, Remigio wrote:
> > desktop or what other software did you install - XFCE, or Gnome  
> >> or KDE?  Then folks might be able to help ...
> >>
> >> Also, how would you -like- to configure your networking?  
> >
> >Hi Zenaan, :-)
> >the desktop environment is Xfce and I'd love to configure the
> >networking via shell. Thanks and regards
> >  
> 
> You can configure NetworkManager from a shell by using the nmcli
> command (upstream documentation at
> https://developer.gnome.org/NetworkManager/stable/nmcli.html)
> 
> For example:
>  nmcli radio wifi on
>  nmcli wifi list --rescan
>  nmcli dev wlp4s0 con "My Home Hotspot" password S3cure name "Home"
>  nmcli con up id "My Home Hotspot"
> 
> 

I think the context here is not so much the physical act of typing or
moving a mouse, it's having network software which is understood, and
which won't mess about with your settings when you're not looking.

I use NM on my netbook, and laptop when booted to Linux, and I find it
useful in dealing with assorted wifi and VPN situations. These days, it
Just Works, at least for me. But I would never allow it onto a server
or even a fixed workstation, nothing must ever change then, and a means
of configuration using a fixed text file cannot be beaten.

-- 
Joe



Re: ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table

2018-08-14 Thread Nicolas George
local10 (2018-08-14):
> Am having issues trasfering iso file to an sd card using dd:
> 
> # dd if=/tmp/winfile.iso of=/dev/sdb bs=1M conv=fsync
> 
> dd completes successfully without any issues but when I try to mount
> the sd card I can't (wrong fs type, bad option, bad superblock on
> /dev/sdb1) and fdisk says "Disk /dev/sdb doesn't contain a valid
> partition table". That's kind of strange as I can mount and read
> /tmp/winfile.iso and it seems to be in good order.

That is perfectly normal, an ISO file is an ISO-9660 filesystem image,
it does not contain a MBR-style partition table.

You can try to mount /dev/sdb itself. But you are probably doing
something wrong in the first place. What is your endgame?

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: debian 9 network configuration

2018-08-14 Thread Greg Wooledge
On Tue, Aug 14, 2018 at 12:05:34AM -0700, Remigio wrote:
> recently I installed Debian 9 Stretch
[...]
> Could you help me please to understand where are network configuration files 
> and how to manage them?

If, during the installation, you choose to install a Desktop Environment,
then Network Manager gets installed, and the configuration that would
normally go into /etc/network/interfaces (/e/n/i for short) is wiped out.

With your ethernet and/or wifi interfaces not listed in /e/n/i, NM takes
over and manages those interfaces.  For better or worse.

If, on the other hand, during the installation, you choose NOT to install
a Desktop Environment, then the installer writes the network configuration
stuff into /e/n/i for you, and NM is not installed.

On Tue, Aug 14, 2018 at 10:05:47AM +0100, Brian wrote:
> apt purge network-manager
> apt --purge autoremove
> 
> Then configure /e/n/i to your liking.

I second this recommendation for a desktop machine or a server.  I don't
know about laptops.



ISO file to sd card: Disk /dev/sdb doesn't contain a valid partition table

2018-08-14 Thread local10
Hi,

Am having issues trasfering iso file to an sd card using dd:

# dd if=/tmp/winfile.iso of=/dev/sdb bs=1M conv=fsync

dd completes successfully without any issues but when I try to mount the sd 
card I can't (wrong fs type, bad option, bad superblock on /dev/sdb1) and fdisk 
says "Disk /dev/sdb doesn't contain a valid partition table". That's kind of 
strange as I can mount and read /tmp/winfile.iso and it seems to be in good 
order.

Any ideas? Thanks


# fdisk -l /dev/sdb
...
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/sdb doesn't contain a valid partition table



Re: does btrfs have a feature?

2018-08-14 Thread Matthew Crews
On 8/14/18 3:26 AM, Stefan K wrote:
> Hello,
> 
> I'm just just curious. 
> In the beginning of btrfs, most blogs, websites, magazins said btrfs will be 
> THE next standard linux filesystem, so now after araound 10years it doesn't 
> look so good, or? 
> 
> Who use btrfs in production? What do you think - does have btrfs a feature 
> (because ZFS on Linux is more and more stable, RedHat said we don't want 
> btrfs anymore and focus to xfs)
> 
> I use btrfs on some new bare-metal machines for the root-disks, because it 
> has a build-in RAID1 and snapshots, I know LVM and md-raid have also this 
> possibilities but in btrfs it is much easier. I don't use it for data or 
> other things(mail, database, etc), cause it is slow compared to ext4/xfs. I'm 
> also wondering why the hell btrfs don't support ssd's for caching like zfs.
> 
> thanks for you opinions!
> 
> best regards
> Stefan 
> 

BTRFS is still used by default on OpenSUSE.

BTRFS has *mostly* feature parity with ZFS, and is considered "stable"
for every day use, with the exception that Raid5/6 is still extremely
dangerous to use in production. It also has the benefit of being
included in the Linux kernel, and is usable by the Debian installer out
of the box (so you can easily use it in Debian, whereas ZFS on root for
Debian is not easy)

https://btrfs.wiki.kernel.org/index.php/Status

Licensing issues with OpenZFS prevent it from being included in the
Linux kernel, and on Debian by default.

Personally I use BTRFS on a NAS with RAID10, and I have no problems. The
main selling point for me is data integrity and repair, something that
LVM and md-raid do not do.

BTRFS also makes it extremely easy to expand an array if you add more
disks, WITHOUT mucking around with LVM and md-raid. Just a simple
command (something that ZFS cannot easily do at this time)

btrfs device add /dev/sdX /path/to/array
btrfs filesystem balance /path/to/array

As an aside, the topic of BTRFS comes up every so often on this list.
Its worth searching the list archives:

https://lists.debian.org/cgi-bin/search?P=btrfs=Gdebian-user

Cheers




Re: Installing package *NOT* in repository

2018-08-14 Thread Richard Owlett

On 08/14/2018 01:43 AM, Erik Christiansen wrote:

On 13.08.18 06:47, Richard Owlett wrote:

PREAMBLE:
I've downloaded a .deb file.
I've recently done such an install but don't remember how.
Looking at the man pages for apt, apt-get, aptitude didn't help.
Couldn't come up with useful search term for wiki.
Eventually recalled "dpkg -i" which worked.

QUESTION:
How would someone find the answer if the answer wasn't already known?
I went thru the same sequence last time.


Personal survival notes, arranged by topic, focused on how a task was
accomplished last time, and with searchable tags of some sort. My 420+
pages of bumpf has accumulated over 3 decades, so some of it is perhaps
dated now, but still preserves what sanity remains.

If I search for "PACKAGE INSTALL:" or "\.DEB:", it's my first hit, as I
uppercase headings & tags shoved over to the RHS for minimal
intrusiveness. The trailing ':' may be superfluous, but reminds me I
intend it to be a tag.

The whole thing is just a plain text file, edited and read with Vim,
using multi-level folding, so it all presents as a one-page TOC. My
version is probably of limited use to anyone else, as it e.g. only deals
with dpkg and apt-get in the current context. All else is completely
unknown.

Now that we have google, I must admit that there's an alternative, but
it won't tell you whether that's what you did last time, giving the
particular outcome which you prefer, or confidence of the same result.



I'm working on it :} Someone pointed me to CherryTree. I have much 
information in saved emails.





Re: debian 9 network configuration

2018-08-14 Thread Darac Marjal

On Tue, Aug 14, 2018 at 01:35:56AM -0700, Remigio wrote:

desktop or what other software did you install - XFCE, or Gnome

or KDE?  Then folks might be able to help ...

Also, how would you -like- to configure your networking?


Hi Zenaan, :-)
the desktop environment is Xfce and I'd love to configure the networking via 
shell.
Thanks and regards



You can configure NetworkManager from a shell by using the nmcli command 
(upstream documentation at https://developer.gnome.org/NetworkManager/stable/nmcli.html)


For example:
nmcli radio wifi on
nmcli wifi list --rescan
nmcli dev wlp4s0 con "My Home Hotspot" password S3cure name "Home"
nmcli con up id "My Home Hotspot"


--
For more information, please reread.


signature.asc
Description: PGP signature


Re: script repos

2018-08-14 Thread Javier Debian




El 13/08/18 a las 05:44, t...@stg.hidro.cu escribió:

El 2018-08-13 04:00, t...@stg.hidro.cu escribió:

Buenas tardes alguien podría compartir un script para actualizar los
repos de debian...





> a ver no me exprese bien es un script para descargar los repos de 
debian...

>



http://es.lmgtfy.com/?iie=1=Creaci%C3%B3n+de+una+r%C3%A9plica+de+los+archivos+de+Debian



https://wiki.debian.org/es/NormasLista


https://es.wikipedia.org/wiki/Top-posting


JAP



Re: debian 9 network configuration

2018-08-14 Thread Remigio
...
> What desktop or what other software did you install - XFCE, or Gnome
> or KDE?  Then folks might be able to help ...
> 
> Also, how would you -like- to configure your networking?

Hi Zenaan, :-)
the desktop environment is Xfce and I'd love to manage networking via shell.
Thanks and regards



Re: Slow boot

2018-08-14 Thread Johann Spies
On Tue, 14 Aug 2018 at 12:32, Martin  wrote:

> Just a guess: If you have no working network, DNS in specific, it may take 
> ages until you local resolver terminates with a time out error. This could be 
> one reason, why this apt-daily.service (and may be exim) takes that long.
>

Correct guess.  I did not realize before today that the
apt-daily.service was part of the problem.
As part of the university's network I have to unlock access to the internet.
And that can only happen through a web browser.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Slow boot

2018-08-14 Thread Johann Spies
On Tue, 14 Aug 2018 at 12:22, Anders Andersson  wrote:
>
> On Tue, Aug 14, 2018 at 8:45 AM, Johann Spies  wrote:

> I don't remember now if it's possible to log I/O activity, but maybe
> you can inform us about the physical drive at least?

I have a rotating disk - no ssd.  I have since removed mariadb - which
was installed as a
dependency somewhere in the past.  I will also remove libvirt as I do
not really use it.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Slow boot

2018-08-14 Thread Martin
Am 14.08.2018 um 08:45 schrieb Johann Spies:
> I can push the power on button on my laptop, go and make coffee and
> come back and wait a few minutes before I can work.
> 
> The following services each takes longer than 10 seconds to activate:
> 
>  systemd-analyze blame
> 1min 21.617s apt-daily.service
>  1min 2.473s systemd-tmpfiles-setup.service
>   1min 926ms console-setup.service
>  47.192s postgresql@10-main.service
>  38.873s exim4.service
>  29.176s shorewall.service
>  23.365s wicd.service
>  22.402s mariadb.service
>  18.925s nmbd.service
>  13.917s udisks2.service
>  13.177s ModemManager.service
>  11.865s libvirtd.service
> 
> I can disable apt-daily.service but I do not think the system will
> work properly if I disable the second.  The third one (console-setup)
> seems to have a bug:
> 
> systemd[1]: Failed to start Set console font and keymap.
> It is looking for a file (symbols/us-intl) that does not exist
> Aug 14 08:02:55 sitasie console-setup.sh[769]: setupcon: The keyboard
> model is unknown, assuming 'pc105'. Keyboard may be configured
> incorrectly.
> Aug 14 08:03:55 sitasie console-setup.sh[769]: /usr/bin/ckbcomp: Can
> not find file "symbols/us-intl" in any known directory
> 
> This is the joy that I get since systemd became the standard.
> 
> Regards
> Johann
> 

Just a guess: If you have no working network, DNS in specific, it may take ages 
until you local resolver terminates with a time out error. This could be one 
reason, why this apt-daily.service (and may be exim) takes that long.



does btrfs have a feature?

2018-08-14 Thread Stefan K
Hello,

I'm just just curious. 
In the beginning of btrfs, most blogs, websites, magazins said btrfs will be 
THE next standard linux filesystem, so now after araound 10years it doesn't 
look so good, or? 

Who use btrfs in production? What do you think - does have btrfs a feature 
(because ZFS on Linux is more and more stable, RedHat said we don't want btrfs 
anymore and focus to xfs)

I use btrfs on some new bare-metal machines for the root-disks, because it has 
a build-in RAID1 and snapshots, I know LVM and md-raid have also this 
possibilities but in btrfs it is much easier. I don't use it for data or other 
things(mail, database, etc), cause it is slow compared to ext4/xfs. I'm also 
wondering why the hell btrfs don't support ssd's for caching like zfs.

thanks for you opinions!

best regards
Stefan 



Re: Slow boot

2018-08-14 Thread Anders Andersson
On Tue, Aug 14, 2018 at 8:45 AM, Johann Spies  wrote:
> I can push the power on button on my laptop, go and make coffee and
> come back and wait a few minutes before I can work.
>
> The following services each takes longer than 10 seconds to activate:
>
>  systemd-analyze blame
> 1min 21.617s apt-daily.service
>  1min 2.473s systemd-tmpfiles-setup.service
>   1min 926ms console-setup.service
>  47.192s postgresql@10-main.service
>  38.873s exim4.service
>  29.176s shorewall.service
>  23.365s wicd.service
>  22.402s mariadb.service
>  18.925s nmbd.service
>  13.917s udisks2.service
>  13.177s ModemManager.service
>  11.865s libvirtd.service
>
> I can disable apt-daily.service but I do not think the system will
> work properly if I disable the second.  The third one (console-setup)
> seems to have a bug:
>
> systemd[1]: Failed to start Set console font and keymap.
> It is looking for a file (symbols/us-intl) that does not exist
> Aug 14 08:02:55 sitasie console-setup.sh[769]: setupcon: The keyboard
> model is unknown, assuming 'pc105'. Keyboard may be configured
> incorrectly.
> Aug 14 08:03:55 sitasie console-setup.sh[769]: /usr/bin/ckbcomp: Can
> not find file "symbols/us-intl" in any known directory
>
> This is the joy that I get since systemd became the standard.

Not sure you can blame systemd here, except that without systemd you
would have no clue what took so much time. Most of these services
shouldn't take that long to start, and systemd is just the messenger
here. What more, the system should still boot up without most of
these, especially the databases.

Part from console-setup being broken, I'm a bit curious about your
hard drive activity and if you have a rotating platter drive or an
SSD.

If you start up apt-daily, two databases and libvirt in parallel on a
rotating platter laptop drive, I'd expect a huge amount of disk
thrashing.

I don't remember now if it's possible to log I/O activity, but maybe
you can inform us about the physical drive at least?



Re: need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread Curt
On 2018-08-14, Byung-Hee HWANG (황병희, 黃炳熙)  wrote:
> writes:
>
>> On Tue, Aug 14, 2018 at 03:34:06PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
>>> Hellow, i'm translating to Korean /Bugs section -- WWW. Though i try 3
>>> times for reading again again, i don't understand what means. See below:
>>
>> I can't find the text you are referring to. An URL would be nice.
>>
>> Anyway, I'll try to do my best without context:
>>
>>> #+BEGIN_SRC: text from /Bugs/server-request
>>> The Subject of the message is ignored, except for generating the Subject
>>> of the reply.
>>> #+END_SRC
>>
>> I interpret this as "the only place where the Subject of the message is
>> used is in the Subject of the reply".
>>
>> Perhaps this is about the Debian Bug Tracking System (BTS); some of the
>> bug report's mail headers have a special meaning to the BTS (the To:
>> address, for example, contains the bug ID). That would mean that the
>> Subject itself is not used, except to generate the reply's Subject
>> (which would be important to help the person sending the bug report
>> to correlate the reply (s)he receives).
>>
>> Don't hesitate to ask back if things seem less clear now :-)
>
> So the reply's Subject is important, is this key point?
> The URL was https://www.debian.org/Bugs/server-request.en.html
>
> I need more example. Tomas, please...
>
> Thanks for advance...
>

My take on it is the following. 

You send an email to requ...@bugs.debian.org because you want to know
all about bug # 22:

 Subject: Everything on bug # 22
 
(body of message containing one command and one control terminator)

 send-detail 22 (command)

 thank you (control terminator)

The automated program derives the subject line of its reply from 
the sender's subject line (common practice in the email world):

Reply:

 Subject: Re: Everything on bug # 22

 Blah blah blah blah on bug # 22

-- 
"She was a blank wall, fresh painted." 
Louise Erdrich, Love Medicine



SOLVED (Was: Re: need help: some words is not easy to understand in /Bugs/server-request)

2018-08-14 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Brian  writes:

> On Tue 14 Aug 2018 at 15:34:06 +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
>
>> Hellow, i'm translating to Korean /Bugs section -- WWW. Though i try 3
>> times for reading again again, i don't understand what means. See below:
>> 
>> #+BEGIN_SRC: text from /Bugs/server-request
>> The Subject of the message is ignored, except for generating the Subject
>> of the reply.
>> #+END_SRC
>> 
>> Help me, please...
>
> It needs to be understood in the context of the whole of the first
> section.
>
> The body of the mail contains the commands to requ...@bugs.debian.org.
> This is the important aspect; the process will not work without its
> being done.
>
> The subject of the mail has no importance and requ...@bugs.debian.org
> will completely ignore it. So you can put anything in the subject line,
> such as "Send for bugnumber" (or even leave it blank). The reply will
> have "Re: Send for bugnumber". That might be useful to the sender.

Thanks for explanation for background reason, indeed...

> IMO, the sentence could simply be rewritten to "The Subject of the
> message is ignored." without loss of essential meaning.

So i now solved problem, thanks Brian^^^

Sincerely, Byung-Hee.

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread Thomas Schmitt
Hi,

i now understand that the page is not about _submitting_ bugs but rather
for operating the bug tracker.
In that light, Brian's statement would indeed explain the meaning.

Brian wrote:
> The subject of the mail has no importance and requ...@bugs.debian.org
> will completely ignore it. So you can put anything in the subject line,
> such as "Send for bugnumber" (or even leave it blank).
> 
> IMO, the sentence could simply be rewritten to "The Subject of the
> message is ignored." without loss of essential meaning.

If this theory is correct, i'd prepend a half sentence to the original
statement:

  "Other than with submitting a bug report,
   the Subject of the message is ignored, except for generating the
   Subject of the reply."

I lookied up some control action in closed bugs.
The message
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632865;msg=25
indeed has a subject which does not show up on the bug page:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632865


Have a nice day :)

Thomas



Re: debian 9 network configuration

2018-08-14 Thread Brian
On Tue 14 Aug 2018 at 01:14:45 -0700, Remigio wrote:

> ..-
> > What desktop or what other software did you install - XFCE, or Gnome
> > or KDE?  Then folks might be able to help ...
> > 
> > Also, how would you -like- to configure your networking?
> 
> Hi Zenaan, :-)
> the desktop is Xfce and I'de love to configure the networking via shell.
> Thanks and regards

apt purge network-manager
apt --purge autoremove

Then configure /e/n/i to your liking.

-- 
Brian.



Re: debian 9 network configuration

2018-08-14 Thread Remigio
 desktop or what other software did you install - XFCE, or Gnome
> or KDE?  Then folks might be able to help ...
> 
> Also, how would you -like- to configure your networking?

Hi Zenaan, :-)
the desktop environment is Xfce and I'd love to configure the networking via 
shell.
Thanks and regards



Re: debian 9 network configuration

2018-08-14 Thread Remigio
Il giorno martedì 14 agosto 2018 10:20:04 UTC+2, john doe ha scritto:
> On 8/14/2018 9:05 AM, Remigio wrote:
> > Hi there,
> > recently I installed Debian 9 Stretch and I noticed that the network 
> > configuration management method was substantially changed.
> > Infact the file /etc/network/interfaces is almost empty despite I've 
> > inserted the network parameters during the installation process and network 
> > works now.
> > I tried searching on the web about this topic but I found lots of different 
> > answers.
> > Could you help me please to understand where are network configuration 
> > files and how to manage them?
> > Thank you so much
> > Regards
> > 
> 
> If your '/etc/network/interfaces' is empty with the exception of the lo 
> interface, it is most likely that your interfaces are configured by an 
> other software (NetworkManager, (NM), WICD, systemd-networkd ...).
> 
> What is the content of '/etc/resolv.conf'?:
> 
> $ cat /etc/resolv.conf
> 
> -- 
> John Doe

Hi John, :-)

root@debian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback


and 

root@debian:~# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 10.30.10.140

Thanks and regards



Re: New su behavior in util-linux 2.32

2018-08-14 Thread Vincent Lefevre
On 2018-08-12 00:13:31 +, Dale Forsyth wrote:
> 
> From: Pétùr 
> Sent: Saturday, 11 August 2018 7:41 PM
> To: debian-user
> Subject: New su behavior in util-linux 2.32
> 
> Using 'su' generates now an path error when launching programs such as 
> 'shutdown'. The cause is a new behavior described below.
> ---
> util-linux (2.32-0.4) unstable; urgency=medium
> 
>   The util-linux implementation of /bin/su is now used, replacing the
>   one previously supplied by src:shadow (shipped in login package), and
>   bringing Debian in line with other modern distributions. The two
>   implementations are very similar but have some minor differences (and
>   there might be more that was not yet noticed ofcourse), e.g.
> 
>   - new 'su' (with no args, i.e. when preserving the environment) also
> preserves PATH and IFS, while old su would always reset PATH and IFS
> even in 'preserve environment' mode.
>   - su '' (empty user string) used to give root, but now returns an error.
>   - previously su only had one pam config, but now 'su -' is configured
> separately in /etc/pam.d/su-l
> 
>   The first difference is probably the most user visible one. Doing
>   plain 'su' is a really bad idea for many reasons, so using 'su -' is
>   strongly recommended to always get a newly set up environment similar
>   to a normal login. If you want to restore behaviour more similar to
>   the previous one you can add 'ALWAYS_SET_PATH yes' in /etc/login.defs.
> ---

And this is illogical: the default behavior cannot be a bad idea.
If the current behavior is really bad, then 'su' should behave
like 'su -'.

> The new 'su' is useless for me because it cannot launch root program.

I have no such problem, though.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread Brian
On Tue 14 Aug 2018 at 15:34:06 +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:

> Hellow, i'm translating to Korean /Bugs section -- WWW. Though i try 3
> times for reading again again, i don't understand what means. See below:
> 
> #+BEGIN_SRC: text from /Bugs/server-request
> The Subject of the message is ignored, except for generating the Subject
> of the reply.
> #+END_SRC
> 
> Help me, please...

It needs to be understood in the context of the whole of the first
section.

The body of the mail contains the commands to requ...@bugs.debian.org.
This is the important aspect; the process will not work without its
being done.

The subject of the mail has no importance and requ...@bugs.debian.org
will completely ignore it. So you can put anything in the subject line,
such as "Send for bugnumber" (or even leave it blank). The reply will
have "Re: Send for bugnumber". That might be useful to the sender.

IMO, the sentence could simply be rewritten to "The Subject of the
message is ignored." without loss of essential meaning.

-- 
Brian.



Re: need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 14, 2018 at 04:49:00PM +0900, Byung-Hee HWANG wrote:

[...]

> So the reply's Subject is important, is this key point?
> The URL was https://www.debian.org/Bugs/server-request.en.html

Hey, thanks for the link!

> I need more example. Tomas, please...

It might take me a while to read & understand, but I'll come back
to it later, promised :-)

In the meantime hoping for insightful answers (I see one by Thomas).
Cheers, later
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltylQIACgkQBcgs9XrR2kb10ACdFLLX68nbzaXKsLBIh0McqTaA
9N0AoIJNv53220nzfzjRtzUukDwOKtoj
=i4C7
-END PGP SIGNATURE-



Re: debian 9 network configuration

2018-08-14 Thread Remigio
..-
> What desktop or what other software did you install - XFCE, or Gnome
> or KDE?  Then folks might be able to help ...
> 
> Also, how would you -like- to configure your networking?

Hi Zenaan, :-)
the desktop is Xfce and I'de love to configure the networking via shell.
Thanks and regards



Debian 9 network management

2018-08-14 Thread Remigio
Hi there,
recently I installed Debian 9 Stretch and I noticed that the network 
configuration management method was substantially changed.
Infact the file /etc/network/interfaces is almost empty despite I've inserted 
the network parameters during the installation process and network works now.
I tried searching on the web about this topic but I found lots of different 
answers.
Could you help me please to understand where are network configuration files 
and how to manage them?
Thank you so much
Regards

-- 
Remigio



Re: need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread Byung-Hee HWANG (황병희, 黃炳熙)
"Thomas Schmitt"  writes:

> Hi,
>
> i too read on
>   https://www.debian.org/Bugs/server-request
>   "The Subject of the message is ignored, except for generating the Subject
>of the reply."
>
> This is indeed a riddling statement.
> Last time i submitted a bug it had the subject:
>
>   live-wrapper: debian-live-9.4.0-amd64-xfce.iso image file is larger than 
> its isosize
>
> which i did not repeat in the message body. The body began with these
> pseudo-headers:
>
>   Source: live-wrapper
>   Version: which made debian-live-9.4.0-amd64-xfce.iso, possibly newer than 
> 0.7
>   Severity: normal
>
> Nevertheless
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898995
> showed up with the message subject as headline.
>
> Further it was forwarded to debian-live mailing list with subject:
>   Bug#898995: live-wrapper: debian-live-9.4.0-amd64-xfce.iso image file is 
> larger than its isosize
>
> So i am puzzled too by the statement in question.
> (And i doubt that  is the right place to ask for
>  clarification ...)

After read your comments, i did understand as "Always BTS server do re-write 
first
reporter's Subject, except for reply's Subject.". Still i am chaotic...

Thanks for your time, Thomas^^^

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: debian 9 network configuration

2018-08-14 Thread john doe

On 8/14/2018 9:05 AM, Remigio wrote:

Hi there,
recently I installed Debian 9 Stretch and I noticed that the network 
configuration management method was substantially changed.
Infact the file /etc/network/interfaces is almost empty despite I've inserted 
the network parameters during the installation process and network works now.
I tried searching on the web about this topic but I found lots of different 
answers.
Could you help me please to understand where are network configuration files 
and how to manage them?
Thank you so much
Regards



If your '/etc/network/interfaces' is empty with the exception of the lo 
interface, it is most likely that your interfaces are configured by an 
other software (NetworkManager, (NM), WICD, systemd-networkd ...).


What is the content of '/etc/resolv.conf'?:

$ cat /etc/resolv.conf

--
John Doe



Re: need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread Byung-Hee HWANG (황병희, 黃炳熙)
 writes:

> On Tue, Aug 14, 2018 at 03:34:06PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
>> Hellow, i'm translating to Korean /Bugs section -- WWW. Though i try 3
>> times for reading again again, i don't understand what means. See below:
>
> I can't find the text you are referring to. An URL would be nice.
>
> Anyway, I'll try to do my best without context:
>
>> #+BEGIN_SRC: text from /Bugs/server-request
>> The Subject of the message is ignored, except for generating the Subject
>> of the reply.
>> #+END_SRC
>
> I interpret this as "the only place where the Subject of the message is
> used is in the Subject of the reply".
>
> Perhaps this is about the Debian Bug Tracking System (BTS); some of the
> bug report's mail headers have a special meaning to the BTS (the To:
> address, for example, contains the bug ID). That would mean that the
> Subject itself is not used, except to generate the reply's Subject
> (which would be important to help the person sending the bug report
> to correlate the reply (s)he receives).
>
> Don't hesitate to ask back if things seem less clear now :-)

So the reply's Subject is important, is this key point?
The URL was https://www.debian.org/Bugs/server-request.en.html

I need more example. Tomas, please...

Thanks for advance...

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread Thomas Schmitt
Hi,

i too read on
  https://www.debian.org/Bugs/server-request
  "The Subject of the message is ignored, except for generating the Subject
   of the reply."

This is indeed a riddling statement.
Last time i submitted a bug it had the subject:

  live-wrapper: debian-live-9.4.0-amd64-xfce.iso image file is larger than its 
isosize

which i did not repeat in the message body. The body began with these
pseudo-headers:

  Source: live-wrapper
  Version: which made debian-live-9.4.0-amd64-xfce.iso, possibly newer than 0.7
  Severity: normal

Nevertheless
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898995
showed up with the message subject as headline.

Further it was forwarded to debian-live mailing list with subject:
  Bug#898995: live-wrapper: debian-live-9.4.0-amd64-xfce.iso image file is 
larger than its isosize

So i am puzzled too by the statement in question.
(And i doubt that  is the right place to ask for
 clarification ...)


Have a nice day :)

Thomas



Re: debian 9 network configuration

2018-08-14 Thread Zenaan Harkness
On Tue, Aug 14, 2018 at 12:05:34AM -0700, Remigio wrote:
> Hi there,
> recently I installed Debian 9 Stretch and I noticed that the network 
> configuration management method was substantially changed.
> Infact the file /etc/network/interfaces is almost empty despite I've inserted 
> the network parameters during the installation process and network works now.
> I tried searching on the web about this topic but I found lots of different 
> answers.
> Could you help me please to understand where are network configuration files 
> and how to manage them?

What desktop or what other software did you install - XFCE, or Gnome
or KDE?  Then folks might be able to help ...

Also, how would you -like- to configure your networking?



debian 9 network configuration

2018-08-14 Thread Remigio
Hi there,
recently I installed Debian 9 Stretch and I noticed that the network 
configuration management method was substantially changed.
Infact the file /etc/network/interfaces is almost empty despite I've inserted 
the network parameters during the installation process and network works now.
I tried searching on the web about this topic but I found lots of different 
answers.
Could you help me please to understand where are network configuration files 
and how to manage them?
Thank you so much
Regards

-- 
Remigio



Re: need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, Aug 14, 2018 at 03:34:06PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
> Hellow, i'm translating to Korean /Bugs section -- WWW. Though i try 3
> times for reading again again, i don't understand what means. See below:

I can't find the text you are referring to. An URL would be nice.

Anyway, I'll try to do my best without context:

> #+BEGIN_SRC: text from /Bugs/server-request
> The Subject of the message is ignored, except for generating the Subject
> of the reply.
> #+END_SRC

I interpret this as "the only place where the Subject of the message is
used is in the Subject of the reply".

Perhaps this is about the Debian Bug Tracking System (BTS); some of the
bug report's mail headers have a special meaning to the BTS (the To:
address, for example, contains the bug ID). That would mean that the
Subject itself is not used, except to generate the reply's Subject
(which would be important to help the person sending the bug report
to correlate the reply (s)he receives).

Don't hesitate to ask back if things seem less clear now :-)

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltyf0cACgkQBcgs9XrR2kYCjQCePQXEdt2nEp3hY/i2H1kFk6S2
mzkAn3w9EiW182CZChDUVtwERJJb3f/O
=qs4s
-END PGP SIGNATURE-



Re: Installing package *NOT* in repository

2018-08-14 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 13, 2018 at 07:05:33PM -0700, Patrick Bartek wrote:
> On Mon, 13 Aug 2018 17:49:08 +0200
>  wrote:

[...]

> > As I said already, dpkg does install dependencies. Actually, I don't
> > know any (Debian) tool which wouldn't, by default.
> 
> It never did for me [...]

I already retracted somewhere else in this thread-forest. Sorry.

Cheers
- -- t
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAltyfREACgkQBcgs9XrR2kYZdACdHq+hfsnjw0dBNMH+Y5J/IQJG
otMAn0hL38SYJOYiPTrhwvLvAE0zahe4
=Waq6
-END PGP SIGNATURE-



Slow boot

2018-08-14 Thread Johann Spies
I can push the power on button on my laptop, go and make coffee and
come back and wait a few minutes before I can work.

The following services each takes longer than 10 seconds to activate:

 systemd-analyze blame
1min 21.617s apt-daily.service
 1min 2.473s systemd-tmpfiles-setup.service
  1min 926ms console-setup.service
 47.192s postgresql@10-main.service
 38.873s exim4.service
 29.176s shorewall.service
 23.365s wicd.service
 22.402s mariadb.service
 18.925s nmbd.service
 13.917s udisks2.service
 13.177s ModemManager.service
 11.865s libvirtd.service

I can disable apt-daily.service but I do not think the system will
work properly if I disable the second.  The third one (console-setup)
seems to have a bug:

systemd[1]: Failed to start Set console font and keymap.
It is looking for a file (symbols/us-intl) that does not exist
Aug 14 08:02:55 sitasie console-setup.sh[769]: setupcon: The keyboard
model is unknown, assuming 'pc105'. Keyboard may be configured
incorrectly.
Aug 14 08:03:55 sitasie console-setup.sh[769]: /usr/bin/ckbcomp: Can
not find file "symbols/us-intl" in any known directory

This is the joy that I get since systemd became the standard.

Regards
Johann

-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)



Re: Installing package *NOT* in repository

2018-08-14 Thread Erik Christiansen
On 13.08.18 06:47, Richard Owlett wrote:
> PREAMBLE:
> I've downloaded a .deb file.
> I've recently done such an install but don't remember how.
> Looking at the man pages for apt, apt-get, aptitude didn't help.
> Couldn't come up with useful search term for wiki.
> Eventually recalled "dpkg -i" which worked.
> 
> QUESTION:
> How would someone find the answer if the answer wasn't already known?
> I went thru the same sequence last time.

Personal survival notes, arranged by topic, focused on how a task was
accomplished last time, and with searchable tags of some sort. My 420+
pages of bumpf has accumulated over 3 decades, so some of it is perhaps
dated now, but still preserves what sanity remains.

If I search for "PACKAGE INSTALL:" or "\.DEB:", it's my first hit, as I
uppercase headings & tags shoved over to the RHS for minimal
intrusiveness. The trailing ':' may be superfluous, but reminds me I
intend it to be a tag.

The whole thing is just a plain text file, edited and read with Vim,
using multi-level folding, so it all presents as a one-page TOC. My
version is probably of limited use to anyone else, as it e.g. only deals
with dpkg and apt-get in the current context. All else is completely
unknown.

Now that we have google, I must admit that there's an alternative, but
it won't tell you whether that's what you did last time, giving the
particular outcome which you prefer, or confidence of the same result.

Erik



need help: some words is not easy to understand in /Bugs/server-request

2018-08-14 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Hellow, i'm translating to Korean /Bugs section -- WWW. Though i try 3
times for reading again again, i don't understand what means. See below:

#+BEGIN_SRC: text from /Bugs/server-request
The Subject of the message is ignored, except for generating the Subject
of the reply.
#+END_SRC

Help me, please...

Sincerely, Byung-Hee from South Korea.

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: non-blocking stdin from bash

2018-08-14 Thread Richard Hector
On 14/08/18 02:40, Greg Wooledge wrote:
> So, yeah.  It's warranted.

Perhaps.

>  Idiot.

That bit isn't, though.

Richard



signature.asc
Description: OpenPGP digital signature