Bug#665689: live-boot initscript fails if VERBOSE=no

2012-03-31 Thread cavit . vural

patch is not sufficent , live-config still fails

/lib/live/config.sh cannot access /proc/cmdline




--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/fa9d2dcd705507ae70e71f96c9b5d...@adak.com.tr



Re: Multiple Xorg instances in wheezy image

2012-04-16 Thread cavit . vural

Check settings for tty1 in /etc/inittab.



On Tue, 17 Apr 2012 00:40:10 +0400, Igor Cher wrote:

Some additional even more strange information about this bug.
Immediately after Gnome start I saw following X-related processes:

2920 tty7 00:00:04 Xorg
6324 tty1 00:00:00 Xorg
6306 tty1 00:00:00 startx
 6323 tty1 00:00:00 xinit

But after several minutes the situation has changed:

2920 tty7 00:00:45 Xorg
 6481 tty1 00:00:00 xinit
 6498 tty1 00:00:00 xinit
6464 tty1 00:00:00 startx

I think something causes start X again on tty1 but I can't  figure
which script do this and how. There is no such problem on none-live
wheezy installation, so likely it is something in live start scripts.
Does anyone have any ideas what is it?



--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8c726b5a6d06454e92a3ce753a805...@adak.com.tr



Re: Any Idea?

2012-05-13 Thread cavit . vural

You should give more information , at least all of your build command.

Regards

On Sun, 13 May 2012 16:14:08 +0100, Ellwood Blues wrote:

lb build stops with this:


P: Begin queueing installation of package lists (install pass)...
E: Nesting conditionals is not supported
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done


Not a clue where is the problem. I think I've never nested any 
conditionals.


Cheers.



--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/0781fae8b4d1d1c516f92f5a376cd...@adak.com.tr



Re: changing gconf settings

2012-08-09 Thread cavit . vural

Hi,

live- lets to use /etc/skel/xyz to change setting. So it may be 
used.


If you use ,

gconftool-2 --direct  --config-source 
xml:readwrite:/etc/gconf/gconf.xml.defaults --set -t bool 
/apps/gksu/sudo-mode true


it will also be able to change settings.

So , what is the difference ?

"/etc/skel/xyz" method will effect created new users until another 
/etc/skel/xyz created.
"gconftool-2 --direct" method will effect created new users until 
another "gconftool-2 ---direct" command in any package loaded / 
upgraded.


I think the best method is an override schema in 
/usr/share/glib-2.0/schemas/


Regards


09.08.2012 21:32, Rui Bernardo yazmış:

On Thu, Aug 09, 2012 at 06:42:48PM +0100, Liam O'Reilly wrote:

Hi.

Thanks for your help. I think I understand it now.

So the file etc/skel/.gconf/xxx after setting it up would be an 
'initial' gconf 'database' where the only entries would be the ones I 
set.


Thanks again
Liam

On 9 Aug 2012, at 18:00, Ben Armstrong  
wrote:


> On 08/09/2012 11:45 AM, Liam O'Reilly wrote:
>> #!/bin/sh
>> gconftool --type bool --set 
/apps/gnome-power-manager/backlight/enable false
>> gconftool --type bool --set 
/apps/gnome-power-manager/backlight/idle_dim_battery false
>> gconftool --type bool --set 
/apps/gnome-power-manager/backlight/idle_dim_ac false
>> gconftool --type bool --set 
/apps/gnome-power-manager/backlight/battery_reduce false

>
> I guess you would:
>
> 1. create an etc/skel/.gconf/ in your includes which will be 
picked up by adduser when live-config

> calls it.
>
> 2. use gconftool --direct to write to it (requires that you set a 
config source)

>
> I can't give you a step by step, as I have not done this myself, 
and only just figured this much out

> by poking around with it a bit.
>
> Ben


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact 
listmas...@lists.debian.org
Archive: 
http://lists.debian.org/afb5e43e-4136-43cc-891d-83497d69a...@swansea.ac.uk




