Re: confusion on KVM virtualization (debian admin handbook)

2014-03-24 Thread Muhammad Yousuf Khan
Thanks for sharing your thought.

just learn from some where, that "creating disk with virt-install can only
create raw on the other hand qcow2 first needs to be initiated as volume"

Thanks,


On Mon, Mar 24, 2014 at 3:28 PM, Jonathan Dowland  wrote:

> On Mon, Mar 24, 2014 at 11:45:26AM +0500, Muhammad Yousuf Khan wrote:
> > Book teaches us to create volume first then assign it to vm with
> > Virt-install command however, we can also create image on runtime with
> > virt-install command. we do not need volume to be set before creating a
> VM.
> > so my question is what is the difference b/w the two methods.
> > if i create Volume first then assign or if i create image directly from
> > virt-installl command what are the pros and cons.
>
> I think it's mostly six of one and half a dozen of the other. If you are
> not using sparse volumes, disk creation can take quite a lot of time, so
> it might be logistically easier to batch the creation of a lot of
> volumes before you start installing VMs, especially if you need to
> re-run the install process a few times as you tweak parameters.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/20140324102840.gb...@bryant.redmars.org
>
>


2014 Kenyan email list database

2014-03-24 Thread Email list Kenya
We have  over 380K kenyan email addresses  from directories , magazines, 
newspapers, lists of seminar/conference  participants etc

All the email id's have been validated over the internet, this guarantees over 
90% successfull delivery rate.

The list only contains email id's and no other demographic details, and also 
its not categorized in services, profession, industry etc

The email list also comes with a bulk emailing software for just Kshs30,000

For more details contact us on kenyan.l...@outlook.com


Kind Regards

James N. Mutari


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/02dbc7f1-41722-87413548558681@user-pc



Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread John W. Foster
On Mon, 2014-03-24 at 21:52 -0400, Jerry Stuckle wrote: 
> On 3/24/2014 9:31 PM, John W. Foster wrote:
> > On Mon, 2014-03-24 at 14:30 -0400, Jerry Stuckle wrote:
> >> On 3/24/2014 12:45 PM, John Foster wrote:
> >>> I have been trying to get lighttpd to run as my web server but was not
> >>> able to get it properly configured. I kept getting an error message
> >>> saying that localhost was not configured properly and I could not use
> >>> the simple browser url  "http://localhost to open the server. I decided
> >>> to reinstall apache2 & as I had totally removed ALL of apache2 even any
> >>> references to it; the new install was pristine from Debian stable. It
> >>> fired up but I'm still getting the same error when I try to use
> >>> localhost. I use localhost as my editing server for the mediawiki
> >>> installed there /var/www  directly into that directory. Any ideas what I
> >>> have screwed up with my system that will cause this. Also the server is
> >>> not delivering the actual website either.
> >>> thanks
> >>> john
> >>>
> >>>
> >>
> >> John,
> >>
> >> What's the exact message you get?
> >>
> >> Jerry
> >>
> > Well I have gotten past the message stage; Seems I needed to move all
> > the sites ( DWWW, GALLERY, Mediawiki, etc)  into separate directories
> > under /var/www and to revert Apache to /var/www as the root directory
> > for the server. I also changed the owner back to root & permissions to
> > 755 for /var/www. Currently I have localhost running and my IP DNS
> > server at godaddy sending everything to the correct IP address. I can
> > now run http://localhost/phpinfo.php  which gets the running php
> > configuration OK. Now the issue seems to be that some scripts ending
> > in .php are not being allowed to run (under google chrome) instead they
> > are being downloaded & the source code displayed as text. I recall this
> > was an issue in older versions of apache, but for the life of me I don't
> > recall being required to add any exceptions such as AddHandler, AddType,
> > etc. since debian enabled all this by default. However those seems to be
> > required so I'm investigating them now. I will graciously accept any
> > advice.
> > Thanks
> > John
> >
> > BTW: I was sufficiently warned by several list contributors about
> > lighttpd being a can of worms to configure, Just wanted to give it a go.
> >
> >
> 
> You don't need to have them all under /var/www, but you do need each 
> virtualhost to have its own directory.  I'm running several hosts; I 
> have several different virtualhost entries in my Apache configuration. 
> Each one has an entry in the /etc/hosts file.
> 
> For instance, if one of the sites I manage is example.com, I'll have an 
> entry in /etc/hosts like:
> 
>127.0.0.1   example
> 
> And I'll have a virtualhost defined in Apache as
> 
> 
>ServerName example
>DocumentRoot "/var/www/example/html"
> ...
> 
> 
> Files go in /var/www/example/html
> 
> To do it the Debian way, I place the virtual host information in 
> /etc/apache2/sites-available/example, then place a symlink to it as 
> //etc/apache2/sites-enabled/###-example, where ### is a 3-digit number 
> (sites are loaded in directory name sort order).
> 
> That way if I want to remove an entry, just remove the symlink and 
> restart Apache.
> 
> As for your PHP problem - you don't have PHP installed as an Apache 
> module.  You need to get the package libapache2-mod-php5.
> 
> Jerry
Sorry to say but I actually do have libapache2-mod-php5 installed. I'm
now wondering if the ZendServer I installed, from their website, then
removed somehow rewrote some configs somewhere. It installed a crap load
of specialized php stuff, which I also removed.
John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1395713019.17664.16.ca...@beast.physicswiki.net



Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread John W. Foster
On Mon, 2014-03-24 at 21:55 -0400, Jerry Stuckle wrote:
> 127.0.0.1localhost


Yes I have that in /etc/hosts
thanks
john


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1395713482.17664.18.ca...@beast.physicswiki.net



Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread Jerry Stuckle

On 3/24/2014 9:31 PM, John W. Foster wrote:

On Mon, 2014-03-24 at 14:30 -0400, Jerry Stuckle wrote:

On 3/24/2014 12:45 PM, John Foster wrote:

I have been trying to get lighttpd to run as my web server but was not
able to get it properly configured. I kept getting an error message
saying that localhost was not configured properly and I could not use
the simple browser url  "http://localhost to open the server. I decided
to reinstall apache2 & as I had totally removed ALL of apache2 even any
references to it; the new install was pristine from Debian stable. It
fired up but I'm still getting the same error when I try to use
localhost. I use localhost as my editing server for the mediawiki
installed there /var/www  directly into that directory. Any ideas what I
have screwed up with my system that will cause this. Also the server is
not delivering the actual website either.
thanks
john




John,

What's the exact message you get?

Jerry


Well I have gotten past the message stage; Seems I needed to move all
the sites ( DWWW, GALLERY, Mediawiki, etc)  into separate directories
under /var/www and to revert Apache to /var/www as the root directory
for the server. I also changed the owner back to root & permissions to
755 for /var/www. Currently I have localhost running and my IP DNS
server at godaddy sending everything to the correct IP address. I can
now run http://localhost/phpinfo.php  which gets the running php
configuration OK. Now the issue seems to be that some scripts ending
in .php are not being allowed to run (under google chrome) instead they
are being downloaded & the source code displayed as text. I recall this
was an issue in older versions of apache, but for the life of me I don't
recall being required to add any exceptions such as AddHandler, AddType,
etc. since debian enabled all this by default. However those seems to be
required so I'm investigating them now. I will graciously accept any
advice.
Thanks
John

BTW: I was sufficiently warned by several list contributors about
lighttpd being a can of worms to configure, Just wanted to give it a go.




BTW - you shouldn't need your DNS involved to access localhost.  In your 
/etc/hosts file you should have:


127.0.0.1localhost

This is set up for you by default in Debian (it's a standard IP 
address), and should (almost) never be changed.


Jerry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5330e207.5070...@attglobal.net



Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread Jerry Stuckle

On 3/24/2014 9:31 PM, John W. Foster wrote:

On Mon, 2014-03-24 at 14:30 -0400, Jerry Stuckle wrote:

On 3/24/2014 12:45 PM, John Foster wrote:

I have been trying to get lighttpd to run as my web server but was not
able to get it properly configured. I kept getting an error message
saying that localhost was not configured properly and I could not use
the simple browser url  "http://localhost to open the server. I decided
to reinstall apache2 & as I had totally removed ALL of apache2 even any
references to it; the new install was pristine from Debian stable. It
fired up but I'm still getting the same error when I try to use
localhost. I use localhost as my editing server for the mediawiki
installed there /var/www  directly into that directory. Any ideas what I
have screwed up with my system that will cause this. Also the server is
not delivering the actual website either.
thanks
john




John,

What's the exact message you get?

Jerry


Well I have gotten past the message stage; Seems I needed to move all
the sites ( DWWW, GALLERY, Mediawiki, etc)  into separate directories
under /var/www and to revert Apache to /var/www as the root directory
for the server. I also changed the owner back to root & permissions to
755 for /var/www. Currently I have localhost running and my IP DNS
server at godaddy sending everything to the correct IP address. I can
now run http://localhost/phpinfo.php  which gets the running php
configuration OK. Now the issue seems to be that some scripts ending
in .php are not being allowed to run (under google chrome) instead they
are being downloaded & the source code displayed as text. I recall this
was an issue in older versions of apache, but for the life of me I don't
recall being required to add any exceptions such as AddHandler, AddType,
etc. since debian enabled all this by default. However those seems to be
required so I'm investigating them now. I will graciously accept any
advice.
Thanks
John

BTW: I was sufficiently warned by several list contributors about
lighttpd being a can of worms to configure, Just wanted to give it a go.




You don't need to have them all under /var/www, but you do need each 
virtualhost to have its own directory.  I'm running several hosts; I 
have several different virtualhost entries in my Apache configuration. 
Each one has an entry in the /etc/hosts file.


For instance, if one of the sites I manage is example.com, I'll have an 
entry in /etc/hosts like:


  127.0.0.1   example

And I'll have a virtualhost defined in Apache as


  ServerName example
  DocumentRoot "/var/www/example/html"
...


Files go in /var/www/example/html

To do it the Debian way, I place the virtual host information in 
/etc/apache2/sites-available/example, then place a symlink to it as 
//etc/apache2/sites-enabled/###-example, where ### is a 3-digit number 
(sites are loaded in directory name sort order).


That way if I want to remove an entry, just remove the symlink and 
restart Apache.


As for your PHP problem - you don't have PHP installed as an Apache 
module.  You need to get the package libapache2-mod-php5.


Jerry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/5330e152.9090...@attglobal.net



Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread John W. Foster
On Mon, 2014-03-24 at 14:30 -0400, Jerry Stuckle wrote: 
> On 3/24/2014 12:45 PM, John Foster wrote:
> > I have been trying to get lighttpd to run as my web server but was not
> > able to get it properly configured. I kept getting an error message
> > saying that localhost was not configured properly and I could not use
> > the simple browser url  "http://localhost to open the server. I decided
> > to reinstall apache2 & as I had totally removed ALL of apache2 even any
> > references to it; the new install was pristine from Debian stable. It
> > fired up but I'm still getting the same error when I try to use
> > localhost. I use localhost as my editing server for the mediawiki
> > installed there /var/www  directly into that directory. Any ideas what I
> > have screwed up with my system that will cause this. Also the server is
> > not delivering the actual website either.
> > thanks
> > john
> >
> >
> 
> John,
> 
> What's the exact message you get?
> 
> Jerry
> 
Well I have gotten past the message stage; Seems I needed to move all
the sites ( DWWW, GALLERY, Mediawiki, etc)  into separate directories
under /var/www and to revert Apache to /var/www as the root directory
for the server. I also changed the owner back to root & permissions to
755 for /var/www. Currently I have localhost running and my IP DNS
server at godaddy sending everything to the correct IP address. I can
now run http://localhost/phpinfo.php  which gets the running php
configuration OK. Now the issue seems to be that some scripts ending
in .php are not being allowed to run (under google chrome) instead they
are being downloaded & the source code displayed as text. I recall this
was an issue in older versions of apache, but for the life of me I don't
recall being required to add any exceptions such as AddHandler, AddType,
etc. since debian enabled all this by default. However those seems to be
required so I'm investigating them now. I will graciously accept any
advice.
Thanks
John

BTW: I was sufficiently warned by several list contributors about
lighttpd being a can of worms to configure, Just wanted to give it a go.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1395711075.17664.11.ca...@beast.physicswiki.net



Re: future data grow aticipation

2014-03-24 Thread Rob Owens
On Mon, Mar 24, 2014 at 03:18:17PM +, Bonno Bloksma wrote:
> Hi,
> 
> I need to deploy a Debian virtual machine which will host an apache website 
> with a pictures database. That database will grow of course. ;-)
> My idea is to have a VM with 2 disks.
> Disk1 (8GB)
> Has a 300MB primary partition, mountpoint /boot
> Remaining disk space als LVM to be divided into 2GB /, 2GB swap and remaining 
> 3+GB /var, 
> Disk 2 is a 1TB (thin provisioned) disk all of which will be assigned as a 
> LVM partition with a logical volume /var/www
> 
> Supposedly I can now easily grow /var/www when I need more space. Right?
> Just to make sure I have things right..
> When I need more than the 1TB data I can extend the disk in my VMware 
> hypervisor to 1,5TB. Have Debian do a rescan of the disk (for instance via a 
> reboot of the machine)
> After that I do a pvcreate on the new free diskspace, then add it to the 
> vgroup that holds the data and then add that data to the logical volume 
> holding /var/www
> Right?
> Of am I missing something? Is there a better / easier way?
> Would adding another 1TB disk to the VM and adding that to the vgroup be a 
> better scenario? That imitates the "physical word scenario" where people add 
> an extra physical disk to a machine. Plenty of examples for that on the net.
> 
I'm not sure which would be better, adding a new disk or extending the
existing disk.  But I figured I'd recommend the use of system-config-lvm
-- it makes lvm operations pretty easy.