I had a similar issue, I wanted to add a system setting and
/etc/skel/ seemed the way, but
in my case, and using live-installer to install to disk, that
/etc/skel setting would not
be included in the files of an existing installed user if $HOME
partition was not formated
upon install. That is, I had my files in a not formated $HOME
partition and the /etc/skel/
file was not added to $HOME upon install because $HOME existed when
the $USER was created,
so skel files were not added to $USER $HOME files.

So, the following solution is not live specific but system specific
that applied to both
live $USER and system wide to work with install even if the user
$HOME was not (re)created.
I post it here as an alternative to skel solution.

What I did to get both live and system wide gconf setting was, in a 
hook:


gconftool-2 --direct  --config-source
xml:readwrite:/etc/gconf/gconf.xml.defaults --set -t bool
/apps/gksu/sudo-mode true

This way the setting is system wide and independent from the user 
creation.


Hope it helps.



--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/f236d5b1ab00509b5b6ea5d97342a...@adak.com.tr



Re: problem installing cups-pdf on live-build

2012-08-10 Thread Cavit VURAL
Hi ,

In wheezy the version of cups-pdf is 2.6.1-6 and still it asks for root
password

Cavit VURAL

10-08-2012 12:40 tarihinde, Rui Bernardo yazdı:
> On Fri, Aug 10, 2012 at 10:15:34AM +0200, Robert Spiteri wrote:
>> Am using live-build including cups-pdf and am being asked for the root
>> password? This breaks automation of build.
>>
>> Is there something to be setup in the lb config which I am not aware of 
>> please?
>>
>> System: Debian Squeeze (stable), kernel version 2.6.32-5-686
>>
>> --
>> Robert
>>
> Hi,
>
> I think that was not supposed to happen, like it doesn't happen with 
> mysql or others.
>
> Searching the BTS I've found a bug report similar to the problem you 
> discribed: http://bugs.debian.org/539156 (and 614713).
>
> The (supposed to be) fixed package version is 2.5.1-3. What is the 
> package version that is installed in your build?
>
> Hope it helps.
>
>

<>

Re: problem installing cups-pdf on live-build

2012-08-10 Thread Cavit VURAL
Hi ,

I am trying to install with sudo lb build and still it asks for root
password

Regards

Cavit VURAL