-Rob


signature.asc
Description: Digital signature


Re: Grub does not recognize lvm physical volume by uuid after restart

2014-03-24 Thread Sven Joachim
On 2014-03-24 22:03 +0100, Joe wrote:

> On Mon, 24 Mar 2014 14:29:02 -0300
> André Nunes Batista  wrote:
>
>>Also,
>> which bug number was assigned to you bug report?
>
> Mine is 741652, but I had previously found 741464 which refers to a boot
> problem with grub 2.02~beta2.7.

#741464 appears to be unique to my old laptop, since I could not found a
similar bug described anywhere on the Internet.  OTOH #741652, #741342
and #741726 seem all to be the same problem, affecting everyone who has
their root filesystem on LVM.

Cheers,
   Sven


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87y4zzqn3m@turtle.gmx.de



Re: Samba on Sid

2014-03-24 Thread Joe
On Mon, 24 Mar 2014 15:38:47 +0200
David Baron  wrote:

> 
> > > Packages have been held back for quite a while now. Attempt to
> > > upgrade will remove a whole bunch of stuff.
> > >
> > > 
> > >
> > > What is happening with this?
> > >
> > > 
> > > 
> > 
> > What do you have? I have samba, samba-common, samba-libs and a few
> > more packages, all at 2:4.1.6+dfsg-1, which is claimed to be the
> > latest version. Do you have another samba-related package with a
> > larger set of dependencies?
> 
> I have the six packages 2.4.0.8+dfsg-1.
> Upgrading to the 2.4.1.6-dfsg-1 set will remove lib packages:
> libsmbd0 [2:4.0.8+dfsg-1]
> libnetapi0 [2:4.0.8+dfsg-1] 
> libsamba-policy0 [2:4.0.8+dfsg-1]
> libsmbclient-raw0 [2:4.0.8+dfsg-1] 
> libndr-standard0 [2:4.0.8+dfsg-1]
> libsamdb0 [2:4.0.8+dfsg-1]
> libsamba-credentials0 [2:4.0.8+dfsg-1]
> libndr0 [2:4.0.8+dfsg-1]
> libsamba-hostconfig0 [2:4.0.8+dfsg-1]
> libsamba-util0 [2:4.0.8+dfsg-1]
> 
> Maybe I do not need these at all and should simple go ahead?
> 
> 

Most of them only show up in wheezy, but with a 4.0.0... number, some
don't currently exist anywhere. It's possible they're all just
obsolete, and it's fairly certain they will never again appear in sid,
so maybe you have no choice but to nuke them. Fingers crossed, there's
never a dull moment in sid...

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324214445.5387b...@jretrading.com



Re: How to install wheezy uefi + gpt (was: Install debian on EFI hw)

2014-03-24 Thread Andrew M.A. Cater
On Mon, Mar 24, 2014 at 03:49:49PM -0300, André Nunes Batista wrote:
> On Tue, 2014-03-04 at 18:55 +, Andrew M.A. Cater wrote:
> > On Tue, Mar 04, 2014 at 02:54:05PM +0100, ha wrote:
> > > Last few weekends I've tried to install debian 7.2 from live DVD
> > > (but booting from USB) on EFI hardware with GPT. I disabled EFI,
> > > crated a small partition at the begging of the disk, and run the
> > > usual installation process. However, at the end of installation I
> > > always receive the message like: "Grub-pc package failed to install
> > > into /target/".
> > > 
> > > Now, I solved this by booting to rescue mode, doing grub-install, chroot
> > > into the instaled system and simply update grub. However, I found
> > > this solution suboptimal when compared to classical debian
> > > installation (utilizing MBR). So I wonder if anybody had experience
> > > on how to avoid this recue-grub_install-chroot-grub_update
> > > procedure?
> > > 
> > > Did anybody manage to automatically install debian on GPT?
> > > Did anybody do it without disabling EFI (grub-efi perhaps)?
> > > Or the only way to have the automated install is stick with MBR?
> > > 
> > > Thanks to anybody who cares.
> > > Archive: https://lists.debian.org/lf4lk1$umi$1...@ger.gmane.org
> > 
> > 
> > Debian DVD1 / netinst .iso's both will allow you to boot from EFI and 
> > install
> > for Debian 7 Wheezy. I'm not sure whether the default install installs GPT 
> > on 
> > smaller disks but it certainly worked when I tried it a while ago with no 
> > problems.
> > 
> > YOu may, however need to do an expert install rather than an automated 
> > install,
> > which I'd recommend anyway since it means that you have greater control 
> > over how
> > the install proceeds.
> > 
> > Hope this helps,
> > 
> > AndyC
> 
> Hello dears,
> 
> This thread on debian-devel might serve as future reference here on
> debian users, since the procedure to install debian wheezy with UEFI
> enabled requires expert install mode and it is by no means
> straightforward:
> 
> https://lists.debian.org/debian-devel/2012/01/msg00168.html
> 
> Also: http://tanguy.ortolo.eu/blog/article51/debian-efi
> 
> Last week I finally got one of those new machines to try and install
> debian wheezy and had no problems doing it, installation was a success,
> uefi is enabled but secure boot has to be set on custom mode since
> debian is not signed with vendor keys. Is there anyway to create my own
> keys to sign the bootloader and make use of the secure boot feature in
> user respecting way?
> 
> How to install (for tl;dr users):
> 
> You need to:
> 1. setup BIOS/UEFI on legacy mode;
> 2. start debian installer on expert mode in order to be able to 
> 3. create a GUID Partition Table (gpt), using partman and moving away
> from the default msdos partition scheme;

You _may_ find that, if you boot from UEFI only and select expert mode,
that it will work out of the box.

I did this the other day and on my hardware (Zotac Zbox AD06) I did not
need to hand create a GPT partition.

The auto-partitioning mode created a 1MB partition at the beginning and
end of the disk and a 512MB partition for the EFI boot.

If done this way booting from UEFI at the beginning, you should 
get only grub-efi installed.

> 4. create TWO partitions right at the begging of the disk:
> 4.1. the first with 1Mib must be left unformatted and flagged as
> Reserved space for boot (my understanding is that this area is used to
> guaranteed that in the end, when grub is installed to MBR, it does not
> overwrite our GPT scheme);
> 4.2. the other one must be formatted as FAT32 filesystem and needs to be
> greater than 32MB (? I failed when I tried to create a fat32 with
> smaller sizes - 1MB and 10MB, but this 32 is just a wild guess, my
> successful attempt was with 64MB). This partition will be used to store
> the bootloader and should be mounted as /boot/efi.
> 5. from here on you can proceed and install as would normally do. You
> may safely install grub to MBR at the end of the procedure.
> 6. Boot the system still in Legacy mode then install the package
> grub-efi-amd64 (apt-get install grub-efi-amd64);
> 7. run
> # grub-install /dev/sda (this will fail, since you are not on efi
> enabled mode)
> 8. run
> # cp /boot/efi/efi/debian/grubx64.efi /boot/efi/efi/boot/bootx64.efi
> 9. run again
> # grub-install /dev/sda
> 10. Reboot and see if your UEFI now sees your wheezy OS.
> 
> That should do it and you can safely set aside Legacy mode. Secure boot
> won't work. My punkself deleted the vendor keys. 

Hope this helps somebody: thanks for writing this up,

All the very best,

Andy Cater

amaca...@galactic.demon.co.uk

> 
> -- 
> André N. Batista
> GNUPG/PGP KEY: 6722CF80
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324210314.ga5...@galactic.demon.co.uk



Re: Grub does not recognize lvm physical volume by uuid after restart

2014-03-24 Thread Joe
On Mon, 24 Mar 2014 14:29:02 -0300
André Nunes Batista  wrote:


> 
> It's amazing how I am always capable of omitting the most relevant
> info: yes, you correctly guessed, this machine was upgraded before the
> hard-shutdown and is using grub 2.02~beta2-7, so we might be facing
> the same bug. How did you downgrade grub? rescue-cd + chroot? 

Yes, annoyingly my Wheezy netboot disc was miles away, so I burned
another, I still had the iso laying around. I think it's a bit hairy to
chroot with a different kernel, but I got away with it for long enough
to run a couple of dpkg downgrades, and carefully avoided doing
anything unnecessary. I needed grub-pc-bin and another, presumably
grub-common, to boot (I was informed that grub-pc-bin could not be
configured without the other, whichever it was) and once it booted I
checked for other 2.02~beta2.7 items and downgraded them also.

>Also,
> which bug number was assigned to you bug report?

Mine is 741652, but I had previously found 741464 which refers to a boot
problem with grub 2.02~beta2.7. It's not the same problem but I thought
the same treatment was worth a try, as I could see from the dates that
the upgrade had just occurred on my system.

> 
> BTW, I'm using ext4 both on / and /home partition so the problem might
> not be related to the filesystem of choice.
> 
> 
OK, though if it's now affecting jessie, I'd expect to see more people
catching it. But even today, 
https://packages.debian.org/search?keywords=grub-pc-bin&searchon=names&suite=all§ion=all
is returning 2.00-22 for jessie. Possibly a good thing, as if you don't
have the older version in your cache, it's much easier to get from
jessie than by poking around in the snapshots. I don't clear my sid
cache very often...

-- 
Joe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324210342.0bf1e...@jretrading.com



Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread David Guntner
Jonathan Dowland grabbed a keyboard and wrote:
> On Mon, Mar 24, 2014 at 12:13:53PM -0700, David Guntner wrote:
>> "Easier to configure?"  Sorry to sound like Ralph in Troll Mode, but it
>> sounds like it was anything *but* that. :D
> 
> OP didn't get it working with lighttpd, and now hasn't got it working
> with apache2 either. I wouldn't judge lighttpd's ease of configuration
> on this experience alone. There must be something else going on here.

Oh, I figured as much.  I was just amused about the comment regarding
easy to configure, yet the configuration thing wasn't working out.  I
simply found it ironic and was commenting on that.  If it were me
working something out along those lines, I'd be muttering under my
breath along similar lines; at least until I figured out what was
causing the actual problem. :-)

 --Dave





smime.p7s
Description: S/MIME Cryptographic Signature


Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread Jonathan Dowland
On Mon, Mar 24, 2014 at 12:13:53PM -0700, David Guntner wrote:
> "Easier to configure?"  Sorry to sound like Ralph in Troll Mode, but it
> sounds like it was anything *but* that. :D

OP didn't get it working with lighttpd, and now hasn't got it working
with apache2 either. I wouldn't judge lighttpd's ease of configuration
on this experience alone. There must be something else going on here.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324203636.ga6...@bryant.redmars.org



Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread David Guntner
Glenn English grabbed a keyboard and wrote:
> 
> On Mar 24, 2014, at 10:45 AM, John Foster 
> wrote:
> 
>> I have been trying to get lighttpd to run as my web server but was
>> not able to get it properly configured.
> [...]
> After 3 days of Lighttpd, I too went back to Apache2. I had it
> running like I wanted it to in just a few minutes.
> 
> I'm really disappointed. I wanted to use this new, smaller, easier to
> configure web server. Your experience makes me think that maybe it
> wasn't all my doing...

"Easier to configure?"  Sorry to sound like Ralph in Troll Mode, but it
sounds like it was anything *but* that. :D

 --Dave




smime.p7s
Description: S/MIME Cryptographic Signature


Re: How to install wheezy uefi + gpt (was: Install debian on EFI hw)

2014-03-24 Thread André Nunes Batista
On Tue, 2014-03-04 at 18:55 +, Andrew M.A. Cater wrote:
> On Tue, Mar 04, 2014 at 02:54:05PM +0100, ha wrote:
> > Last few weekends I've tried to install debian 7.2 from live DVD
> > (but booting from USB) on EFI hardware with GPT. I disabled EFI,
> > crated a small partition at the begging of the disk, and run the
> > usual installation process. However, at the end of installation I
> > always receive the message like: "Grub-pc package failed to install
> > into /target/".
> > 
> > Now, I solved this by booting to rescue mode, doing grub-install, chroot
> > into the instaled system and simply update grub. However, I found
> > this solution suboptimal when compared to classical debian
> > installation (utilizing MBR). So I wonder if anybody had experience
> > on how to avoid this recue-grub_install-chroot-grub_update
> > procedure?
> > 
> > Did anybody manage to automatically install debian on GPT?
> > Did anybody do it without disabling EFI (grub-efi perhaps)?
> > Or the only way to have the automated install is stick with MBR?
> > 
> > Thanks to anybody who cares.
> > Archive: https://lists.debian.org/lf4lk1$umi$1...@ger.gmane.org
> 
> 
> Debian DVD1 / netinst .iso's both will allow you to boot from EFI and install
> for Debian 7 Wheezy. I'm not sure whether the default install installs GPT on 
> smaller disks but it certainly worked when I tried it a while ago with no 
> problems.
> 
> YOu may, however need to do an expert install rather than an automated 
> install,
> which I'd recommend anyway since it means that you have greater control over 
> how
> the install proceeds.
> 
> Hope this helps,
> 
> AndyC

Hello dears,

This thread on debian-devel might serve as future reference here on
debian users, since the procedure to install debian wheezy with UEFI
enabled requires expert install mode and it is by no means
straightforward:

https://lists.debian.org/debian-devel/2012/01/msg00168.html

Also: http://tanguy.ortolo.eu/blog/article51/debian-efi

Last week I finally got one of those new machines to try and install
debian wheezy and had no problems doing it, installation was a success,
uefi is enabled but secure boot has to be set on custom mode since
debian is not signed with vendor keys. Is there anyway to create my own
keys to sign the bootloader and make use of the secure boot feature in
user respecting way?