10-08-2012 14:49 tarihinde, Rui Bernardo yazdı:
> On Fri, Aug 10, 2012 at 12:43:58PM +0300, Cavit VURAL wrote:
>> Hi ,
>>
>> In wheezy the version of cups-pdf is 2.6.1-6 and still it asks for root
>> password
>>
>> Cavit VURAL
>>
>> 10-08-2012 12:40 tarihinde, Rui Bernardo yazdı:
>>> On Fri, Aug 10, 2012 at 10:15:34AM +0200, Robert Spiteri wrote:
>>>> Am using live-build including cups-pdf and am being asked for the root
>>>> password? This breaks automation of build.
>>>>
>>>> Is there something to be setup in the lb config which I am not aware of 
>>>> please?
>>>>
>>>> System: Debian Squeeze (stable), kernel version 2.6.32-5-686
>>>>
>>>> --
>>>> Robert
>>>>
>>> Hi,
>>>
>>> I think that was not supposed to happen, like it doesn't happen with 
>>> mysql or others.
>>>
>>> Searching the BTS I've found a bug report similar to the problem you 
>>> discribed: http://bugs.debian.org/539156 (and 614713).
>>>
>>> The (supposed to be) fixed package version is 2.5.1-3. What is the 
>>> package version that is installed in your build?
>>>
>>> Hope it helps.
>>>
>>>
>> begin:vcard
>> fn:Cavit VURAL
>> n:VURAL;Cavit
>> org:Adak Teknoloji
>> adr;quoted-printable;quoted-printable;quoted-printable;quoted-printable;dom:No
>>  :42/39 Camialt=C4=B1;;=C4=B0.A.O.S.B Merkez =C3=87ar=C5=9F=C4=B1 
>> ;=C4=B0zmir;=C3=87i=C4=9Fli;35610
>> email;internet:cavit.vu...@adak.com.tr
>> url:http://www.adak.com.tr
>> version:2.1
>> end:vcard
>>
> Did that happen in "sudo lb build" or you just ran "sudo apt-get install 
> cups-pdf" in your computer? I ask that because when I said that this was 
> not supposed to happen I meant during the "sudo lb build" execution.
>
> If you install mysql in your system as usual ("sudo apt-get install ..."), 
> you'll be asked for debconf questions, but if you install with
>
>   export DEBCONF_FRONTEND=noninteractive && sudo -E apt-get install 
> cups-pdf
>
> then the debconf defaults should allow the package installation without 
> answering any question. I've just tried the line above, in sid:
>
> miguel@quartor:~/$ export DEBCONF_FRONTEND=noninteractive && sudo -E apt-get 
> install cups-pdf
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following extra packages will be installed:
>   cups cups-filters cups-ppdc ghostscript libcupscgi1 libcupsfilters1
>   libcupsmime1 libcupsppdc1 libgs9 libgs9-common libijs-0.35 libjbig2dec0
>   libpaper-utils libpaper1 libslp1 poppler-data poppler-utils
> Suggested packages:
>   foomatic-db-compressed-ppds foomatic-db printer-driver-hpcups hplip
>   system-config-printer-gnome system-config-printer-kde system-config-printer
>   ghostscript-x hpijs slpd openslp-doc fonts-japanese-mincho
>   fonts-ipafont-mincho fonts-japanese-gothic fonts-ipafont-gothic
>   fonts-arphic-ukai fonts-arphic-uming fonts-unfonts-core
> Recommended packages:
>   avahi-daemon colord foomatic-filters printer-driver-gutenprint
>   ghostscript-cups
> The following NEW packages will be installed:
>   cups cups-filters cups-pdf cups-ppdc ghostscript libcupscgi1 libcupsfilters1
>   libcupsmime1 libcupsppdc1 libgs9 libgs9-common libijs-0.35 libjbig2dec0
>   libpaper-utils libpaper1 libslp1 poppler-data poppler-utils
> 0 upgraded, 18 newly installed, 0 to remove and 15 not upgraded.
> Need to get 8727 kB of archives.
> After this operation, 32,7 MB of additional disk space will be used.
> Do you want to continue [Y/n]? 
> Get:1 http://ftp2.fr.debian.org/debian/ sid/main libcupscgi1 i386 1.5.3-2 
> [113 kB]
> Get:2 http://ftp2.fr.debian.org/debian/ sid/main libcupsmime1 i386 1.5.3-2 
> [95,9 kB]
> Get:3 http://ftp2.fr.debian.org/debian/ sid/main libcupsppdc1 i386 1.5.3-2 
> [137 kB]
> Get:4 http://ftp2.fr.debian.org/debian/ sid/main libpaper1 i386 1.1.24+nmu2 
> [21,9 kB]
> Get:5 http://ftp2.fr.debian.org/debian/ sid/main libslp1 i386 1.2.1-9 [50,9 
> kB]
> Get:6 http://ftp2.fr.debian.org/debian/ sid/main poppler-utils i386 0.18.4-3 
> [157 kB]
> Get:7 http://ftp2.fr.debian.org/debian/ sid/main libijs-0.35 i386 0.35-8 
> [20,7 kB]
> Get:8 http://ftp2.fr.debian.org/debian/ sid/main libjbig2dec0 i386 
> 0.11+20120125-1 [51,6 kB]
> Get:9 http://ftp2.fr.debian.org/debian/ sid/main poppler-data all 0.4.5-8 
&g

Re: problem installing cups-pdf on live-build

2012-08-10 Thread Cavit VURAL
Hi ,

Yes , i have lpadmin installed. But it's not a package , just an
executable file in cups-client

Here is apt-file search

root@bg64:/home/cvural/PARDUS# apt-file search lpadmin
cups: /usr/share/cups/doc-root/help/man-lpadmin.html
cups-client: /usr/sbin/lpadmin
cups-client: /usr/share/man/man8/lpadmin.8.gz

Regards


10-08-2012 16:39 tarihinde, Rui Bernardo yazdı:
> On Fri, Aug 10, 2012 at 03:25:07PM +0300, Cavit VURAL wrote:
>> Hi ,
>>
>> I am trying to install with sudo lb build and still it asks for root
>> password
>>
>> Regards
>>
>> Cavit VURAL
> I can't help. I can't reproduce it here with 
>
>   lb config -d squeeze
>   echo "cups-pdf" > config/package-lists/cups-pdf.chroot.list
>   sudo lb build
>
> defaults and without any configuration. I did not test with lpadmin. Do 
> you have it installed in the final image? I ask because of 
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539156#5
>
> It says:
>
> -quote
> cups-pdf requires user interaction because of calling lpadmin in the
> postinst script.
> -end-of-quote
>
> And
>
>   cat binary/live/filesystem.packages|grep lpadmin
>
> doesn't return anything here with the lb configuration that I used above.
>
> BTW, I'm just another Debian live-build user that is trying to help.
>

<>

Too many open files

2013-12-24 Thread Cavit VURAL

Hi,

I am trying to build a live-cd from sid. It includes about 2.000 
packages. After a whlie dpkg gives "To many open files" error.


live-build is 4.0~alpha30

Regards

/
Setting up dia-shapes (0.6.0-1) ...
Setting up sgml-data (2.0.9-1) ...
Setting up libmetacity-private0a (1:2.34.13-1) ...
Processing triggers for sgml-base (1.26+nmu4) ...
Setting up docbook-xml (4.5-7.2) ...
Processing triggers for dictionaries-common (1.20.4) ...
Setting up aspell-en (7.1-0-1) ...
dpkg: error processing package aspell-en (--configure):
 unable to open triggers deferred file 
`/var/lib/dpkg/triggers/Unincorp': Too many open files

Setting up libenchant1c2a:amd64 (1.6.0-10) ...
dpkg: error processing package libenchant1c2a:amd64 (--configure):
 unable to open triggers ci file 
`/var/lib/dpkg/info/libenchant1c2a:amd64.triggers': Too many open files

dpkg: dependency problems prevent configuration of libwebkitgtk-3.0-0:amd64:
 libwebkitgtk-3.0-0:amd64 depends on libenchant1c2a (>= 1.6.0); however:
  Package libenchant1c2a:amd64 is not configured yet.

/


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52b97180.5070...@adak.com.tr



1060-kde-services in live-config_4.0~alpha30-1_all.deb

2013-12-29 Thread Cavit VURAL

Hi,


live-config_4.0~alpha30-1_all.deb trying to decide is KDE installed or 
not by

///
Init ()
{
# Checking if package is installed or already configured
if [ ! -e /usr/share/kde4 ] || \
   [ -e /var/lib/live/config/kde-services ]
then
exit 0
fi

echo -n " kde-services"
}
/

But if you installed vlc in a GNOME distribution , vlc creates 
/usr/share/kde4 directory.
And live-config just checks /usr/share/kde4 directory exists or not to 
config kde-services. It  does not check kwriteconfig exists or not.

This breaks configuration at boot time by an error.

I suggest to check /usr/bin/kwriteconfig exists or not to decide to 
config kde-services by


///
Init ()
{
# Checking if package is installed or already configured
if [ ! -e /usr/bin/kwriteconfig ] || \
   [ -e /var/lib/live/config/kde-services ]
then
exit 0
fi

echo -n " kde-services"
}
/


Regards


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52bfedd4.4060...@adak.com.tr