How to install (for tl;dr users):

You need to:
1. setup BIOS/UEFI on legacy mode;
2. start debian installer on expert mode in order to be able to 
3. create a GUID Partition Table (gpt), using partman and moving away
from the default msdos partition scheme;
4. create TWO partitions right at the begging of the disk:
4.1. the first with 1Mib must be left unformatted and flagged as
Reserved space for boot (my understanding is that this area is used to
guaranteed that in the end, when grub is installed to MBR, it does not
overwrite our GPT scheme);
4.2. the other one must be formatted as FAT32 filesystem and needs to be
greater than 32MB (? I failed when I tried to create a fat32 with
smaller sizes - 1MB and 10MB, but this 32 is just a wild guess, my
successful attempt was with 64MB). This partition will be used to store
the bootloader and should be mounted as /boot/efi.
5. from here on you can proceed and install as would normally do. You
may safely install grub to MBR at the end of the procedure.
6. Boot the system still in Legacy mode then install the package
grub-efi-amd64 (apt-get install grub-efi-amd64);
7. run
# grub-install /dev/sda (this will fail, since you are not on efi
enabled mode)
8. run
# cp /boot/efi/efi/debian/grubx64.efi /boot/efi/efi/boot/bootx64.efi
9. run again
# grub-install /dev/sda
10. Reboot and see if your UEFI now sees your wheezy OS.

That should do it and you can safely set aside Legacy mode. Secure boot
won't work. My punkself deleted the vendor keys. 

-- 
André N. Batista
GNUPG/PGP KEY: 6722CF80



signature.asc
Description: This is a digitally signed message part


Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread Jerry Stuckle

On 3/24/2014 12:45 PM, John Foster wrote:

I have been trying to get lighttpd to run as my web server but was not
able to get it properly configured. I kept getting an error message
saying that localhost was not configured properly and I could not use
the simple browser url  "http://localhost to open the server. I decided
to reinstall apache2 & as I had totally removed ALL of apache2 even any
references to it; the new install was pristine from Debian stable. It
fired up but I'm still getting the same error when I try to use
localhost. I use localhost as my editing server for the mediawiki
installed there /var/www  directly into that directory. Any ideas what I
have screwed up with my system that will cause this. Also the server is
not delivering the actual website either.
thanks
john




John,

What's the exact message you get?

Jerry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: https://lists.debian.org/533079de.4010...@attglobal.net



Re: Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread Glenn English

On Mar 24, 2014, at 10:45 AM, John Foster  wrote:

> I have been trying to get lighttpd to run as my web server but was not
> able to get it properly configured.

Nor was I, an SSL newbie. I made the mistake of wanting to offer encryption and 
a new web server at the same time. I claim that Lighttpd and/or its 
documentation and/or my reading of it is badly bent. It didn't like several 
certs (partially, at least, my fault), and it wouldn't serve up virtual domain 
web sites.

After 3 days of Lighttpd, I too went back to Apache2. I had it running like I 
wanted it to in just a few minutes.

I'm really disappointed. I wanted to use this new, smaller, easier to configure 
web server. Your experience makes me think that maybe it wasn't all my doing...

-- 
Glenn English




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/ff1a68f6-8a80-478d-86c0-fb7f28476...@slsware.net



Reverting back to apache2 from lighttpd: have issues

2014-03-24 Thread John Foster
I have been trying to get lighttpd to run as my web server but was not
able to get it properly configured. I kept getting an error message
saying that localhost was not configured properly and I could not use
the simple browser url  "http://localhost to open the server. I decided
to reinstall apache2 & as I had totally removed ALL of apache2 even any
references to it; the new install was pristine from Debian stable. It
fired up but I'm still getting the same error when I try to use
localhost. I use localhost as my editing server for the mediawiki
installed there /var/www  directly into that directory. Any ideas what I
have screwed up with my system that will cause this. Also the server is
not delivering the actual website either.
thanks
john


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1395679505.26614.8.ca...@beast.physicswiki.net



Re: No device assignment for Seagate external USB drive SRD00F1

2014-03-24 Thread Joel Roth
John D. Hendrickson and Sara Darnell wrote:
> Joel Roth wrote:
> >Hi List,
> >
> >I had the misfortune to pick up two of these drives,
> >plug them in, and find the results below:
> >
> >Any hints before I take them back?
> >
> >Regards,
> >
> >Joel
> >
> >--
> >
> >dmesg | tail
> >
> >[140436.456884] usb 2-1.1: USB disconnect, device number 3
> >[140440.673831] usb 2-1.1: new high-speed USB device number 6 using ehci_hcd
> >[140440.769416] usb 2-1.1: New USB device found, idVendor=0bc2, 
> >idProduct=ab21
> >[140440.769422] usb 2-1.1: New USB device strings: Mfr=1, Product=2, 
> >SerialNumber=3
> >[140440.769426] usb 2-1.1: Product: Backup+  RD
> >[140440.769430] usb 2-1.1: Manufacturer: Seagate [140440.769433] usb
> >2-1.1: SerialNumber: NA76J1CA
> >[140440.782588] scsi12 : uas
> >[140462.231528] scsi 12:0:0:0: uas_eh_abort_handler tag -1
> >[140462.231537] scsi 12:0:0:0: uas_eh_device_reset_handler tag -1
> >[140462.231542] scsi 12:0:0:0: uas_eh_target_reset_handler tag -1
> >[140462.231546] scsi 12:0:0:0: uas_eh_bus_reset_handler tag -1
> >[140462.235649] usb 2-1.1: URB BAD STATUS -71
> >[140462.303602] usb 2-1.1: reset high-speed USB device number 6 using 
> >ehci_hcd
> >[140462.410418] scsi 12:0:0:0: Device offlined - not ready after error 
> >recovery
> >
> >lsusb
> >
> >Bus 002 Device 006: ID 0bc2:ab21 Seagate RSS LLC Bus 002 Device 002: ID
> >8087:0020 Intel Corp. Integrated Rate Matching Hub
> >Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> >Bus 001 Device 003: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
> >Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
> >Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> >
> >The kernel is 3.2.0-3-amd64 (Debian 3.2.21-3)
> >
> >
> 
> yes there are different USB "hub" chips.  make sure your using the right
> one.  UCI?  UHCI?  your usb connector must lead to a usb hub chip that likes
> the usb chip in your drive.  and you have to tell linux which kind of usb
> chip to guess it is.
> 
> if you are within 30 days of purchase return it say it's broken or call
> seagate for an RMA .  don't assume it works and debian is broken it may be
> the other way around or even a wrong cable or soemthing
> 
> this is an old /etc/modules
> 
> # USB (for ) (for via KT?33A chipsets)
> usbcore
> # ehci-hcd # ???
> # ohci-hcd # cheap kind
> # uhci-hcd # intel kind use this
> uhci-hcd
> usbhid
> #usbkeybd
> usbmouse
> usb-storage
> #usblp

Thanks for the quick response. I didn't go further, returned
them to the shop. 

Greetings,

-- 
Joel Roth
  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324173114.GA20469@sprite



Re: Grub does not recognize lvm physical volume by uuid after restart

2014-03-24 Thread André Nunes Batista
On Sat, 2014-03-22 at 21:29 +, Joe wrote:
> On Sat, 22 Mar 2014 17:27:54 -0300
> André Nunes Batista  wrote:
> 
> > Hello dear debian users!
> > 
> > Recently, one jessie notebook I administer went through a forceful
> > shutdown (holding down the power button) and after that grub cannot
> > see the lvm physical volume by uuid. After trying to load the volume
> > for some seconds, it gives the following message and drops to a
> > minimal initramfs shell:
> > 
> > Gave up waiting for root device. Common problems:
> > - Boot args
> >  - check rootdelay=(long enough?)
> >  - check root=(right device?)
> > - Missing modules
> > ALERT! /dev/disk/by-uuid/090f9d09g0f9g-xx-xx does not exist.
> > Dropping to a shell
> > 
> > Using this minimal shell I'm able to go to this path and it actually
> > does not contain any reference to this physical volume. Also,
> > on /dev/mapper/ there is no reference to the root and home logical
> > volumes, but there is a reference to the swap logical volume.
> > 
> > Using a live distribution I had no problem mounting this volume and
> > accessing its contents, so no real damage, but I would be glad on some
> > pointers on how to make grub recognize it again. I've tried booting
> > "by-id" and old school "/dev/sdaX" directly but had no luck.
> > 
> > It was once installed using the default guided lvm partition from
> > debian installer.
> > 
> >
> Hi André,
> 
> Could you please confirm which version of grub-pc-bin you are running?
> 
> I have recently had something very similar happen to an upgraded sid
> installation, that was fixed by downgrading to the previous version of
> this and other grub files. I have reported the bug but still do not
> know if the issue is with the grub files directly or whether there is
> an interaction with something else.
> 
> I could only see my one non-LVM partition and also the swap partition
> within the LVM volume, but none of the other LVM partitions. I got the
> same messages you are seeing.
> 
> The version of grub-pc-bin I had trouble with is the (sid) current
> 2.02~beta2-7, the version I downgraded to is 2.00-22, but that one is
> shown on the Debian packages page as the current version in jessie.
> 
> If you still have 2.00-22 then this is a red herring, and the problem
> lies somewhere else, and I will amend the bug report.
> 
> But 2.02~beta2-7 is still in sid, and about the right time has elapsed
> for it to be moved to jessie. If that has happened, and the packages
> page has not yet registered the fact, then you should be able to
> temporarily fix things by going back to 2.00-22.
> 
> Out of curiosity, what filesystem(s) are you using in the LVM? I would
> have expected many more reports of this problem, but I am using
> reiserfs (a legacy from a long time ago) and it may be that not many
> other people are.
> 
> -- 
> Joe
> 
> 

Hello Joe!

It's amazing how I am always capable of omitting the most relevant info:
yes, you correctly guessed, this machine was upgraded before the
hard-shutdown and is using grub 2.02~beta2-7, so we might be facing the
same bug. How did you downgrade grub? rescue-cd + chroot? Also, which
bug number was assigned to you bug report?

BTW, I'm using ext4 both on / and /home partition so the problem might
not be related to the filesystem of choice.


-- 
André N. Batista
GNUPG/PGP KEY: 6722CF80



signature.asc
Description: This is a digitally signed message part


No device assignment for Seagate external USB drive SRD00F1

2014-03-24 Thread Joel Roth
Hi List,

I had the misfortune to pick up two of these drives,
plug them in, and find the results below:

Any hints before I take them back?

Regards,

Joel

--

dmesg | tail

[140436.456884] usb 2-1.1: USB disconnect, device number 3
[140440.673831] usb 2-1.1: new high-speed USB device number 6 using ehci_hcd
[140440.769416] usb 2-1.1: New USB device found, idVendor=0bc2, idProduct=ab21
[140440.769422] usb 2-1.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[140440.769426] usb 2-1.1: Product: Backup+  RD
[140440.769430] usb 2-1.1: Manufacturer: Seagate 
[140440.769433] usb 2-1.1: SerialNumber: NA76J1CA
[140440.782588] scsi12 : uas
[140462.231528] scsi 12:0:0:0: uas_eh_abort_handler tag -1
[140462.231537] scsi 12:0:0:0: uas_eh_device_reset_handler tag -1
[140462.231542] scsi 12:0:0:0: uas_eh_target_reset_handler tag -1
[140462.231546] scsi 12:0:0:0: uas_eh_bus_reset_handler tag -1
[140462.235649] usb 2-1.1: URB BAD STATUS -71
[140462.303602] usb 2-1.1: reset high-speed USB device number 6 using ehci_hcd
[140462.410418] scsi 12:0:0:0: Device offlined - not ready after error recovery

lsusb

Bus 002 Device 006: ID 0bc2:ab21 Seagate RSS LLC 
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 17ef:480f Lenovo Integrated Webcam [R5U877]
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The kernel is 3.2.0-3-amd64 (Debian 3.2.21-3) 


-- 
Joel Roth
  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324163756.GA13759@sprite



future data grow aticipation

2014-03-24 Thread Bonno Bloksma
Hi,

I need to deploy a Debian virtual machine which will host an apache website 
with a pictures database. That database will grow of course. ;-)
My idea is to have a VM with 2 disks.
Disk1 (8GB)
Has a 300MB primary partition, mountpoint /boot
Remaining disk space als LVM to be divided into 2GB /, 2GB swap and remaining 
3+GB /var, 
Disk 2 is a 1TB (thin provisioned) disk all of which will be assigned as a LVM 
partition with a logical volume /var/www

Supposedly I can now easily grow /var/www when I need more space. Right?
Just to make sure I have things right..
When I need more than the 1TB data I can extend the disk in my VMware 
hypervisor to 1,5TB. Have Debian do a rescan of the disk (for instance via a 
reboot of the machine)
After that I do a pvcreate on the new free diskspace, then add it to the vgroup 
that holds the data and then add that data to the logical volume holding 
/var/www
Right?
Of am I missing something? Is there a better / easier way?
Would adding another 1TB disk to the VM and adding that to the vgroup be a 
better scenario? That imitates the "physical word scenario" where people add an 
extra physical disk to a machine. Plenty of examples for that on the net.

Bonno Bloksma


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/89d1798a7351d040b4e74e0a043c69d776df2...@einexch-01.tio.nl



Re: Samba on Sid

2014-03-24 Thread David Baron

> > Packages have been held back for quite a while now. Attempt to
> > upgrade will remove a whole bunch of stuff.
> >
> > 
> >
> > What is happening with this?
> >
> > 
> > 
> 
> What do you have? I have samba, samba-common, samba-libs and a few more
> packages, all at 2:4.1.6+dfsg-1, which is claimed to be the latest
> version. Do you have another samba-related package with a larger set of
> dependencies?

I have the six packages 2.4.0.8+dfsg-1.
Upgrading to the 2.4.1.6-dfsg-1 set will remove lib packages:
libsmbd0 [2:4.0.8+dfsg-1]
libnetapi0 [2:4.0.8+dfsg-1] 
libsamba-policy0 [2:4.0.8+dfsg-1]
libsmbclient-raw0 [2:4.0.8+dfsg-1] 
libndr-standard0 [2:4.0.8+dfsg-1]
libsamdb0 [2:4.0.8+dfsg-1]
libsamba-credentials0 [2:4.0.8+dfsg-1]
libndr0 [2:4.0.8+dfsg-1]
libsamba-hostconfig0 [2:4.0.8+dfsg-1]
libsamba-util0 [2:4.0.8+dfsg-1]

Maybe I do not need these at all and should simple go ahead?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/1638752.yy1fxjQuWo@dovidhalevi



Re: Security Implications of running startx from command line - was Re: Startx: was Great Debian experience

2014-03-24 Thread Brian
On Mon 24 Mar 2014 at 12:37:36 +0100, Vincent Lefevre wrote:

> On 2014-03-23 21:06:55 +0100, Jörg-Volker Peetz wrote:
> > Seems I'm a little bit old-fashioned ;-)
> > According to the man-page Xsession(5) the system scripts take care of using 
> > a
> > log-file, given that you indeed don't have ~/.xinitrc .
> > So maybe the man-page of startx(1) has to be updated, since it only talks 
> > about
> > ~/.xinitrc .
> 
> Because startx runs the xinitrc (either the user's one or the system
> one) and doesn't know anything about the .xsession file. Xsession files
> (including the user's .xsession) are sourced via the system xinitrc.
> Perhaps a section about Debian recommendations and default configuration
> should be added.

There was a time when startx(1) contained the advice:

  Note that in the Debian system, what many people traditionally put in
  the .xinitrc file should go in .xsession instead; this permits the same
  X environment to be presented whether startx, xdm, or xinit is used to
  start the X session. All discussion of the .xinitrc file in the
  xinit(1) manual page applies equally well to .xsession. Keep in mind
  that .xinitrc is used only by xinit(1) and completely ignored by
  xdm(1).

It is interesting that there is not a single reference to .xinitrc in
Chapter 7 of the Debian Reference.

The only use I can think of off-hand for a .xinitrc is to avoid using
the Debian-specific Xsession if the system administrator has commented
out "allow-user-resources" in /etc/X11/Xsession.options.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324124539.gl4...@copernicus.demon.co.uk



Re: Grub does not recognize lvm physical volume by uuid after restart

2014-03-24 Thread Darac Marjal
On Mon, Mar 24, 2014 at 12:17:17PM +, Joe wrote:
> On Mon, 24 Mar 2014 11:17:53 +
> Darac Marjal  wrote:
> 
> >
> > 
> > Now, I'm not certain about this, but I suspect that either the
> > initramfs hasn't recognised that I'm using LVM, or it just isn't
> > starting the LVM on its own. 
> > 
> > I haven't actually investigated this, but it might be related to bug
> > #616689.
> 
> Except... both the OP's initramfs and mine do recognise the swap
> partition within LVM, but not any others.
> 
> And my system is (apparently) OK after downgrading grub from the latest
> version.

Ah. Sorry for the noise, then.



signature.asc
Description: Digital signature


Re: Grub does not recognize lvm physical volume by uuid after restart

2014-03-24 Thread Joe
On Mon, 24 Mar 2014 11:17:53 +
Darac Marjal  wrote:

>
> 
> Now, I'm not certain about this, but I suspect that either the
> initramfs hasn't recognised that I'm using LVM, or it just isn't
> starting the LVM on its own. 
> 
> I haven't actually investigated this, but it might be related to bug
> #616689.

Except... both the OP's initramfs and mine do recognise the swap
partition within LVM, but not any others.

And my system is (apparently) OK after downgrading grub from the latest
version.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324121717.7105a...@jretrading.com



Re: Samba on Sid

2014-03-24 Thread Joe
On Mon, 24 Mar 2014 12:55:17 +0200
David Baron  wrote:

> Packages have been held back for quite a while now. Attempt to
> upgrade will remove a whole bunch of stuff.
> 
> What is happening with this?
> 
> 

What do you have? I have samba, samba-common, samba-libs and a few more
packages, all at 2:4.1.6+dfsg-1, which is claimed to be the latest
version. Do you have another samba-related package with a larger set of
dependencies?

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324121204.38230...@jretrading.com



Re: Security Implications of running startx from command line - was Re: Startx: was Great Debian experience

2014-03-24 Thread Vincent Lefevre
On 2014-03-23 21:06:55 +0100, Jörg-Volker Peetz wrote:
> Seems I'm a little bit old-fashioned ;-)
> According to the man-page Xsession(5) the system scripts take care of using a
> log-file, given that you indeed don't have ~/.xinitrc .
> So maybe the man-page of startx(1) has to be updated, since it only talks 
> about
> ~/.xinitrc .

Because startx runs the xinitrc (either the user's one or the system
one) and doesn't know anything about the .xsession file. Xsession files
(including the user's .xsession) are sourced via the system xinitrc.
Perhaps a section about Debian recommendations and default configuration
should be added.

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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324113736.ga22...@ypig.lip.ens-lyon.fr



Re: Grub does not recognize lvm physical volume by uuid after restart

2014-03-24 Thread Darac Marjal
On Sat, Mar 22, 2014 at 05:27:54PM -0300, André Nunes Batista wrote:
> Hello dear debian users!
> 
> Recently, one jessie notebook I administer went through a forceful
> shutdown (holding down the power button) and after that grub cannot see
> the lvm physical volume by uuid. After trying to load the volume for
> some seconds, it gives the following message and drops to a minimal
> initramfs shell:
> 
> Gave up waiting for root device. Common problems:
> - Boot args
>  - check rootdelay=(long enough?)
>  - check root=(right device?)
> - Missing modules
> ALERT! /dev/disk/by-uuid/090f9d09g0f9g-xx-xx does not exist.
> Dropping to a shell
> 
> Using this minimal shell I'm able to go to this path and it actually
> does not contain any reference to this physical volume. Also,
> on /dev/mapper/ there is no reference to the root and home logical
> volumes, but there is a reference to the swap logical volume.
> 
> Using a live distribution I had no problem mounting this volume and
> accessing its contents, so no real damage, but I would be glad on some
> pointers on how to make grub recognize it again. I've tried booting
> "by-id" and old school "/dev/sdaX" directly but had no luck.
> 
> It was once installed using the default guided lvm partition from debian
> installer.

I've been seeing this issue on a machine I have with root on LVM. My own
suspicion is that it's an initramfs problem.

I've been working around it by, at the initramfs prompt, entering:
  $ lvm
  lvm> vgscan
  lvm> vgchange -ay
  lvm> ^D
  $ ^D

and boot-up continues.

Now, I'm not certain about this, but I suspect that either the initramfs
hasn't recognised that I'm using LVM, or it just isn't starting the LVM
on its own. 

I haven't actually investigated this, but it might be related to bug
#616689.

> 
> TIA
>  
> -- 
> André N. Batista
> GNUPG/PGP KEY: 6722CF80
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: https://lists.debian.org/1395520074.21009.26.camel@tagesuhu-pc
> 


signature.asc
Description: Digital signature


Samba on Sid

2014-03-24 Thread David Baron
Packages have been held back for quite a while now. Attempt to upgrade will 
remove a whole bunch of stuff.

What is happening with this?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/2921614.2JnD971E8j@dovidhalevi



Re: confusion on KVM virtualization (debian admin handbook)

2014-03-24 Thread Jonathan Dowland
On Mon, Mar 24, 2014 at 11:45:26AM +0500, Muhammad Yousuf Khan wrote:
> Book teaches us to create volume first then assign it to vm with
> Virt-install command however, we can also create image on runtime with
> virt-install command. we do not need volume to be set before creating a VM.
> so my question is what is the difference b/w the two methods.
> if i create Volume first then assign or if i create image directly from
> virt-installl command what are the pros and cons.

I think it's mostly six of one and half a dozen of the other. If you are
not using sparse volumes, disk creation can take quite a lot of time, so
it might be logistically easier to batch the creation of a lot of
volumes before you start installing VMs, especially if you need to
re-run the install process a few times as you tweak parameters.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324102840.gb...@bryant.redmars.org



Re: initialization package for a new server?

2014-03-24 Thread Jonathan Dowland
On Mon, Mar 24, 2014 at 11:04:29AM +0100, Thomas Luzat wrote:
> You can do that. I would not necessarily recommend that, but it's
> comparatively simple.

Likewise.

> 2. Preseed the installer's questions. See
> https://wiki.debian.org/DebianInstaller/Preseed and follow the links.

I recommend this, but do as little as possible in the install stage,
(because this layer is pretty flaky in my experience), just get the
thing up and running, and do as much as possible in...

> 3. Use provisioning software which configures your system according to
> "recipes". Two popular choices (but not the only ones) are:

...this stage. I currently use puppet, having formerly used cfengine2.
Either are fine. Both (afaik) require setting up some infrastructure to
support their operation. Another (which is infrastructure-free, and
quite lightweight) is ansible

http://www.ansible.com/home

Which I have not tried myself, but looks interesting and is getting
a lot of traction in the communities I am aware of.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140324102419.ga...@bryant.redmars.org



Re: initialization package for a new server?

2014-03-24 Thread Thomas Luzat
Hi Peter!

On Mon, Mar 24, 2014 at 6:06 AM, Peter Michaux  wrote:
> I would like to automate the creation of a new web server as much as
> possible. It would seem ideal if I do not have to edit any files at
> all but rather only install packages. I have my own simple APT
> repository accessible via SSH but the new server must first be
> configured to know about that simple APT repository. Is it a good
> approach to make a "initialization" .deb package with the following
> files

You can do that. I would not necessarily recommend that, but it's
comparatively simple.

> Or is there another way I should prepare a server?

There are a number of things that can help automate creation:

1. Netboot the machine. You won't even need any media in that case.
See: https://wiki.debian.org/PXEBootInstall

2. Preseed the installer's questions. See
https://wiki.debian.org/DebianInstaller/Preseed and follow the links.
This does allow you to preinstall additional packages, too. You can
also add additional lines to sources.list and include scripts. You
could use that to install your package or to create additional files.
But you could also:

3. Use provisioning software which configures your system according to
"recipes". Two popular choices (but not the only ones) are:

Chef: http://www.getchef.com/chef/
Puppet: http://puppetlabs.com/

Both can be installed and preconfigured using preseeding to either
access a server or local configuration (which you somehow get onto the
server) to provide the system with information about what additional
steps to take (say, install and configure apache/nginx). Provisioning
software may be overkill, but could very well help you in the long
run. If you're not doing much more than what you've described I'd
mainly look into using preseeding alone.

Cheers,

Thomas Luzat

-- 
Thomas Luzat  SoftwareentwicklungUSt-IdNr.: DE255529066
Schlagbaumstege 4 Fon: +49 281 3361281-2 Web:   http://luzat.com
46485 Wesel   Fax: +49 281 3361281-3 E-Mail:tho...@luzat.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAPZ_h9kCkcWHQgeM-=xnPqNbQ2NFaudyYyO4=vxhdhmkusd...@mail.gmail.com



Re: System freeze during boot with nvidia GPU on jessie

2014-03-24 Thread Christopher David Howie
On 03/23/2014 10:31 PM, Christopher David Howie wrote:
> I have an Nvidia GeForce GTX 760 card, and I've been unable to get this
> card working correctly in jessie, including even booting the system
> after installing.
> 
> The system hangs at "Waiting for /dev to be fully populated" unless I
> specify the nomodeset kernel parameter.  Blacklisting nouveau does not
> keep the system from freezing without nomodeset.  Modprobing nouveau or
> the proprietary driver, or trying to start X with both modules
> blacklisted will immediately freeze the system.  I am not sure how to go
> about diagnosing this problem, but it seems that the kernel (3.13) is
> not terribly happy with this video card in general.

After fiddling with an... ahem... particular Debian-based distribution's
live CD, I was able to figure out what the problem was.  When booting
this CD, the system would appear to boot normally, but when I would
expect to be dumped into a desktop environment, both monitors turned off
instead... what I would expect to see if the desktop were being
displayed on some other monitor...

Long story short, my motherboard's onboard Intel GPU was enabled in
addition to the PCI-e nVIDIA GPU.  Disabling the onboard GPU has
resolved all of the problems I was experiencing.

In fact, it's entirely possible that the onboard display was being
activated.  I didn't think of this because in Debian the attached
monitors would still display whatever they last were displaying.
Perhaps the system just wasn't completely deactivating the nVIDIA GPU,
and so they displayed whatever they were, forever.  I may turn the
onboard GPU back on and attach a monitor to it to satisfy my curiosity.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

If you correspond with me on a regular basis, please read this document:
http://www.chrishowie.com/email-preferences/

PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5


IMPORTANT INFORMATION/DISCLAIMER

This document should be read only by those persons to whom it is
addressed.  If you have received this message it was obviously addressed
to you and therefore you can read it.

Additionally, by sending an email to ANY of my addresses or to ANY
mailing lists to which I am subscribed, whether intentionally or
accidentally, you are agreeing that I am "the intended recipient," and
that I may do whatever I wish with the contents of any message received
from you, unless a pre-existing agreement prohibits me from so doing.

This overrides any disclaimer or statement of confidentiality that may
be included on your message.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/532fdaf1.3000...@chrishowie.com